Function at 0x4cc6f0
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
cmp dword [esp + 0x78], 0
jne 0x4cc701
call fcn.0060d0a0
nop
int3
push ebx
push esi
lea eax, [esp + 0x70]
mov dword [esp + 0x58], 0
push edi
push eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.004ccd60
mov edx, dword [esp + 0x60]
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, edx
jb 0x4cc768
mov ecx, dword [esp + 0x64]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*4]
cmp esi, ecx
jae 0x4cc768
lea eax, [esp + 0x14]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
call fcn.00609220
add esp, 4
nop
int3
mov edi, dword [esp + 0x60]
lea eax, [edi + 1]
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x64]
jle 0x4cc787
push edi
lea ecx, [esp + 0x60]
call fcn.00412ba0
mov edx, dword [esp + 0x5c]
lea eax, [edi + edi*2]
lea edi, [edx + eax*4]
mov dword [edi], 0
mov ebx, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x28], ebx
mov dword [edi + 4], ebx
test ebx, ebx
jne 0x4cc7a8
mov dword [edi + 8], ebx
jmp 0x4cc7c1
push 0
push ebx
mov ecx, edi
call fcn.0040cd80
lea eax, [ebx + ebx]
push eax
push esi
push dword [edi]
call fcn.005f7171
add esp, 0xc
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4cc7d2
push eax
call fcn.0043f8f0
add esp, 4
mov esi, dword [0x745a14]
test esi, esi
jle 0x4cc8c2
lea edx, [esi - 1]
xor eax, eax
mov ecx, edx
mov dword [esp + 0x18], edx
not ecx
shr ecx, 0x1f
cmp edx, esi
cmovl eax, ecx
test eax, eax
jne 0x4cc81e
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0x745a10
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov eax, dword [0x745a10]
lea ecx, [esi - 1]
lea ecx, [ecx + ecx*2]
lea edi, [eax + ecx*4]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x1c], edi
cmp edi, ecx
jb 0x4cc869
mov eax, dword [esp + 0x64]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
cmp edi, eax
jae 0x4cc869
lea eax, [esp + 0x1c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
call fcn.00609220
add esp, 4
nop
int3
mov esi, dword [esp + 0x60]
lea eax, [esi + 1]
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x64]
jle 0x4cc888
push esi
lea ecx, [esp + 0x60]
call fcn.00412ba0
mov ecx, dword [esp + 0x5c]
lea eax, [esi + esi*2]
lea esi, [ecx + eax*4]
mov dword [esi], 0
mov ebx, dword [edi + 4]
mov edi, dword [edi]
mov dword [esp + 0x2c], ebx
mov dword [esi + 4], ebx
test ebx, ebx
jne 0x4cc8a9
mov dword [esi + 8], ebx
jmp 0x4cc8c2
push 0
push ebx
mov ecx, esi
call fcn.0040cd80
lea eax, [ebx + ebx]
push eax
push edi
push dword [esi]
call fcn.005f7171
add esp, 0xc
mov edx, dword [0x745a20]
xor esi, esi
push ebp
test edx, edx
jle 0x4cc9d1
xor ebx, ebx
mov dword [esp + 0x10], ebx
nop dword [eax]
mov ecx, esi
mov dword [esp + 0x24], esi
not ecx
xor eax, eax
shr ecx, 0x1f
cmp esi, edx
cmovl eax, ecx
test eax, eax
jne 0x4cc915
lea eax, [esp + 0x24]
mov dword [esp + 0x54], 0x745a1c
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov edi, dword [0x745a1c]
mov ecx, dword [esp + 0x60]
add edi, ebx
mov dword [esp + 0x28], edi
cmp edi, ecx
jb 0x4cc95a
mov eax, dword [esp + 0x68]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
cmp edi, eax
jae 0x4cc95a
lea eax, [esp + 0x28]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
call fcn.00609220
add esp, 4
nop
int3
mov ebx, dword [esp + 0x64]
lea eax, [ebx + 1]
mov dword [esp + 0x64], eax
cmp eax, dword [esp + 0x68]
jle 0x4cc979
push ebx
lea ecx, [esp + 0x64]
call fcn.00412ba0
mov ecx, dword [esp + 0x60]
lea eax, [ebx + ebx*2]
lea ebx, [ecx + eax*4]
mov dword [ebx], 0
mov ebp, dword [edi + 4]
mov edi, dword [edi]
mov dword [esp + 0x34], ebp
mov dword [ebx + 4], ebp
test ebp, ebp
jne 0x4cc99a
mov dword [ebx + 8], ebp
jmp 0x4cc9b7
push 0
push ebp
mov ecx, ebx
call fcn.0040cd80
lea eax, [ebp*2]
push eax
push edi
push dword [ebx]
call fcn.005f7171
add esp, 0xc
mov ebx, dword [esp + 0x10]
inc esi
mov edx, dword [0x745a20]
add ebx, 0xc
mov dword [esp + 0x10], ebx
cmp esi, edx
jl 0x4cc8e0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
push str.dllerrors
call edi
push eax
call fcn.004a9300
add esp, 8
test al, al
jne 0x4cca0c
push str.unattended
mov esi, 0x8000
call edi
push eax
call fcn.004a9300
add esp, 8
mov ecx, 0x8003
test al, al
cmovne esi, ecx
mov ebp, dword [sym.imp.KERNEL32.dll_SetThreadErrorMode]
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0
call ebp
mov ebx, dword [esp + 0x88]
xor edx, edx
xor edi, edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], edx
mov esi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x74], edi
test ebx, ebx
je 0x4ccaa3
cmp word [ebx], dx
je 0x4ccaa3
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cca51
sub ecx, esi
sar ecx, 1
lea esi, [ecx + 1]
test esi, esi
jle 0x4cca79
push esi
lea ecx, [esp + 0x70]
call fcn.0040ce40
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
lea eax, [edx + esi]
mov dword [esp + 0x70], eax
cmp eax, edi
jle 0x4cca8e
push edx
lea ecx, [esp + 0x70]
call fcn.0040cde0
lea eax, [esi + esi]
push eax
push ebx
push dword [esp + 0x74]
call fcn.004263f0
mov esi, dword [esp + 0x34]
add esp, 0xc
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004d09d0
mov ecx, dword [esp + 0x74]
add esp, 8
mov ebx, eax
test ecx, ecx
je 0x4ccac8
push ecx
call fcn.0043f8f0
add esp, 4
test esi, esi
je 0x4ccad4
push 0
push dword [esp + 0x18]
call ebp
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
pop ebp
test edi, edi
je 0x4ccafc
mov eax, dword [esi]
test eax, eax
je 0x4ccaf0
push eax
call fcn.0043f8f0
add esp, 4
add esi, 0xc
sub edi, 1
jne 0x4ccae1
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x4ccb09
push esi
call fcn.0043f8f0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x74
ret