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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4cc8ab
sub esp, 0x98
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea eax, [0x4cc8c0]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x94], eax
test byte [eax], al
mov dword [esp], eax
lea ecx, [esp + 0x90]
mov dword [esp + 4], ecx
call fcn.0048c5a0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x64], esi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
test edx, edx
je 0x4cc4dd
test ebx, ebx
je 0x4cc4bb
lea ecx, [0x550368]
cmp eax, ecx
jne 0x4cc4b7
mov dword [esp + 0x84], ebp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x50], ebx
lea eax, [0x50bc80]
mov dword [esp], eax
call fcn.0040b1b0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0x6265b0]
test eax, eax
jne 0x4cc471
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
jmp 0x4cc47a
mov eax, dword [esp + 0x7c]
call fcn.00461090
mov ecx, dword [esp + 0x8c]
mov dword [edi + 8], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cc49a
mov eax, dword [esp + 0x84]
mov dword [edi + 0xc], eax
jmp 0x4cc4af
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x84]
mov edx, edi
mov edi, ecx
call fcn.00461090
mov edi, edx
lea edx, [0x5501ec]
jmp 0x4cc4bd
mov edi, ebp
jmp 0x4cc4bd
mov edi, ebp
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edi
add esp, 0x98
ret
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x9c]
mov edx, dword [eax + 0x134]
mov dword [esp + 0x4c], edx
mov ebx, dword [eax + 0x138]
mov dword [esp + 0x30], ebx
mov ebp, dword [eax + 0x140]
mov dword [esp + 0x68], ebp
mov esi, dword [eax + 0x144]
mov dword [esp + 0x44], esi
cmp ebx, 2
je 0x4cc525
cmp ebx, 3
setne al
mov byte [esp + 0x2f], al
jmp 0x4cc52f
mov dword [esp + 0x54], eax
xor eax, eax
mov byte [esp + 0x2f], al
lea eax, [0x515360]
mov dword [esp], eax
call fcn.0040b1b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x30]
cmp ecx, 1
sete dl
mov byte [eax + 0x12d], dl
movzx edx, byte [esp + 0x2f]
mov byte [eax + 0x12e], dl
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x134], edx
mov dword [eax + 0x138], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x144], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cc593
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x140], ecx
jmp 0x4cc5a6
lea edi, [eax + 0x140]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.00461090
mov eax, ecx
mov dword [esp + 0x78], eax
mov dword [esp], eax
call fcn.004cb7c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4cc858
mov dword [esp + 0x70], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
jbe 0x4cc8a3
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.00470660
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0046cda0
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call fcn.0046cda0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x134]
cmp ebx, 1
jne 0x4cc6ac
mov ebx, dword [edx + 0x138]
cmp ebx, 1
jne 0x4cc692
lea ebx, [0x52aecc]
jmp 0x4cc6e9
cmp ebx, 2
jne 0x4cc69f
lea ebx, [0x52aec4]
jmp 0x4cc6e9
cmp ebx, 5
jne 0x4cc6e3
lea ebx, [0x52aec8]
jmp 0x4cc6e9
cmp ebx, 2
je 0x4cc6b6
cmp ebx, 0x17
jne 0x4cc6e3
mov ebx, dword [edx + 0x138]
cmp ebx, 1
jne 0x4cc6c9
lea ebx, [0x52aebc]
jmp 0x4cc6e9
cmp ebx, 2
jne 0x4cc6d6
lea ebx, [0x52aec0]
jmp 0x4cc6e9
cmp ebx, 3
jne 0x4cc6e3
lea ebx, [0x52aeb8]
jmp 0x4cc6e9
lea ebx, [0x52ae70]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, ebx
call eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x8c], ebp
cmp ecx, 1
jne 0x4cc750
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4cc736
lea ecx, [0x52aecc]
jmp 0x4cc78d
cmp ecx, 2
jne 0x4cc743
lea ecx, [0x52aec4]
jmp 0x4cc78d
cmp ecx, 5
jne 0x4cc787
lea ecx, [0x52aec8]
jmp 0x4cc78d
cmp ecx, 2
je 0x4cc75a
cmp ecx, 0x17
jne 0x4cc787
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4cc76d
lea ecx, [0x52aebc]
jmp 0x4cc78d
cmp ecx, 2
jne 0x4cc77a
lea ecx, [0x52aec0]
jmp 0x4cc78d
cmp ecx, 3
jne 0x4cc787
lea ecx, [0x52aeb8]
jmp 0x4cc78d
lea ecx, [0x52ae74]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x78]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x6265b0]
test ebx, ebx
jne 0x4cc7d4
mov edx, dword [esp + 0x74]
mov dword [ebp + 0x14c], edx
jmp 0x4cc7e7
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x74]
call fcn.00461090
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x4cc7ff
mov dword [ebp + 0x154], eax
jmp 0x4cc80a
lea edi, [ebp + 0x154]
call fcn.00461090
lea eax, [0x51b1c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x503e40]
mov dword [esp + 8], eax
lea eax, [0x52ae6c]
mov dword [esp + 0xc], eax
call fcn.00414860
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x98
ret
mov dword [esp + 0x80], edx
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.004cb530
mov dword [esp + 0xa0], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa8], eax
add esp, 0x98
ret
xor eax, eax
call fcn.00461110
nop
call fcn.0045fcc0
jmp fcn.004cc380