Function at 0x4181f0
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 0x418261
mov eax, dword [esp + 0xac]
xor edx, edx
mov ebx, dword [eax + 0x2c]
fld dword [eax + 4]
lea esi, [esi]
movsx eax, word [ebx + edx*2]
mov edi, dword [esp + 0xb4]
mov ebp, dword [esi + edx*8 + 4]
lea eax, [edi + eax*8]
mov edi, dword [esi + edx*8]
add edx, 1
mov dword [eax + 4], ebp
cmp edx, ecx
mov dword [eax], edi
fld dword [eax]
fmul st(1)
fstp dword [eax]
fld dword [eax + 4]
fmul st(1)
fstp dword [eax + 4]
jne 0x418230
fstp st(0)
mov dword [esp + 0x78], 1
mov ecx, 1
xor eax, eax
mov esi, dword [esp + 0xac]
jmp 0x418282
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 0x418280
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 0x418a4d
mov edi, dword [esp + 0x58]
movsx edi, word [edi + 2]
mov dword [esp + 0x5c], edi
cmp dx, 3
je 0x4188e6
jle 0x418640
cmp dx, 4
je 0x418720
cmp dx, 5
jne 0x418610
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 0x418610
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 0x4185ef
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)
fsubp st(1)
fstp dword [esp + 4]
fmulp st(3)
fmulp st(1)
faddp st(1)
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)
fsubp st(1)
fstp dword [esp + 0x24]
fmulp st(3)
fmulp st(1)
faddp 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)
fsubp st(1)
fxch st(1)
fmulp st(4)
fxch st(1)
fmulp st(2)
fxch st(1)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [edi]
fld dword [ebx - 4]
fld dword [edi + 4]
fld dword [ebx - 8]
fmul st(3)
fld st(2)
fmul st(2)
fsubp st(1)
fxch st(1)
fmul dword [ebx - 8]
fxch st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fld dword [esp + 4]
fld st(0)
fadd st(2)
fld st(6)
fadd st(4)
fstp dword [esp + 4]
fxch st(2)
fsubp st(1)
fstp dword [esp + 0x1c]
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fld st(0)
fadd st(2)
fld st(3)
fld dword [esp + 0x28]
fadd st(1), st(0)
fxch st(4)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x24]
fxch st(3)
mov eax, dword [esp + 0x3c]
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x28]
add eax, 8
fld st(2)
fadd st(2)
fld dword [esp]
fadd st(1), st(0)
fxch st(1)
fstp dword [esi - 8]
fld dword [esp + 4]
fld st(0)
fadd st(3)
fadd dword [esp + 8]
fstp dword [esi - 4]
fld dword [esp + 0xc]
fld st(0)
fmul st(6)
faddp st(3)
fld dword [esp + 0x14]
fld st(0)
fmul st(6)
faddp st(4)
fxch st(1)
fmulp st(2)
fxch st(1)
fadd dword [esp + 8]
fxch st(1)
fmul st(3)
faddp st(1)
fld dword [esp + 0x10]
fld dword [esp + 0x20]
fmul st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x28]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x1c]
fchs
fld dword [esp + 0x18]
fmul dword [esp + 0x24]
fsubp st(1)
fld st(3)
fsub st(2)
fstp dword [eax - 8]
fld st(2)
fsub st(1)
fstp dword [eax - 4]
fxch st(3)
faddp st(1)
fstp dword [ebx - 8]
faddp st(1)
fstp dword [ebx - 4]
fld dword [esp + 0x14]
fmul st(3), st(0)
fxch st(3)
fadd dword [esp]
fld dword [esp + 0xc]
fmul st(3), st(0)
fxch st(1)
faddp st(3)
fld dword [esp + 4]
fmulp st(4)
fxch st(3)
fadd dword [esp + 8]
fxch st(1)
fmulp st(3)
faddp st(2)
fld dword [esp + 0x28]
fld dword [esp + 0x10]
fmul st(1), st(0)
fld dword [esp + 0x20]
fld dword [esp + 0x18]
fmul st(1), st(0)
fxch st(3)
fsubrp st(1)
fld dword [esp + 0x1c]
fmulp st(3)
fld dword [esp + 0x24]
fmulp st(2)
fxch st(2)
fsubrp st(1)
fld st(2)
fadd st(2)
fstp dword [edx - 8]
fld st(3)
fadd st(1)
fstp dword [edx - 4]
fxch st(2)
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]
fsubp 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 0x4183e0
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 0x4183a0
jmp 0x418610
fstp st(0)
nop
mov edi, dword [esp + 0x70]
cmp edi, 0xffffffff
mov eax, edi
je 0x418715
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 0x4182c2
cmp dx, 2
jne 0x418610
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 0x418610
mov eax, dword [esp + 0xac]
xor ebp, ebp
mov dword [esp], ebp
shl esi, 3
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
lea edi, [eax*8]
mov ebp, eax
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x5c]
shl edi, 3
mov dword [esp + 8], edi
mov edi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
xor ebx, ebx
test ebp, ebp
mov eax, edi
lea edx, [edi + ecx]
mov ecx, dword [esp + 0xc]
jle 0x4186f5
fld dword [eax + 4]
add ebx, 1
add edx, 8
fld dword [edx - 8]
add eax, 8
fld dword [edx - 4]
fld dword [ecx]
fld dword [ecx + 4]
add ecx, esi
fld st(3)
fmul st(2)
fld st(3)
fmul st(2)
fsubp st(1)
fxch st(1)
fmulp st(4)
fxch st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
fld st(1)
fsubr dword [eax - 8]
fstp dword [edx - 8]
fsub st(2), st(0)
fxch st(2)
fstp dword [edx - 4]
fadd dword [eax - 8]
fstp dword [eax - 8]
fadd dword [eax - 4]
fstp dword [eax - 4]
cmp ebx, ebp
jne 0x4186a7
add dword [esp], 1
mov eax, dword [esp + 4]
add edi, dword [esp + 8]
cmp dword [esp], eax
jne 0x418694
mov edi, dword [esp + 0x70]
cmp edi, 0xffffffff
mov eax, edi
jne 0x41861f
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 0x418610
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
nop
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
test ebp, ebp
jle 0x4188c6
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
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)
fsubp st(1)
fstp dword [esp]
fmulp st(3)
fmulp st(1)
faddp 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)
fsubp st(1)
fxch st(1)
fmulp st(4)
fxch st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
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)
fsubp st(1)
fxch st(1)
fmulp st(4)
fxch st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [eax - 8]
fld dword [eax - 4]
fld st(1)
fsub st(6)
fld st(1)
fsub st(6)
fxch st(7)
faddp st(3)
fxch st(2)
fst dword [eax - 8]
fxch st(5)
faddp st(1)
fst dword [eax - 4]
fld dword [esp]
fadd st(4)
fld dword [esp + 4]
fadd st(4)
fxch st(5)
fsubr dword [esp]
fxch st(4)
fsubr dword [esp + 4]
fxch st(6)
fsub st(1)
fstp dword [ecx - 8]
fxch st(1)
fsub st(4)
fstp dword [ecx - 4]
fadd dword [eax - 8]
fstp dword [eax - 8]
fxch st(2)
fadd dword [eax - 4]
fstp dword [eax - 4]
mov esi, dword [esp + 0x2c]
fld st(1)
fadd st(3)
add dword [esp + 8], 1
fstp dword [edx - 8]
fld st(3)
fsub st(1)
fstp dword [edx - 4]
fxch st(2)
fsubp st(1)
fstp dword [ebx - 8]
faddp st(1)
fstp dword [ebx - 4]
cmp dword [esp + 8], esi
jne 0x4187c4
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 0x418790
jmp 0x418610
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 0x41860c
lea ebp, [eax*8]
shl eax, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
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)
fsubp st(1)
fxch st(1)
fmulp st(4)
fxch st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [ecx - 8]
fld dword [esi]
fld dword [ecx - 4]
fld dword [esi + 4]
fld st(3)
fxch st(3)
fst dword [esp]
fmulp st(3)
add esi, dword [esp + 4]
fld st(1)
fmul st(1)
fsubp st(3)
fmulp st(3)
fmul dword [esp]
faddp st(2)
fld st(3)
fadd st(1)
fld st(3)
fadd st(3)
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(2)
fsubp st(5)
fxch st(4)
fmul st(5)
fxch st(2)
fsubp st(3)
fxch st(2)
fmul st(4)
fxch st(3)
fadd dword [edx - 8]
fstp dword [edx - 8]
fxch st(1)
fadd dword [edx - 4]
fstp dword [edx - 4]
fld dword [eax - 8]
fadd st(2)
fstp dword [ecx - 8]
fld st(0)
fsubr dword [eax - 4]
fstp dword [ecx - 4]
fxch st(1)
fsubr dword [eax - 8]
fstp dword [eax - 8]
fadd dword [eax - 4]
fstp dword [eax - 4]
sub edi, 1
jne 0x418970
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 0x418950
fstp st(0)
jmp 0x418610
mov dword [esp + 0x5c], 1
jmp 0x4182d6