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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x4cb4ea
sub esp, 0xdc
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov eax, dword [eax + 0x1c]
test byte [eax], al
mov eax, dword [eax + 0xec]
test eax, eax
je 0x4cad09
jmp 0x4cad4f
lea eax, [0x5314e1]
mov dword [esp], eax
mov dword [esp + 4], 0x36
call fcn.0047c400
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
add esp, 0xdc
ret
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x40], eax
test byte [eax], al
add eax, 0xec
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov eax, dword [eax + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
test byte [eax], al
movzx eax, byte [eax + 0x127]
mov byte [esp + 0x1f], al
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], al
call fcn.004ca6b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x4cadbf
jmp 0x4caddf
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
add esp, 0xdc
ret
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
test eax, eax
jne 0x4cae1b
jmp 0x4caead
lea eax, [0x53ad10]
mov dword [esp + 0xc8], eax
lea ecx, [0x53a714]
mov dword [esp + 0xcc], ecx
mov edx, dword [esp + 0xd0]
cmp edx, eax
je 0x4cae42
jmp 0x4cae81
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00405320
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4cae6b
jmp 0x4cae7f
jmp 0x4cae6d
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jmp 0x4caefc
jmp 0x4cae83
jmp 0x4cae83
jmp 0x4cae85
mov dword [esp + 0xe8], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
add esp, 0xdc
ret
jmp 0x4caeaf
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov eax, dword [eax + 0x1c]
test byte [eax], al
movzx eax, byte [eax + 0x124]
test al, al
jne 0x4caeca
jmp 0x4caefa
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov eax, dword [eax + 0x5c]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
add esp, 0xdc
ret
jmp 0x4caefc
mov eax, dword [esp + 0x40]
test byte [eax], al
add eax, 0xec
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov eax, dword [eax + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
test byte [eax], al
movzx eax, byte [eax + 0x127]
mov byte [esp + 0x1e], al
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], al
call fcn.004ca760
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x4caf63
jmp 0x4cb25d
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
lea eax, [0x53add0]
mov dword [esp + 0x98], eax
lea ecx, [0x5efb80]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0xa0]
cmp edx, eax
je 0x4cafa0
jmp 0x4cafd0
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00405320
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4cafc9
jmp 0x4cafce
jmp 0x4cb060
jmp 0x4cafd2
jmp 0x4cafd2
mov eax, dword [esp + 0xa0]
cmp dword [0x5cf868], eax
je 0x4cafe3
jmp 0x4cb016
mov eax, dword [0x5cf86c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00405320
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4cb012
jmp 0x4cb014
jmp 0x4cb060
jmp 0x4cb018
jmp 0x4cb018
mov eax, dword [esp + 0xa0]
cmp dword [0x5ccd00], eax
je 0x4cb02c
jmp 0x4cb4e5
mov eax, dword [0x5ccd04]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00405320
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4cb05e
jmp 0x4cb45a
jmp 0x4cb060
jmp 0x4cb062
mov eax, dword [esp + 0x40]
test byte [eax], al
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ad970
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test eax, eax
setne al
mov byte [esp + 0x1d], al
jne 0x4cb0ac
jmp 0x4cb0fd
lea eax, [0x53ad10]
mov dword [esp + 0x80], eax
lea ecx, [0x53a71c]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x44]
cmp edx, eax
setne al
jne 0x4cb0d3
jmp 0x4cb0d5
jmp 0x4cb0f7
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00405320
movzx eax, byte [esp + 0xc]
xor eax, 1
jmp 0x4cb0f7
mov byte [esp + 0x1d], al
jmp 0x4cb0ff
jmp 0x4cb0ff
movzx eax, byte [esp + 0x1d]
test al, al
jne 0x4cb419
jmp 0x4cb10e
mov eax, dword [esp + 0x40]
test byte [eax], al
add eax, 0xec
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xe0]
test byte [ecx], al
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ca830
mov eax, dword [esp + 0x40]
test byte [eax], al
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xe0]
test byte [eax], al
add eax, 0x5c
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xe0]
test byte [eax], al
add eax, 0x58
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.004c8c10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x4cb1ae
jmp 0x4cb22d
lea eax, [0x53ad10]
mov dword [esp + 0x5c], eax
lea ecx, [0x53a720]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x44]
cmp edx, eax
je 0x4cb1cc
jmp 0x4cb203
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00405320
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4cb1ef
jmp 0x4cb201
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
jmp 0x4cb205
jmp 0x4cb205
jmp 0x4cb205
mov dword [esp + 0xe8], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
add esp, 0xdc
ret
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov eax, dword [eax + 0x5c]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
add esp, 0xdc
ret
mov eax, dword [esp + 0x40]
test byte [eax], al
mov eax, dword [eax + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xe0]
test byte [eax], al
add eax, 0x5c
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xe0]
test byte [eax], al
add eax, 0x58
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.004c8c10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x4cb2e4
jmp 0x4cb3e9
lea eax, [0x53ad10]
mov dword [esp + 0xb0], eax
lea ecx, [0x53a6dc]
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0x44]
cmp edx, eax
sete al
je 0x4cb30b
jmp 0x4cb32a
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00405320
movzx eax, byte [esp + 0xc]
jmp 0x4cb32c
jmp 0x4cb32c
mov byte [esp + 0x1d], al
test al, al
jne 0x4cb336
jmp 0x4cb338
jmp 0x4cb386
lea eax, [0x53ad10]
mov dword [esp + 0xa8], eax
lea ecx, [0x53a718]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x44]
cmp edx, eax
sete al
je 0x4cb35f
jmp 0x4cb37e
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00405320
movzx eax, byte [esp + 0xc]
jmp 0x4cb380
jmp 0x4cb380
mov byte [esp + 0x1d], al
jmp 0x4cb386
movzx eax, byte [esp + 0x1d]
test al, al
jne 0x4cb391
jmp 0x4cb3c1
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov eax, dword [eax + 0x5c]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
add esp, 0xdc
ret
mov dword [esp + 0xe8], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
add esp, 0xdc
ret
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov eax, dword [eax + 0x5c]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
add esp, 0xdc
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4cb437
jmp 0x4cb458
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
jmp 0x4cb444
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046fd20
jmp 0x4cb444
jmp 0x4cb45c
jmp 0x4cb45e
mov eax, dword [esp + 0x38]
test byte [eax], al
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp], 0
lea edx, [0x52e6ae]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00455930
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046bbc0
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], eax
lea ecx, [0x5115e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046fd20
jmp 0x4cb45c
call fcn.004743b0
jmp fcn.004cacb0