Function at 0x1000e930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
xor eax, eax
mov ecx, dword [esp + 0xbc]
push ebx
mov ebx, dword [esp + 0xbc]
push esi
mov edx, dword [esp + 0xc8]
push edi
mov dword [esp + 0xc], eax
push ebp
mov dword [esp + 0x14], eax
mov dword [edx + 8], eax
mov dword [edx + 4], eax
mov dword [edx], eax
imul ecx, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx + 0x198]
cmp dword [edx + 0xd0], eax
jge 0x1000e990
cmp dword [esp + 0xcc], ebx
pop ebp
setg al
pop edi
pop esi
pop ebx
add esp, 0x78
ret
xor ebp, ebp
mov eax, dword [edx + 0xf8]
mov esi, dword [edx + 0xfc]
mov edi, dword [edx + 0x100]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xf0]
shl eax, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
mov esi, dword [ecx + 0x194]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xf4]
shl eax, 4
mov edx, dword [edx + 0x104]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xe4]
lea esi, [esp + 0xc0]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
push ecx
mov dword [edx], eax
mov eax, dword [esi + 8]
mov dword [edx + 4], edi
mov esi, dword [esi + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], esi
call fcn.10001930
lea ecx, [esp + 0x54]
lea esi, [esp + 0x2c]
mov dword [esp + 0x50], ebp
add esp, 4
push ecx
mov ecx, 0xa
sub esp, 0x28
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xd4]
sub esp, 0x18
mov edi, esp
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xd4]
sub esp, 0x18
mov edi, esp
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
call fcn.1000d530
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x10c]
add esp, 0x5c
imul edx, dword [esp + 0x70]
add edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x6c]
sar eax, 4
add edx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x68]
sar edx, 4
add edx, dword [esp + 0x70]
imul edx, dword [esp + 0x98]
add edx, eax
mov eax, dword [esp + 0x1c]
add edx, dword [esp + 0xa0]
sub eax, dword [esp + 0xb0]
add edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
cmp dword [esp + 0x70], ebp
jne 0x1000ead3
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x18]
lea esi, [ecx + eax*2]
jmp 0x1000ead7
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x78], 0
jle 0x1000eb44
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x7c], 0
jle 0x1000eb20
mov eax, dword [esp + 0x7c]
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [edi]
mov ebp, edx
inc edi
sub ebp, ebx
inc esi
xor ebx, ebx
inc ecx
imul ebp, ebp
mov bl, byte [esi - 1]
add dword [esp + 0x10], ebp
sub edx, ebx
imul edx, edx
add dword [esp + 0x14], edx
dec eax
jne 0x1000eaf9
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x98]
add dword [esp + 0x18], ecx
add dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x18]
add dword [esp + 0x20], eax
dec dword [esp + 0x28]
jne 0x1000eae6
fild dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
fild qword [esp + 0x28]
pushfd
cmp dword [0x100539f0], 0
jne 0x1000eb6c
fdiv st(1)
jmp 0x1000eb75
push eax
mov al, 8
call fcn.10012667
pop eax
popfd
fsqrt
fadd dword [0x1003c1b8]
fst dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
fild qword [esp + 0x28]
pushfd
cmp dword [0x100539f0], 0
jne 0x1000eb9c
fdiv st(2)
jmp 0x1000eba5
push eax
mov al, 0x10
call fcn.10012667
pop eax
popfd
fsqrt
fcompp
fnstsw ax
fstp st(0)
test ah, 1
je 0x1000ebd1
mov al, 3
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0x6c]
pop ebp
pop edi
pop esi
mov dword [edx], ecx
mov dword [edx + 4], ebx
pop ebx
add esp, 0x78
ret
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x78
ret