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

Disassembly:
push ebp
xor eax, eax
push edi
push esi
push ebx
sub esp, 0x98
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
mov edx, dword [edi + 8]
mov ecx, dword [edi]
test edx, edx
cmovns eax, dword [edi + 8]
test ecx, ecx
mov dword [esp + 0x74], eax
jle 0x418ac1
mov eax, dword [esp + 0xac]
mov ebp, ecx
mov edi, dword [esp + 0xb4]
mov ebx, dword [eax + 0x2c]
xor eax, eax
mov dword [esp], ebx
mov ebx, dword [esp]
mov ecx, dword [esi + eax*8]
movsx edx, word [ebx + eax*2]
mov ebx, dword [esi + eax*8 + 4]
add eax, 1
cmp eax, ebp
mov dword [edi + edx*8], ecx
mov dword [edi + edx*8 + 4], ebx
jne 0x418aa5
mov dword [esp + 0x78], 1
mov ecx, 1
xor eax, eax
mov esi, dword [esp + 0xac]
jmp 0x418ae2
mov eax, ebx
movzx edx, word [esi + eax*4 + 0xc]
lea ebx, [eax + 1]
movsx edi, dx
imul ecx, edi
cmp word [esi + eax*4 + 0xe], 1
mov dword [esp + ebx*4 + 0x78], ecx
jne 0x418ae0
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xac]
movsx edi, word [edi + ebx*4 + 0xa]
mov dword [esp + 0x2c], edi
lea edi, [eax - 1]
mov dword [esp + 0x70], edi
lea edi, [esi + edi*4 + 0xc]
mov dword [esp + 0x58], edi
test eax, eax
je 0x4192b9
mov edi, dword [esp + 0x58]
movsx edi, word [edi + 2]
mov dword [esp + 0x5c], edi
cmp dx, 3
je 0x419154
jle 0x418eb0
cmp dx, 4
je 0x418f8a
cmp dx, 5
jne 0x418e80
mov esi, dword [esp + 0xac]
mov eax, dword [esp + eax*4 + 0x78]
movzx ecx, byte [esp + 0x74]
mov esi, dword [esi + 0x30]
mov edi, eax
mov dword [esp + 0x60], eax
shl eax, cl
mov ebx, esi
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
imul ecx, eax
shl ecx, 3
lea edx, [ebx + ecx]
fld dword [edx]
fstp dword [esp + 0xc]
fld dword [edx + 4]
add edx, ecx
test edi, edi
fstp dword [esp + 0x10]
fld dword [edx]
fstp dword [esp + 0x14]
fld dword [edx + 4]
fstp dword [esp + 0x18]
jle 0x418e80
lea edi, [esi*8]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x5c]
lea edx, [eax + eax*2]
mov dword [esp + 0x54], 0
shl edi, 3
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x50], edi
lea edi, [eax*8]
mov dword [esp + 0x48], edi
mov edi, eax
shl edi, 4
mov dword [esp + 0x44], edi
shl eax, 5
lea edi, [edx*8]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x50]
mov esi, eax
add eax, edi
lea edx, [eax + edi]
lea ecx, [edx + edi]
lea ebx, [ecx + edi]
mov edi, dword [esp + 0x2c]
test edi, edi
jle 0x418e5a
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x34], 0
mov ebp, edi
mov dword [esp], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edi
lea esi, [esi]
fld dword [esi]
add edx, 8
add esi, 8
fstp dword [esp]
add ecx, 8
fld dword [esi - 4]
add ebx, 8
fstp dword [esp + 8]
fld dword [eax]
fld dword [ebp]
fld dword [eax + 4]
fld dword [ebp + 4]
fld st(3)
fmul st(3)
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
fld st(2)
fmul st(2)
faddp st(1)
fstp dword [esp + 4]
fxch st(1)
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x1c]
fld dword [edx - 8]
fld dword [eax]
fld dword [edx - 4]
fld dword [eax + 4]
fld st(3)
mov eax, dword [esp + 0x38]
fmul st(3)
fld st(2)
fmul st(2)
faddp st(1)
fstp dword [esp + 0x24]
fxch st(2)
fmulp st(1)
fxch st(1)
fmulp st(2)
fsubrp st(1)
fld dword [ecx - 8]
fld dword [eax]
fld dword [ecx - 4]
fld dword [eax + 4]
fld st(3)
fmul st(3)
fld st(2)
fmul st(2)
faddp st(1)
fstp dword [esp + 0x28]
fxch st(1)
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fld dword [ebx - 8]
fld dword [edi]
fld dword [ebx - 4]
fld dword [edi + 4]
fld st(3)
fmul st(3)
fld st(2)
fmul st(2)
faddp st(1)
fxch st(2)
fmulp st(3)
fmulp st(3)
fxch st(1)
fsubrp st(2)
fld dword [esp + 4]
fld st(0)
fadd st(2)
fld dword [esp + 0x1c]
fld st(0)
fadd st(5)
fstp dword [esp + 4]
fxch st(3)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fld st(0)
fld dword [esp + 0x28]
fadd st(1), st(0)
fld st(5)
fadd st(5)
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x24]
fxch st(4)
mov eax, dword [esp + 0x3c]
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x28]
add eax, 8
fld st(0)
fadd st(3)
fld dword [esp]
fadd st(1), st(0)
fxch st(1)
fstp dword [esi - 8]
fld dword [esp + 4]
fld st(0)
fadd st(4)
fadd dword [esp + 8]
fstp dword [esi - 4]
fld dword [esp + 0xc]
fld st(0)
fmul st(4)
faddp st(3)
fld dword [esp + 0x14]
fld st(0)
fmul st(7)
faddp st(4)
fxch st(1)
fmulp st(2)
fxch st(1)
fadd dword [esp + 8]
fxch st(1)
fmul st(4)
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x20]
fchs
fld dword [esp + 0x18]
fld dword [esp + 0x28]
fmul st(1)
fsubp st(2)
fld dword [esp + 0x10]
fmul dword [esp + 0x1c]
fxch st(1)
fmul dword [esp + 0x24]
faddp st(1)
fld st(3)
fsub st(2)
fstp dword [eax - 8]
fld st(2)
fsub st(1)
fstp dword [eax - 4]
fxch st(1)
faddp st(3)
fxch st(2)
fstp dword [ebx - 8]
faddp st(1)
fstp dword [ebx - 4]
fld dword [esp + 0x14]
fmul st(1), st(0)
fxch st(1)
fadd dword [esp]
fld dword [esp + 0xc]
fmul st(4), st(0)
fxch st(1)
faddp st(4)
fld dword [esp + 4]
fmulp st(2)
fxch st(1)
fadd dword [esp + 8]
fxch st(2)
fmulp st(1)
faddp st(1)
fld dword [esp + 0x20]
fld dword [esp + 0x18]
fmul st(1), st(0)
fld dword [esp + 0x28]
fld dword [esp + 0x10]
fmul st(1), st(0)
fxch st(3)
fsubrp st(1)
fld dword [esp + 0x24]
fmulp st(3)
fld dword [esp + 0x1c]
fmulp st(2)
fxch st(2)
fsubrp st(1)
fld st(3)
fadd st(2)
fstp dword [edx - 8]
fld st(2)
fadd st(1)
fstp dword [edx - 4]
fxch st(3)
fsubrp st(1)
mov dword [esp], eax
mov eax, dword [esp + 0x44]
add dword [esp + 0x30], eax
fstp dword [ecx - 8]
mov eax, dword [esp + 0x4c]
fsubrp st(1)
add dword [esp + 0x38], eax
add dword [esp + 0x34], 1
mov eax, dword [esp + 0x2c]
fstp dword [ecx - 4]
add ebp, dword [esp + 0x48]
add edi, dword [esp + 0x40]
cmp dword [esp + 0x34], eax
mov eax, dword [esp]
jne 0x418c40
mov eax, dword [esp + 0x64]
add dword [esp + 0x50], eax
add dword [esp + 0x54], 1
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x54], eax
jne 0x418c00
jmp 0x418e80
fstp st(0)
lea esi, [esi]
mov edi, dword [esp + 0x70]
cmp edi, 0xffffffff
mov eax, edi
je 0x418f7f
mov esi, dword [esp + 0x58]
sub edi, 1
sub dword [esp + 0x58], 4
mov dword [esp + 0x70], edi
movzx edx, word [esi]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x2c], esi
jmp 0x418b22
cmp dx, 2
jne 0x418e80
mov eax, dword [esp + eax*4 + 0x78]
movzx ecx, byte [esp + 0x74]
mov esi, eax
shl esi, cl
test eax, eax
mov dword [esp + 4], eax
jle 0x418e80
mov eax, dword [esp + 0xac]
xor ebp, ebp
mov edi, dword [esp + 0x5c]
shl esi, 3
mov ecx, dword [esp + 0x2c]
mov dword [esp], ebp
mov eax, dword [eax + 0x30]
shl edi, 3
mov dword [esp + 8], edi
mov edi, dword [esp + 0xb4]
mov ebp, ecx
mov dword [esp + 0xc], eax
mov eax, ecx
shl eax, 3
mov dword [esp + 0x10], eax
add edi, eax
mov eax, edi
xor ebx, ebx
mov ecx, dword [esp + 0xc]
sub eax, dword [esp + 0x10]
test ebp, ebp
mov edx, edi
jle 0x418f5f
fld dword [edx]
add ebx, 1
add edx, 8
fld dword [ecx]
add eax, 8
fld dword [edx - 4]
fld dword [ecx + 4]
add ecx, esi
fld st(3)
fmul st(3)
fld st(2)
fmul st(2)
faddp st(1)
fxch st(2)
fmulp st(3)
fmulp st(3)
fxch st(1)
fsubrp st(2)
fld st(0)
fsubr dword [eax - 8]
fstp dword [edx - 8]
fld st(1)
fsubr dword [eax - 4]
fstp dword [edx - 4]
fadd dword [eax - 8]
fstp dword [eax - 8]
fadd dword [eax - 4]
fstp dword [eax - 4]
cmp ebx, ebp
jne 0x418f16
add dword [esp], 1
mov eax, dword [esp + 4]
add edi, dword [esp + 8]
cmp dword [esp], eax
jne 0x418f04
mov edi, dword [esp + 0x70]
cmp edi, 0xffffffff
mov eax, edi
jne 0x418e8f
add esp, 0x98
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + eax*4 + 0x78]
movzx ecx, byte [esp + 0x74]
mov edi, eax
mov dword [esp + 0x24], eax
shl eax, cl
test edi, edi
jle 0x418e80
mov edi, dword [esp + 0xac]
mov dword [esp + 0x20], 0
mov edi, dword [edi + 0x30]
mov dword [esp + 0x30], edi
lea edi, [eax*8]
mov dword [esp + 0x10], edi
mov edi, eax
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
shl edi, 4
mov dword [esp + 0x14], edi
shl eax, 3
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
shl eax, 3
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
test ebp, ebp
jle 0x419134
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov dword [esp + 8], 0
add edx, edi
lea ecx, [edx + edi]
mov ebp, esi
lea ebx, [ecx + edi]
mov edi, esi
mov dword [esp + 0xc], esi
lea esi, [esi]
mov esi, dword [esp + 0xc]
add eax, 8
add edx, 8
fld dword [edx - 8]
add ecx, 8
add ebx, 8
fld dword [esi]
fld dword [edx - 4]
fld dword [esi + 4]
fld st(3)
mov esi, dword [esp + 0x10]
fmul st(3)
add dword [esp + 0xc], esi
fld st(2)
fmul st(2)
faddp st(1)
fstp dword [esp]
fxch st(2)
fmulp st(1)
fxch st(1)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 4]
fld dword [ecx - 8]
fld dword [edi]
fld dword [ecx - 4]
fld dword [edi + 4]
fld st(3)
fmul st(3)
add edi, dword [esp + 0x14]
fld st(2)
fmul st(2)
faddp st(1)
fxch st(2)
fmulp st(3)
fmulp st(3)
fxch st(1)
fsubrp st(2)
fld dword [ebx - 8]
fld dword [ebp]
fld dword [ebx - 4]
fld dword [ebp + 4]
fld st(3)
fmul st(3)
add ebp, dword [esp + 0x18]
fld st(2)
fmul st(2)
faddp st(1)
fxch st(2)
fmulp st(3)
fmulp st(3)
fxch st(1)
fsubrp st(2)
fld dword [eax - 8]
fld st(0)
fsub st(4)
fld dword [eax - 4]
fld st(0)
fsub st(7)
fxch st(6)
faddp st(3)
fxch st(2)
fst dword [eax - 8]
fxch st(6)
faddp st(2)
fxch st(1)
fst dword [eax - 4]
fld dword [esp]
fadd st(3)
fld dword [esp + 4]
fadd st(5)
fxch st(4)
fsubr dword [esp]
fxch st(5)
fsubr dword [esp + 4]
fxch st(7)
fsub st(1)
fstp dword [ecx - 8]
fxch st(1)
fsub st(3)
fstp dword [ecx - 4]
fadd dword [eax - 8]
fstp dword [eax - 8]
fxch st(1)
fadd dword [eax - 4]
fstp dword [eax - 4]
mov esi, dword [esp + 0x2c]
fld st(0)
fsub st(4)
add dword [esp + 8], 1
fstp dword [edx - 8]
fld st(2)
fadd st(2)
fstp dword [edx - 4]
faddp st(3)
fxch st(2)
fstp dword [ebx - 8]
fsubrp st(1)
fstp dword [ebx - 4]
cmp dword [esp + 8], esi
jne 0x419030
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], eax
add dword [esp + 0x20], 1
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x20], eax
jne 0x418ff8
jmp 0x418e80
mov esi, dword [esp + 0xac]
mov eax, dword [esp + eax*4 + 0x78]
movzx ecx, byte [esp + 0x74]
mov esi, dword [esi + 0x30]
mov edi, eax
mov dword [esp + 0x10], eax
shl eax, cl
mov dword [esp + 0x14], esi
mov ecx, esi
mov esi, dword [esp + 0x2c]
shl esi, 3
mov edx, esi
imul edx, eax
test edi, edi
mov dword [esp + 0x18], esi
fld dword [ecx + edx + 4]
jle 0x418e77
lea ebp, [eax*8]
shl eax, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
fchs
mov dword [esp + 0xc], 0
shl eax, 3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
nop
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov edx, eax
add eax, edi
lea ecx, [eax + edi]
mov edi, dword [esp + 0x2c]
mov esi, ebx
lea esi, [esi]
fld dword [eax]
add edx, 8
add eax, 8
fld dword [ebx]
add ecx, 8
fld dword [eax - 4]
fld dword [ebx + 4]
add ebx, ebp
fld st(3)
fmul st(3)
fld st(2)
fmul st(2)
faddp st(1)
fxch st(2)
fmulp st(3)
fmulp st(3)
fxch st(1)
fsubrp st(2)
fld dword [ecx - 8]
fld dword [esi]
fld dword [ecx - 4]
fld dword [esi + 4]
fxch st(3)
fst dword [esp]
fmul st(2)
add esi, dword [esp + 4]
fld st(1)
fmul st(4)
faddp st(1)
fxch st(1)
fmulp st(2)
fxch st(2)
fmul dword [esp]
fsubp st(1)
fld st(2)
fadd st(2)
fld st(4)
fadd st(2)
fld dword [0x427e60]
fmul st(2)
fsubr dword [edx - 8]
fstp dword [eax - 8]
fld dword [0x427e60]
fmul st(1)
fsubr dword [edx - 4]
fstp dword [eax - 4]
fxch st(3)
fsubp st(4)
fxch st(3)
fmul st(5)
fxch st(1)
fsubp st(4)
fxch st(3)
fmul st(4)
fxch st(2)
fadd dword [edx - 8]
fstp dword [edx - 8]
fadd dword [edx - 4]
fstp dword [edx - 4]
fld dword [eax - 8]
fadd st(1)
fstp dword [ecx - 8]
fld st(1)
fsubr dword [eax - 4]
fstp dword [ecx - 4]
fsubr dword [eax - 8]
fstp dword [eax - 8]
fadd dword [eax - 4]
fstp dword [eax - 4]
sub edi, 1
jne 0x4191e0
mov eax, dword [esp + 0x1c]
add dword [esp + 8], eax
add dword [esp + 0xc], 1
mov eax, dword [esp + 0x10]
cmp dword [esp + 0xc], eax
jne 0x4191c0
fstp st(0)
jmp 0x418e80
mov dword [esp + 0x5c], 1
jmp 0x418b36