Function at 0x4c39f0
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 0x4c40e2
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.004c3960
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4c4092
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 0x4c3ad2
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4c3b69
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.0046903e
call fcn.0047f6b0
movzx eax, byte [esp + 0x14]
test al, al
je 0x4c3af7
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4c3b69
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.0049fe90
lea edi, [esp + 0x64]
lea esi, [0x5eb6b0]
call fcn.0046903e
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00468b59
lea eax, [0x4c4210]
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.004c3820
movzx eax, byte [esp + 8]
test al, al
je 0x4c3ff0
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4c3c2f
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4c40bd
mov eax, dword [esp + 0xb4]
lea ecx, [0x51f988]
cmp eax, ecx
jne 0x4c3bdb
lea eax, [0x4fd440]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x51f988]
jmp 0x4c3c01
lea ecx, [0x51f99c]
cmp eax, ecx
jne 0x4c40bd
lea eax, [0x4fe700]
mov dword [esp], eax
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x51f99c]
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.00474220
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x4c3f83
lea eax, [0x4f05a0]
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, [0x4c41d0]
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, [0x4fada0]
mov dword [esp], edx
call fcn.0040d2f0
mov eax, dword [esp + 4]
lea ecx, [0x4c40f0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x611520]
test ecx, ecx
jne 0x4c3cd1
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 0x4c3cff
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.004a1ee0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4c3ebd
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 0x4c3e24
mov eax, dword [esp + 0x30]
lea ecx, [0x51fa3c]
cmp eax, ecx
jne 0x4c3db5
lea ecx, [0x50babc]
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.004a2700
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x4c3dbd
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 0x4c3e06
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 0x4c3e1d
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.004cd7b0
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 0x4c3e9f
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 0x4c3eb6
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.00476590
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x50bf4c]
mov dword [esp], edx
mov dword [esp + 4], 0xa
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a2700
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 0x4c3f65
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 0x4c3f7c
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, [0x50add6]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a2700
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 0x4c3fe9
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 [0x5e69fc]
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, [0x50b4a9]
mov dword [esp], ebx
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a2700
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 0x4c408b
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, [0x4f3900]
mov dword [esp], eax
lea eax, [0x51f510]
mov dword [esp + 4], eax
call fcn.0043aa20
nop
call fcn.0043a050
add esp, 0x9c
ret
call fcn.00467570
jmp fcn.004c39f0