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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4c5e22
sub esp, 0x9c
mov eax, 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.004c56a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4c5dd2
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00468b5b
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
call edx
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x21], cl
lea edi, [esp + 0x50]
lea esi, [esp + 4]
call fcn.0046903e
lea edi, [esp + 0x3c]
lea esi, [esp + 0x50]
call fcn.0046903e
movzx ecx, byte [esp + 0x21]
test cl, cl
jne 0x4c5812
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4c58a9
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.0046903e
call fcn.00485320
movzx eax, byte [esp + 0x14]
test al, al
je 0x4c5837
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4c58a9
mov eax, dword [esp + 0xa0]
test byte [eax], al
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x3c]
call fcn.0046903e
call fcn.004a0e70
lea edi, [esp + 0x64]
lea esi, [0x5f74b0]
call fcn.0046903e
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00468b59
lea eax, [0x4c5f50]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x7c], eax
lea edi, [esp + 0x80]
lea esi, [esp + 0x64]
call fcn.0046903e
lea ecx, [esp + 0x78]
mov dword [esp + 0x98], ecx
mov byte [esp + 0x23], 1
mov ecx, 1
mov byte [esp + 0x22], cl
mov edx, dword [eax + 0x140]
mov ebx, dword [eax + 0x144]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004c5560
movzx eax, byte [esp + 8]
test al, al
je 0x4c5d30
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4c596f
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4c5dfd
mov eax, dword [esp + 0xb4]
lea ecx, [0x526a38]
cmp eax, ecx
jne 0x4c591b
lea eax, [0x503720]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x526a38]
jmp 0x4c5941
lea ecx, [0x526a4c]
cmp eax, ecx
jne 0x4c5dfd
lea eax, [0x504be0]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x526a4c]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00479e90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x4c5cc3
lea eax, [0x4f5c00]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405830
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x4c5f10]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x94], ecx
movzx ecx, byte [esp + 0x22]
or ecx, 2
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], cl
lea edx, [0x500f00]
mov dword [esp], edx
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x4c5e30]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x61d360]
test ecx, ecx
jne 0x4c5a11
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xa0]
mov dword [eax + 0xc], edx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 0x10], ebx
jmp 0x4c5a3f
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xa8]
call fcn.00468980
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0xa0]
call fcn.00468980
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x2c]
call fcn.00468980
mov eax, ecx
mov dword [esp], eax
call fcn.00445f50
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
call fcn.004a2ec0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4c5bfd
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call ecx
mov dword [esp], 0
call fcn.00406c10
movzx eax, byte [esp + 8]
test al, al
jne 0x4c5b64
mov eax, dword [esp + 0x30]
lea ecx, [0x526b00]
cmp eax, ecx
jne 0x4c5af5
lea ecx, [0x5124db]
mov dword [esp], ecx
mov dword [esp + 4], 9
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
call fcn.004a36e0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x4c5afd
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
movzx eax, byte [esp + 0x22]
test al, 2
je 0x4c5b46
and eax, 0xfffffffd
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x94]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4c5b5d
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004cf4f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
movzx eax, byte [esp + 0x22]
test al, 2
je 0x4c5bdf
and eax, 0xfffffffd
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x94]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4c5bf6
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0xffff
mov dword [esp + 8], 0x7010
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
call fcn.0047c200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x512974]
mov dword [esp], edx
mov dword [esp + 4], 0xa
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a36e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
movzx eax, byte [esp + 0x22]
test al, 2
je 0x4c5ca5
and eax, 0xfffffffd
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x94]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4c5cbc
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
lea edx, [0x5117f2]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a36e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4c5d29
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov edx, dword [0x5f273c]
mov eax, dword [edx]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea ebx, [0x511ec0]
mov dword [esp], ebx
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a36e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4c5dcb
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
add esp, 0x9c
ret
lea eax, [0x4f92a0]
mov dword [esp], eax
lea eax, [0x526594]
mov dword [esp + 4], eax
call fcn.0043aa20
nop
call fcn.0043a050
add esp, 0x9c
ret
call fcn.00467570
jmp fcn.004c5730