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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c0ce3
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.004c19a0
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 0x4c0ab6
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.004c1cb0
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 0x4c0b0d
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.004b5180
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 0x4c0b77
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 0x4c0c68
cmp ebp, 0
jne 0x4c0c68
mov eax, dword [esp + 0x58]
cmp eax, 1
jne 0x4c0bfb
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.004c11e0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
cmp eax, 0
je 0x4c0bed
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b6390
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 0x4c0c5f
mov dword [esp + 0x74], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c1560
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
cmp eax, 0
je 0x4c0c51
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b6390
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 0x4c0b92
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.004c0da0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
cmp eax, 0
je 0x4c0cd5
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b6390
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.00450db0
jmp fcn.004c0a50