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

Disassembly:
mov ecx, dword [0x53ad04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41f4f2
sub esp, 0x60
mov eax, dword [0x53ad04]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x18]
cmp dword [edx], eax
je 0x41f166
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x7c]
test edx, edx
jg 0x41f15e
mov eax, dword [eax + 0x78]
test eax, eax
je 0x41f162
add esp, 0x60
ret
xor eax, eax
jmp 0x41f16f
add esp, 0x60
ret
movzx eax, byte [esp + 0x17]
mov byte [esp + 0x17], al
lea ecx, [0x53af60]
mov dword [esp], ecx
call fcn.0041d360
movzx eax, byte [esp + 4]
test al, al
jne 0x41f4e0
lea eax, [0x53b518]
mov dword [esp], eax
call fcn.00403690
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x40], xmm0
lea eax, [0x53b520]
mov dword [esp], eax
call fcn.00403690
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xf4]
mov edx, dword [eax + 0xf8]
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x48], xmm0
xor ebx, ebx
sub ebx, ecx
mov dword [esp + 0x28], ebx
mov ecx, 0
sbb ecx, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.00460a50
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.004609b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
test ecx, ecx
sete cl
setl bl
cmp eax, 0x10000
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ecx
or ebx, ebp
test bl, bl
jne 0x41f239
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
jmp 0x41f276
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call fcn.00460a50
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x48]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.004609b0
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
xor edx, edx
mov eax, 0x10000
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
lea ebp, [0x53b4d8]
mov dword [esp], ebp
call fcn.00403220
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
sete dl
setg bl
test ecx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, edx
or ebx, ebp
test bl, bl
jne 0x41f2c2
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
jmp 0x41f3da
mov edx, dword [esp + 0x24]
cmp edx, eax
setg al
sete bl
mov ebp, dword [esp + 0x20]
cmp ebp, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
or ebx, eax
test bl, bl
jne 0x41f30d
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 0xf4]
mov esi, dword [eax + 0xf8]
mov edi, dword [esp + 0x28]
add ebx, edi
mov dword [eax + 0xf4], ebx
mov ebx, dword [esp + 0x2c]
adc ebx, esi
mov dword [eax + 0xf8], ebx
jmp 0x41f389
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00460a50
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xf4]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xf8]
mov dword [esp + 0x38], edx
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x48]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.004609b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
add eax, edx
mov edx, dword [esp + 0x38]
adc ecx, edx
add eax, 1
mov edx, dword [esp + 0x64]
mov dword [edx + 0xf4], eax
adc ecx, 0
mov dword [edx + 0xf8], ecx
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
lea eax, [0x53b4d8]
mov dword [esp], eax
xor eax, eax
sub eax, ebp
mov ecx, 0
sbb ecx, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.00403300
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sbb ecx, edx
test eax, eax
sete dl
test ecx, ecx
sete bl
and ebx, edx
test bl, bl
jne 0x41f4ce
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call fcn.00458be0
movzx eax, byte [esp]
test al, al
je 0x41f404
movzx eax, byte [esp + 0x17]
test al, al
jne 0x41f409
call fcn.0045a290
mov eax, 1
jmp 0x41f409
movzx eax, byte [esp + 0x17]
mov byte [esp + 0x17], al
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x41f500]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x5c], ebx
lea ebx, [esp + 0x50]
mov dword [esp], ebx
call fcn.00465c10
mov eax, dword [0x53adf0]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x44]
test eax, eax
je 0x41f476
mov eax, dword [ecx + 0x44]
call fcn.00467110
mov dword [edi], eax
mov dword [ecx + 0x44], 0
test edx, edx
je 0x41f48a
call fcn.0041ad20
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0xf8]
test eax, eax
jge 0x41f4bc
movzx eax, byte [ecx + 0x65]
test al, al
je 0x41f4ab
call fcn.0043df30
movzx eax, byte [esp + 0x17]
jmp 0x41f16f
call fcn.0041fa20
movzx eax, byte [esp]
test al, al
je 0x41f16a
movzx eax, byte [esp + 0x17]
test al, al
je 0x41f4ca
call fcn.0045a2e0
add esp, 0x60
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41f4dc
call fcn.0045a2e0
add esp, 0x60
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41f4ee
call fcn.0045a2e0
add esp, 0x60
ret
call fcn.00465d00
jmp fcn.0041f120