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

Disassembly:
mov ecx, dword [0x57adc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41fe32
sub esp, 0x60
mov eax, dword [0x57adc8]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x18]
cmp dword [edx], eax
je 0x41faa6
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x7c]
test edx, edx
jg 0x41fa9e
mov eax, dword [eax + 0x78]
test eax, eax
je 0x41faa2
add esp, 0x60
ret
xor eax, eax
jmp 0x41faaf
add esp, 0x60
ret
movzx eax, byte [esp + 0x17]
mov byte [esp + 0x17], al
lea ecx, [0x57b040]
mov dword [esp], ecx
call fcn.0041dca0
movzx eax, byte [esp + 4]
test al, al
jne 0x41fe20
lea eax, [0x57b5f8]
mov dword [esp], eax
call fcn.00403800
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x40], xmm0
lea eax, [0x57b600]
mov dword [esp], eax
call fcn.00403800
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.004633d0
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00463330
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 0x41fb79
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
jmp 0x41fbb6
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call fcn.004633d0
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x48]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.00463330
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, [0x57b5b8]
mov dword [esp], ebp
call fcn.00403390
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 0x41fc02
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
jmp 0x41fd1a
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 0x41fc4d
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 0x41fcc9
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.004633d0
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.00463330
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, [0x57b5b8]
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.00403470
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 0x41fe0e
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call fcn.0045b560
movzx eax, byte [esp]
test al, al
je 0x41fd44
movzx eax, byte [esp + 0x17]
test al, al
jne 0x41fd49
call fcn.0045cc10
mov eax, 1
jmp 0x41fd49
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, [0x41fe40]
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.004687c0
mov eax, dword [0x57aed0]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x44]
test eax, eax
je 0x41fdb6
mov eax, dword [ecx + 0x44]
call fcn.00469cd0
mov dword [edi], eax
mov dword [ecx + 0x44], 0
test edx, edx
je 0x41fdca
call fcn.0041b660
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0xf8]
test eax, eax
jge 0x41fdfc
movzx eax, byte [ecx + 0x65]
test al, al
je 0x41fdeb
call fcn.0043ebd0
movzx eax, byte [esp + 0x17]
jmp 0x41faaf
call fcn.00420360
movzx eax, byte [esp]
test al, al
je 0x41faaa
movzx eax, byte [esp + 0x17]
test al, al
je 0x41fe0a
call fcn.0045cc60
add esp, 0x60
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41fe1c
call fcn.0045cc60
add esp, 0x60
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41fe2e
call fcn.0045cc60
add esp, 0x60
ret
call fcn.004688b0
jmp fcn.0041fa60