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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c0ee3
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.004c1ba0
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 0x4c0cb6
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.004c1eb0
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 0x4c0d0d
mov dword [esp], eax
mov edx, dword [0x6c4824]
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.004b5380
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 0x4c0d77
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
mov edx, dword [0x6c4824]
mov ebx, dword [edx]
call ebx
mov dword [esp + 0x74], 0
add esp, 0x40
ret
cmp ecx, 0
je 0x4c0e68
cmp ebp, 0
jne 0x4c0e68
mov eax, dword [esp + 0x58]
cmp eax, 1
jne 0x4c0dfb
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [0x6d9ca4]
mov dword [esp + 0xc], ebx
call fcn.004c13e0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
cmp eax, 0
je 0x4c0ded
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b6590
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 0x4c0e5f
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c1760
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
cmp eax, 0
je 0x4c0e51
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b6590
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 0x4c0d92
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.004c0fa0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
cmp eax, 0
je 0x4c0ed5
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b6590
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.00450fb0
jmp fcn.004c0c50