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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5cf62f
sub esp, 0x70
mov eax, dword [esp + 0x8c]
cvtsi2sd xmm0, eax
movsd qword [esp + 0x50], xmm0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [0x5cf640]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x6c], edx
mov ecx, dword [edx]
call ecx
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
cvtsi2sd xmm0, eax
movsd xmm1, qword [esp + 0x50]
divsd xmm1, xmm0
movsd qword [esp], xmm1
call fcn.00497c90
movsd xmm0, qword [esp + 8]
cvttsd2si eax, xmm0
mov dword [esp + 0x40], eax
xor ecx, ecx
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
xor esi, esi
lea edi, [0x8485c0]
xor ecx, ecx
mov dword [esp + 0x30], ecx
jmp 0x5cf3fe
mov dword [esp + 0x5c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
add edx, edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0046af80
mov eax, dword [esp + 0x44]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x5c]
cmp ecx, eax
jge 0x5cf5ed
mov dword [esp + 0x5c], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov esi, dword [esp + 0x78]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x7c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
lea edx, [esp + 0x68]
call eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5cf5b2
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x84]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x60], ebp
cmp eax, ebx
jae 0x5cf4a6
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea ecx, [0x64c660]
mov dword [esp + 0x10], ecx
call fcn.0044fab0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x48], ebx
lea esi, [ebp + ecx]
mov dword [esp], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
call fcn.0046af80
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x68]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x5cf577
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
lea ebx, [eax + edx]
mov ebp, dword [esp + 0x34]
cmp ebp, ebx
jb 0x5cf52e
mov edi, dword [esp + 0x5c]
jmp 0x5cf3c1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x64c660]
mov dword [esp + 0x10], ecx
call fcn.0044fab0
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov ebp, esi
jmp 0x5cf3c1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x70
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x70
ret
mov ecx, dword [esp + 0x8c]
cmp ecx, esi
ja 0x5cf627
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x70
ret
mov edx, esi
call fcn.0046a6b0
nop
call fcn.00469200
jmp fcn.005cf310