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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c2876
sub esp, 0x5c
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
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 dword [esp + 0xc], 0x20019
call fcn.004b2050
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x4c2859
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0xc
lea ecx, [0x9ff548]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
call fcn.0042c1c0
test eax, eax
jne 0x4c284f
mov eax, dword [0xe7a0c4]
mov dword [esp], eax
call fcn.004a1390
mov eax, dword [esp + 4]
test eax, eax
je 0x4c27d0
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
test eax, eax
jne 0x4c2719
mov eax, dword [esp + 0x70]
cmp eax, ecx
je 0x4c2631
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
nop
call fcn.0042c900
add esp, 0x5c
ret
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], ebp
mov dword [esp], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402350
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c260c
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
je 0x4c26f0
mov ecx, 1
test cl, cl
je 0x4c26ec
mov ecx, dword [esp + 0x70]
cmp eax, ecx
je 0x4c26ca
mov eax, 1
test al, al
je 0x4c26a5
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
nop
call fcn.0042c900
add esp, 0x5c
ret
mov byte [esp + 0x7c], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
nop
call fcn.0042c900
add esp, 0x5c
ret
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402350
movzx eax, byte [esp + 0xc]
xor eax, 1
jmp 0x4c267c
xor eax, eax
jmp 0x4c267c
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402350
movzx ecx, byte [esp + 0xc]
xor ecx, 1
mov eax, dword [esp + 0x78]
jmp 0x4c266b
mov eax, dword [esp + 0x24]
mov dword [esp], eax
lea ecx, [0x9cac51]
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
call fcn.004b28d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test edx, edx
jne 0x4c27b3
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
lea eax, [0x9cab4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call fcn.004b28d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test edx, edx
jne 0x4c2796
mov edx, dword [esp + 0x54]
mov ebx, eax
mov ebp, ecx
mov ecx, dword [esp + 0x20]
jmp 0x4c2604
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
nop
call fcn.0042c900
add esp, 0x5c
ret
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
nop
call fcn.0042c900
add esp, 0x5c
ret
mov eax, dword [esp + 0x24]
mov dword [esp], eax
lea ecx, [0x9ce35e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
call fcn.004b2a60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4c2813
xor ebx, ebx
xor ebp, ebp
mov esi, eax
mov eax, edx
mov edx, esi
mov edi, ebx
mov ebx, ebp
mov ebp, edi
jmp 0x4c25fc
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x24]
mov dword [esp], eax
lea ecx, [0x9ce357]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
call fcn.004b2a60
mov ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
jmp 0x4c2802
nop
call fcn.0042c900
add esp, 0x5c
ret
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
nop
call fcn.0042c900
add esp, 0x5c
ret
call fcn.00455270
jmp fcn.004c2540