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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c27aa
sub esp, 0x68
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [esp + 0x74]
movzx esi, byte [ebp]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4c2627
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x4c25ff
mov edx, dword [ecx + 8]
test edx, edx
je 0x4c25ff
mov byte [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea edx, [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c4160
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c25f3
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
jmp 0x4c2627
mov dword [esp + 0x7c], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004c1660
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
mov esi, dword [ebp + 8]
mov dword [esp + 0x3c], esi
mov edi, dword [ebp + 4]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4c265d
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x40]
mov eax, esi
mov esi, dword [esp + 0x3c]
jmp 0x4c266d
xor eax, eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x6c]
mov ebp, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x2c], ebx
call fcn.004c8a10
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov edx, dword [0x84e4b0]
lea edi, [ebx + 4]
test edx, edx
jne 0x4c26f2
mov dword [ebx + 4], ecx
jmp 0x4c26fd
mov edx, eax
mov eax, ecx
call fcn.0045f3a0
mov eax, edx
test eax, eax
je 0x4c2724
mov eax, dword [esp + 0x70]
movzx eax, byte [eax]
test al, al
je 0x4c2724
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4c2724
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
test eax, 1
setne al
jmp 0x4c2726
xor eax, eax
mov byte [ebx], al
test al, al
je 0x4c27a2
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c27a2
mov dword [esp + 0x54], edi
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
call fcn.004c55d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x84e4b0]
test ecx, ecx
jne 0x4c2796
mov dword [ebx + 4], eax
jmp 0x4c279f
mov edi, dword [esp + 0x54]
call fcn.0045f3a0
mov byte [ebx], 0
mov dword [esp + 0x7c], ebx
add esp, 0x68
ret
call fcn.0045df90
jmp fcn.004c2560