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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x4cc5f0
sub esp, 0x84
mov eax, 0
mov dword [esp + 0x80], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.004ccac0
movzx eax, byte [esp + 4]
test al, al
jne 0x4cc5b7
mov eax, dword [esp + 0x88]
test byte [eax], al
lea ecx, [eax + 0x10]
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
call fcn.00464430
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x8c]
test ecx, ecx
jg 0x4cc57f
mov ecx, dword [eax + 0xc]
add ecx, 2
mov dword [eax + 0xc], ecx
mov edx, ecx
and ecx, 1
cmp ecx, edx
je 0x4cc53d
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004647d0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x28], ecx
lea edx, [0x507de0]
mov dword [esp], edx
call fcn.0040b030
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
lea edx, [0x4f41e0]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00404220
mov eax, dword [0x609a90]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4cc19b
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x2c], ecx
jmp 0x4cc1a9
mov edx, dword [esp + 0x3c]
lea edi, [edx + 0x2c]
mov eax, ecx
call fcn.0045dbb0
lea eax, [0x4f41e0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00404220
mov eax, dword [0x609a90]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4cc1d6
mov edx, dword [esp + 0x3c]
mov dword [edx + 0x74], ecx
jmp 0x4cc1e4
mov edx, dword [esp + 0x3c]
lea edi, [edx + 0x74]
mov eax, ecx
call fcn.0045dbb0
mov ecx, dword [esp + 0x28]
mov dword [edx + 0x28], ecx
mov ecx, dword [0x609a90]
test ecx, ecx
jne 0x4cc201
mov eax, dword [esp + 0x88]
mov dword [edx + 4], eax
jmp 0x4cc210
lea edi, [edx + 4]
mov eax, dword [esp + 0x88]
call fcn.0045dbb0
lea eax, [0x4f41e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404220
mov eax, dword [0x609a90]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4cc23d
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x30], ecx
jmp 0x4cc24b
mov edx, dword [esp + 0x3c]
lea edi, [edx + 0x30]
mov eax, ecx
call fcn.0045dbb0
lea eax, [0x4f41e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404220
mov eax, dword [0x609a90]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4cc278
mov edx, dword [esp + 0x3c]
mov dword [edx + 0x40], ecx
jmp 0x4cc286
mov edx, dword [esp + 0x3c]
lea edi, [edx + 0x40]
mov eax, ecx
call fcn.0045dbb0
mov dword [edx + 0x70], 0x40000
mov ecx, dword [esp + 0x88]
mov ebx, dword [ecx + 8]
mov ebx, dword [ebx]
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045dd8b
mov byte [esp + 0x54], bl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
lea edi, [esp + 4]
lea esi, [esp + 0x54]
call fcn.0045e26e
call fcn.004cdea0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test ecx, ecx
jne 0x4cc51d
mov eax, dword [esp + 0x88]
lea ecx, [eax + 0x24]
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
call fcn.00464430
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x4cc600]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x80], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x50]
mov ebx, dword [eax + 0x2c]
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0045dd8a
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], ebx
lea eax, [esp + 0x68]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov byte [esp + 0x14], 0
call fcn.00443d70
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x4cc4a4
je 0x4cc468
cmp eax, 1
je 0x4cc408
cmp eax, 2
jne 0x4cc5e3
mov eax, dword [esp + 0x88]
add eax, 0x3c
mov dword [esp], eax
call fcn.00461cf0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
lea ecx, [0x4f9c60]
mov dword [esp], ecx
call fcn.00408c80
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x94], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov eax, dword [esp + 0x88]
add eax, 0x44
mov dword [esp], eax
call fcn.00461cf0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
lea ecx, [0x4f9c60]
mov dword [esp], ecx
call fcn.00408c80
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x94], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov eax, dword [0x5e3870]
mov ecx, dword [0x5e3874]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x20]
lea ecx, [0x4f7d20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.0040dd90
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x609a90]
test eax, eax
jne 0x4cc4e0
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
jmp 0x4cc4e9
mov eax, dword [esp + 0x3c]
call fcn.0045dbb0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
add esp, 0x84
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebx
add esp, 0x84
ret
mov dword [eax + 0x8c], 1
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004647d0
mov dword [esp + 0x8c], 0
mov eax, dword [0x5e37f0]
mov ecx, dword [0x5e37f4]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004647d0
mov dword [esp + 0x8c], 0
mov eax, dword [0x5e37f0]
mov ecx, dword [0x5e37f4]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x84
ret
mov dword [esp + 0x8c], 0
mov eax, dword [0x5e3870]
mov ecx, dword [0x5e3874]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x84
ret
nop
call fcn.00432850
add esp, 0x84
ret
call fcn.0045c7a0
jmp fcn.004cc080