Function at 0x41ec30
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 0x41f142
sub esp, 0xac
mov ecx, dword [0x705d20]
mov eax, dword fs:[0x14]
mov eax, dword [eax]
test ecx, ecx
jne 0x41ec6f
mov dword [0x6df8d4], eax
jmp 0x41ec7a
lea edi, [0x6df8d4]
call fcn.0045d700
nop
lea eax, [0x6df8d0]
mov dword [esp], eax
call fcn.00409000
mov byte [0x6df8d8], 1
lea eax, [0x597640]
mov dword [esp], eax
call fcn.0040b060
mov eax, dword [0x705d20]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x41ecbd
mov dword [0x6df8dc], ecx
lea eax, [0x5b6ee4]
mov dword [ecx + 0x14], eax
jmp 0x41ecd8
lea edi, [0x6df8dc]
mov eax, ecx
call fcn.0045d700
lea edi, [eax + 0x14]
lea eax, [0x5b6ee4]
call fcn.0045d700
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
lea eax, [0x5eae60]
mov dword [esp + 4], eax
call fcn.00404420
lea eax, [0x5b6fd4]
mov dword [esp], eax
lea ecx, [0x6df8d0]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x140d
mov dword [esp + 0xc], 1
call fcn.004364c0
lea edi, [esp + 0x78]
lea esi, [0x5ebda8]
call fcn.0045ddce
movsd xmm0, qword [0x5eae88]
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 0x41efb3
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x58]
movsd xmm1, xmm2
movsd xmm2, qword [0x5eaf68]
jmp 0x41ed87
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x58]
movsd xmm2, qword [0x5eaf68]
mov edx, dword [esp + 0x44]
movsd xmm1, qword [esp + 0x60]
test edx, edx
je 0x41ef50
cmp dword [0x705b38], edx
ja 0x41f126
ucomisd xmm2, xmm1
jbe 0x41eda9
movsd xmm1, qword [0x5eaf68]
movsd qword [esp + 0x70], xmm1
divsd xmm1, xmm0
movsd qword [esp], xmm1
call fcn.00458540
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0041eb10
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 0x41ee68
mov dword [esp + 0x34], ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
call fcn.00458540
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 0x41ee57
xor eax, eax
xor esi, esi
jmp 0x41ee5b
sub esi, ecx
sbb eax, edx
movsd xmm0, qword [esp + 0x58]
mov ecx, esi
jmp 0x41ed33
mov dword [esp + 0x38], esi
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.004585e0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x68], xmm0
mov eax, dword [0x705af0]
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.004585e0
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 [0x5eae90]
movsd qword [esp + 0xc], xmm2
addsd xmm0, xmm1
movsd qword [esp + 0x14], xmm0
call fcn.0041e630
movzx eax, byte [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
test al, al
je 0x41ef12
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
jmp 0x41ed33
nop
nop
lea eax, [0x6df8d0]
mov dword [esp], eax
call fcn.00409000
mov byte [0x6df8e4], 1
nop
nop
lea eax, [0x6df8d0]
mov dword [esp], eax
call fcn.00409200
movsd xmm0, qword [0x5eae88]
mov eax, 1
mov ecx, 0x2a05f200
jmp 0x41ed33
nop
nop
lea eax, [0x6df8d0]
mov dword [esp], eax
call fcn.00409000
mov byte [0x6df8d8], 1
lea eax, [0x5b6fd4]
mov dword [esp], eax
lea ecx, [0x6df8d0]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x140d
mov dword [esp + 0xc], 1
call fcn.004364c0
movsd xmm0, qword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
jmp 0x41ed33
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x58]
movsd xmm1, xmm2
movsd xmm2, qword [0x5eaf68]
ucomisd xmm2, xmm1
jbe 0x41ed87
movsd qword [esp + 0x60], xmm1
mov dword [esp + 0x44], edx
call fcn.0041e790
mov eax, dword [esp]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
lea edx, [0x6e5b68]
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 0x41ed67
nop
call fcn.0045e5b0
mov eax, dword [esp]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
lea edx, [0x6e5aa4]
mov dword [esp], edx
mov dword [esp + 4], 0x10000
call fcn.0041f150
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
lea ecx, [0x6e5b18]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00401cd0
nop
call fcn.0045e5b0
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 0x41f0cf
mov ecx, dword [0x705b38]
test ecx, ecx
je 0x41f13c
mov eax, dword [esp + 0x48]
xor edx, edx
div ecx
mov dword [esp], eax
call fcn.0045d6b0
movsd xmm0, qword [esp + 4]
movsd xmm1, qword [0x5eaf60]
mulsd xmm0, xmm1
movsd xmm2, qword [esp + 0x60]
addsd xmm2, xmm0
jmp 0x41f0f7
sub ebx, ebp
sbb eax, ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004585e0
movsd xmm2, qword [esp + 8]
movsd xmm0, qword [esp + 0x60]
addsd xmm2, xmm0
movsd xmm1, qword [0x5eaf60]
mov eax, dword [0x705b98]
test eax, eax
setne al
mov ecx, dword [0x705b9c]
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 0x41efa1
jmp 0x41ed4b
lea eax, [0x5afd20]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.00433a50
call fcn.00432140
nop
call fcn.0045c2f0
jmp fcn.0041ec30