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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c3039
sub esp, 0x44
mov eax, dword [esp + 0x5c]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x34], eax
cmp eax, 0x17
jne 0x5c2e24
mov edx, dword [esp + 0x58]
mov ebx, dword [edx + 4]
jmp 0x5c2e4c
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c3680
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
test ebx, ebx
je 0x5c2e5a
cmp eax, 0x17
mov ebx, 0
jmp 0x5c2eb8
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
call fcn.004c43b0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
mov ebp, dword [esp + 0x30]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x34]
cmp eax, 0x17
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x30], ebx
jne 0x5c2ec3
mov ebp, dword [edx + 4]
jmp 0x5c2eeb
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c3680
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x30]
cmp ebx, ebp
jge 0x5c3025
mov eax, ebx
sar ebx, 0x1f
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], 0xa
call fcn.004b7260
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], esi
call fcn.004c2e00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004c2fb0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov dword [esp], 0
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
lea ebp, [0x673b10]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
lea esi, [0x673b14]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 1
call fcn.0044de80
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x1c], ebx
call fcn.005be3d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x5c2ea2
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x44
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x44
ret
call fcn.00462450
jmp fcn.005c2df0