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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push edi
mov edi, eax
mov cl, byte [edi + 0x1ec]
fld dword [edi + 0x6c]
fsub dword [esi + 0xa4]
xor eax, eax
cmp cl, 5
sete al
fstp dword [esp + 0x14]
mov dword [esp + 0x18], 0
fld dword [edi + 0x74]
fsub dword [esi + 0xac]
fstp dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41eec0
fld dword [esp + 0x14]
fmul dword [0x4c4a4c]
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fmul dword [0x4c4a4c]
fstp dword [esp + 0x1c]
lea ecx, [esp + 0x14]
call fcn.00434550
fstp dword [esp + 0x10]
mov eax, 1
mov ecx, esi
call fcn.0040ec10
fld dword [esi + 0xd4]
mov ecx, dword [esi + 0xdc]
fchs
fstp dword [esp + 0x34]
lea ebp, [esi + 0xd4]
fld dword [ebp]
mov dword [esp + 0x2c], ecx
fmul dword [0x4c49d4]
lea ecx, [esp + 0x20]
fadd dword [esi + 0xa4]
fstp dword [esp + 0x20]
fld dword [esi + 0xdc]
fmul dword [0x4c49d4]
fadd dword [esi + 0xac]
fstp dword [esp + 0x28]
call fcn.0041ed50
fld dword [esp + 0x2c]
mov ebx, eax
fadd dword [ebp]
neg ebx
sbb ebx, ebx
lea ecx, [esp + 0x20]
fmul dword [0x4c49cc]
and ebx, 2
fadd dword [esi + 0xa4]
fstp dword [esp + 0x20]
fld dword [esp + 0x34]
fadd dword [esi + 0xdc]
fmul dword [0x4c49cc]
fadd dword [esi + 0xac]
fstp dword [esp + 0x28]
call fcn.0041ed50
fld dword [esp + 0x2c]
neg eax
fmul dword [0x4c4b88]
sbb eax, eax
neg eax
lea ecx, [esp + 0x20]
fsubr dword [esp + 0x20]
or ebx, eax
fstp dword [esp + 0x20]
fld dword [esp + 0x34]
fmul dword [0x4c4b88]
fsubr dword [esp + 0x28]
fstp dword [esp + 0x28]
call fcn.0041ed50
neg eax
sbb eax, eax
and eax, 4
or ebx, eax
cmp word [edi + 0x5c], 0
jne 0x41efb6
mov byte [edi + 0x1eb], 9
mov al, byte [edi + 0x1eb]
test al, 0xf
je 0x41efc8
dec al
mov byte [edi + 0x1eb], al
test bx, bx
je 0x41f0ee
mov cl, byte [edi + 0x1eb]
test cl, 0xf
jne 0x41f0ee
mov eax, ebx
xor edx, edx
and eax, 1
test ax, ax
mov dword [esp + 0x3c], edx
je 0x41eff7
test bl, 4
jne 0x41effc
jmp 0x41f006
test bl, 4
je 0x41f00e
test ax, ax
jne 0x41f00e
mov edx, 1
mov dword [esp + 0x3c], 0x3dcccccd
test bl, 2
jne 0x41f02c
cmp bx, 7
je 0x41f02c
mov al, bl
and al, 5
cmp al, 5
jne 0x41f036
mov eax, dword [esi + 0x10c]
test ah, 0x10
je 0x41f036
mov dword [esp + 0x3c], 0x3e99999a
jmp 0x41f04b
fld dword [esp + 0x3c]
fcomp dword [0x4bf424]
fnstsw ax
test ah, 0x41
jne 0x41f0f5
shr cl, 4
movzx ax, cl
cmp ax, 1
je 0x41f062
cmp ax, 2
je 0x41f0a8
test edx, edx
je 0x41f0a8
mov byte [edi + 0x1eb], 0x10
fld dword [esi + 0x11c]
fcomp dword [0x4c4a98]
fnstsw ax
test ah, 0x41
je 0x41f084
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41f0f5
fld dword [esp + 0x3c]
fmul dword [esp + 0x2c]
fadd dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x3c]
fmul dword [esp + 0x34]
fadd dword [esi + 0xdc]
fstp dword [esi + 0xdc]
jmp 0x41f0f5
mov byte [edi + 0x1eb], 0x20
fld dword [esi + 0x11c]
fcomp dword [0x4c4a98]
fnstsw ax
test ah, 0x41
je 0x41f0ca
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41f0f5
fld dword [esp + 0x3c]
fmul dword [esp + 0x2c]
fsubr dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x3c]
fmul dword [esp + 0x34]
fsubr dword [esi + 0xdc]
fstp dword [esi + 0xdc]
jmp 0x41f0f5
and byte [edi + 0x1eb], 0xf
mov eax, dword [edi + 0x78]
test eax, eax
je 0x41f12a
fld dword [esi + 0x11c]
fcomp dword [0x4c4a98]
fnstsw ax
test ah, 0x41
je 0x41f117
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41f184
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [ebp], ecx
mov dword [esi + 0xdc], edx
jmp 0x41f184
test bx, bx
jne 0x41f17b
mov eax, dword [esi + 0x10c]
test ah, 0x10
jne 0x41f17b
fld dword [esi + 0x11c]
fcomp dword [0x4c4a98]
fnstsw ax
test ah, 0x41
je 0x41f155
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41f17b
fld dword [esp + 0x14]
fmul dword [0x4c4a58]
fadd dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x1c]
fmul dword [0x4c4a58]
fadd dword [esi + 0xdc]
fstp dword [esi + 0xdc]
mov ecx, ebp
call fcn.00434550
fstp st(0)
fld dword [esi + 0x11c]
fcomp dword [0x4c4a98]
fnstsw ax
test ah, 0x41
je 0x41f1af
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, eax
jne 0x41f1af
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb8], eax
jmp 0x41f1d0
fld dword [esi + 0x11c]
fmul dword [ebp]
fstp dword [esi + 0xb0]
fld dword [esi + 0x11c]
fmul dword [esi + 0xdc]
fstp dword [esi + 0xb8]
mov ebx, dword [esp + 0x40]
movzx ecx, word [esi + 0x30]
mov eax, dword [esi + 0x18]
xor edx, edx
test ebx, ebx
mov ebx, dword [0x150b09c]
mov ecx, dword [ebx + ecx*4]
lea edi, [eax + eax*2]
mov ecx, dword [ecx + edi*8]
pop edi
sete dl
test ch, 0x85
pop ebp
pop ebx
jne 0x41f224
test cl, 0x40
jne 0x41f224
cmp eax, 0x6d
je 0x41f224
cmp eax, 0x81
je 0x41f224
cmp eax, 0x67
je 0x41f224
push edx
push 0
mov eax, esi
call fcn.0040d2d0
fld dword [esp + 0xc]
add esp, 8
add esp, 0x2c
ret
push edx
push 1
mov eax, esi
call fcn.0040d2d0
fld dword [esp + 0xc]
add esp, 8
add esp, 0x2c
ret