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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c3a73
sub esp, 0x40
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
call fcn.004c4730
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ecx
cmp ecx, 0
je 0x4c3846
mov dword [esp + 0x74], 0
add esp, 0x40
ret
mov dword [esp + 0x24], eax
mov dword [esp], eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
movzx ebx, byte [esp + 0x60]
mov byte [esp + 0xc], bl
call fcn.004c4a40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ecx
cmp ecx, 0
je 0x4c389d
mov dword [esp], eax
mov edx, dword [0x6c5824]
mov ebx, dword [edx]
call ebx
mov dword [esp + 0x74], 0
add esp, 0x40
ret
mov dword [esp], eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
call fcn.004b7f10
mov ebp, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], eax
cmp eax, 0
je 0x4c3907
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
mov edx, dword [0x6c5824]
mov ebx, dword [edx]
call ebx
mov dword [esp + 0x74], 0
add esp, 0x40
ret
cmp ecx, 0
je 0x4c39f8
cmp ebp, 0
jne 0x4c39f8
mov eax, dword [esp + 0x58]
cmp eax, 1
jne 0x4c398b
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [0x6daca4]
mov dword [esp + 0xc], ebx
call fcn.004c3f70
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
cmp eax, 0
je 0x4c397d
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b9120
mov dword [esp + 0x74], 0
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
cmp eax, 2
jne 0x4c39ef
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c42f0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
cmp eax, 0
je 0x4c39e1
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b9120
mov dword [esp + 0x74], 0
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
cmp eax, 5
je 0x4c3922
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x18], ebx
call fcn.004c3b30
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
cmp eax, 0
je 0x4c3a65
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b9120
mov dword [esp + 0x74], 0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
add esp, 0x40
ret
call fcn.004518d0
jmp fcn.004c37e0