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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x41f152
sub esp, 0xac
mov ecx, dword [0x609a90]
mov eax, dword fs:[0x14]
mov eax, dword [eax]
test ecx, ecx
jne 0x41ec7f
mov dword [0x5e3ce4], eax
jmp 0x41ec8a
lea edi, [0x5e3ce4]
call fcn.0045dbb0
nop
lea eax, [0x5e3ce0]
mov dword [esp], eax
call fcn.00408fd0
mov byte [0x5e3ce8], 1
lea eax, [0x505700]
mov dword [esp], eax
call fcn.0040b030
mov eax, dword [0x609a90]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x41eccd
mov dword [0x5e3cec], ecx
lea eax, [0x518aa8]
mov dword [ecx + 0x14], eax
jmp 0x41ece8
lea edi, [0x5e3cec]
mov eax, ecx
call fcn.0045dbb0
lea edi, [eax + 0x14]
lea eax, [0x518aa8]
call fcn.0045dbb0
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [0x539bd8]
mov dword [esp + 4], eax
call fcn.004043f0
lea eax, [0x518b98]
mov dword [esp], eax
lea ecx, [0x5e3ce0]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x140d
mov dword [esp + 0xc], 1
call fcn.00436230
lea edi, [esp + 0x78]
lea esi, [0x53a7dc]
call fcn.0045e21e
movsd xmm0, qword [0x539bf8]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
movsd qword [esp + 0x58], xmm0
xorps xmm1, xmm1
xor edx, edx
jmp 0x41efc3
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x58]
movsd xmm1, xmm2
movsd xmm2, qword [0x539c80]
jmp 0x41ed97
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x58]
movsd xmm2, qword [0x539c80]
mov edx, dword [esp + 0x44]
movsd xmm1, qword [esp + 0x60]
test edx, edx
je 0x41ef60
cmp dword [0x6098f4], edx
ja 0x41f136
ucomisd xmm2, xmm1
jbe 0x41edb9
movsd xmm1, qword [0x539c80]
movsd qword [esp + 0x70], xmm1
divsd xmm1, xmm0
movsd qword [esp], xmm1
call fcn.004584a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0041eb20
mov eax, dword [esp + 0x50]
test eax, eax
setg cl
mov edx, dword [esp + 0x4c]
test edx, edx
seta bl
test eax, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov dword [esp + 0x30], edi
and ebx, ebp
or ebx, ecx
mov ecx, dword [esp + 0xc]
test bl, bl
je 0x41ee78
mov dword [esp + 0x34], ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
call fcn.004584a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
adc edx, eax
mov eax, dword [esp + 0x50]
cmp eax, edx
sete bl
xchg ebp, ebx
setl bl
xchg ebp, ebx
mov esi, dword [esp + 0x4c]
cmp ecx, esi
xchg edi, ebx
seta bl
xchg edi, ebx
and ebx, edi
or ebx, ebp
test bl, bl
je 0x41ee67
xor eax, eax
xor esi, esi
jmp 0x41ee6b
sub esi, ecx
sbb eax, edx
movsd xmm0, qword [esp + 0x58]
mov ecx, esi
jmp 0x41ed43
mov dword [esp + 0x38], esi
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00458540
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x68], xmm0
mov eax, dword [0x6098ac]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00458540
movsd xmm0, qword [esp + 8]
lea eax, [esp + 0x78]
mov dword [esp], eax
movsd xmm1, qword [esp + 0x68]
movsd xmm2, qword [esp + 0x70]
addsd xmm1, xmm2
mov ecx, dword [esp + 0x54]
cvtsi2sd xmm3, ecx
mulsd xmm3, xmm1
movsd xmm1, xmm2
divsd xmm2, xmm3
movsd qword [esp + 4], xmm2
movsd xmm2, qword [0x539c00]
movsd qword [esp + 0xc], xmm2
addsd xmm0, xmm1
movsd qword [esp + 0x14], xmm0
call fcn.0041e640
movzx eax, byte [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
test al, al
je 0x41ef22
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
jmp 0x41ed43
nop
nop
lea eax, [0x5e3ce0]
mov dword [esp], eax
call fcn.00408fd0
mov byte [0x5e3cf4], 1
nop
nop
lea eax, [0x5e3ce0]
mov dword [esp], eax
call fcn.004091d0
movsd xmm0, qword [0x539bf8]
mov eax, 1
mov ecx, 0x2a05f200
jmp 0x41ed43
nop
nop
lea eax, [0x5e3ce0]
mov dword [esp], eax
call fcn.00408fd0
mov byte [0x5e3ce8], 1
lea eax, [0x518b98]
mov dword [esp], eax
lea ecx, [0x5e3ce0]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x140d
mov dword [esp + 0xc], 1
call fcn.00436230
movsd xmm0, qword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
jmp 0x41ed43
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x58]
movsd xmm1, xmm2
movsd xmm2, qword [0x539c80]
ucomisd xmm2, xmm1
jbe 0x41ed97
movsd qword [esp + 0x60], xmm1
mov dword [esp + 0x44], edx
call fcn.0041e7a0
mov eax, dword [esp]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
lea edx, [0x5e9948]
mov dword [esp], edx
call fcn.00401e50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
sete al
seta cl
mov edx, dword [esp + 0x3c]
cmp dword [esp + 4], edx
setae dl
and edx, eax
or edx, ecx
test dl, dl
jne 0x41ed77
nop
call fcn.0045ea00
mov eax, dword [esp]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
lea edx, [0x5e9884]
mov dword [esp], edx
mov dword [esp + 4], 0x10000
call fcn.0041f160
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
lea ecx, [0x5e98f8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00401cd0
nop
call fcn.0045ea00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
setl dl
mov ebx, dword [esp]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
xchg esi, ebx
setbe bl
xchg esi, ebx
cmp eax, ecx
xchg edi, ebx
sete bl
xchg edi, ebx
and esi, edi
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x41f0df
mov ecx, dword [0x6098f4]
test ecx, ecx
je 0x41f14c
mov eax, dword [esp + 0x48]
xor edx, edx
div ecx
mov dword [esp], eax
call fcn.0045db60
movsd xmm0, qword [esp + 4]
movsd xmm1, qword [0x539c78]
mulsd xmm0, xmm1
movsd xmm2, qword [esp + 0x60]
addsd xmm2, xmm0
jmp 0x41f107
sub ebx, ebp
sbb eax, ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00458540
movsd xmm2, qword [esp + 8]
movsd xmm0, qword [esp + 0x60]
addsd xmm2, xmm0
movsd xmm1, qword [0x539c78]
mov eax, dword [0x609948]
test eax, eax
setne al
mov ecx, dword [0x60994c]
test ecx, ecx
setne cl
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
add edx, ebx
or ecx, eax
test cl, cl
je 0x41efb1
jmp 0x41ed5b
lea eax, [0x516e0c]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.00433a30
call fcn.00432120
nop
call fcn.0045c7a0
jmp fcn.0041ec40