Function at 0x40cbc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455316
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x474298]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], eax
cmp dword [eax + 0x10], 0
je 0x40d041
xor ecx, ecx
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x34], ecx
xor esi, esi
mov dword [ebp - 0x40], ecx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x30], ecx
mov ecx, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], 1
jb 0x40cc34
mov ecx, dword [eax]
lea eax, [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x40cd6c
xor edi, edi
cmp dword [ebp - 0x30], ebx
jle 0x40cd62
xor ebx, ebx
jmp 0x40cc60
mov edx, dword [eax + edi*4]
test edx, edx
je 0x40cd55
mov ecx, edx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cc90
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403170
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x40ccfc
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
add esi, 0x18
mov word [ebp - 0x28], ax
mov dword [ebp - 0x44], esi
jmp 0x40cd17
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00405270
mov eax, dword [ebp - 0x40]
mov ebx, eax
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40cd52
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cd48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d066
push edx
push ecx
call fcn.0042679c
add esp, 8
mov eax, dword [ebp - 0x38]
inc edi
cmp edi, dword [ebp - 0x30]
jl 0x40cc60
mov ebx, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
cmp edi, eax
je 0x40cd8c
mov ecx, edi
call fcn.0040d130
mov eax, dword [ebp - 0x34]
mov dword [edi], ebx
xor ebx, ebx
mov dword [edi + 4], esi
xor esi, esi
mov dword [edi + 8], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x40cde9
lea eax, [ebp - 0x48]
push eax
push esi
push ebx
call fcn.00405200
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x40cddf
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d066
push ecx
push ebx
call fcn.0042679c
add esp, 8
mov eax, dword [edi + 4]
mov ecx, eax
mov esi, dword [edi]
sub ecx, esi
mov dword [ebp - 0x38], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x30], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jb 0x40d041
mov eax, dword [ebp - 0x38]
xor ebx, ebx
mov dword [edi + 0x24], 0
mov edx, eax
mov edi, esi
xor esi, esi
cmp dword [ebp + 0xc], ebx
je 0x40ce7c
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, edi
push eax
call fcn.0040c760
test eax, eax
jne 0x40ce79
mov eax, dword [ebp - 0x2c]
mov ebx, 1
mov edx, dword [ebp - 0x38]
mov esi, ebx
lea ecx, [eax + 0xc]
mov dword [eax + 0x24], 1
mov eax, edi
cmp ecx, eax
je 0x40ce7c
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x40ce63
mov eax, dword [eax]
push edx
push eax
call fcn.00403170
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ecx + 0x24]
mov esi, ebx
mov edx, dword [ecx + 4]
mov edi, dword [ecx]
jmp 0x40ce7c
mov edx, dword [ebp - 0x3c]
sub edx, edi
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x40cee6
lea eax, [ebx + ebx*2]
cmp dword [edi + eax*8 + 0x10], 2
lea eax, [edi + eax*8]
jb 0x40cee6
mov edx, dword [eax + 0x14]
mov ecx, eax
cmp edx, 8
jb 0x40ceac
mov ecx, dword [eax]
cmp word [ecx], 0x2f
je 0x40cec1
mov ecx, eax
cmp edx, 8
jb 0x40cebb
mov ecx, dword [eax]
cmp word [ecx], 0x2d
jne 0x40cee6
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.0040c7a0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x2aaaaaab
mov esi, dword [ecx + 0x24]
inc esi
mov dword [ecx + 0x24], esi
mov ebx, esi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
imul ecx
jmp 0x40ce85
test esi, esi
jne 0x40cf17
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
add ecx, 0x30
cmp ecx, eax
je 0x40d03a
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x40cf06
mov eax, dword [eax]
push edx
push eax
call fcn.00403170
mov eax, 1
jmp 0x40d043
lea eax, [esi + esi*2]
lea ebx, [edi + eax*8]
cmp dword [ebx - 4], 8
lea eax, [ebx - 0x18]
mov edx, dword [eax + 0x10]
jb 0x40cf2b
mov eax, dword [eax]
mov esi, dword [ebp - 0x4c]
mov ecx, esi
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
jb 0x40cf3b
mov ecx, dword [esi]
push edx
push eax
push 0
push edi
push ecx
call fcn.00401560
inc eax
add esp, 0x14
add eax, dword [ebx - 8]
cmp eax, edi
ja 0x40d03a
sub edi, eax
mov dword [ebp - 0x28], 0
or ebx, 0xffffffff
mov dword [ebp - 0x14], 7
cmp edi, 0xffffffff
cmovb ebx, edi
cmp dword [esi + 0x14], 8
jb 0x40cf76
mov esi, dword [esi]
lea eax, [esi + eax*2]
mov dword [ebp - 0x3c], eax
cmp ebx, 7
ja 0x40cf9e
lea esi, [ebx + ebx]
mov dword [ebp - 0x18], ebx
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428150
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
jmp 0x40cff5
cmp ebx, 0x7ffffffe
ja 0x40d061
mov esi, ebx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x40cfbe
mov esi, 0x7ffffffe
jmp 0x40cfc8
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402cf0
mov dword [ebp - 0x14], esi
mov edi, eax
lea esi, [ebx + ebx]
mov dword [ebp - 0x18], ebx
push esi
push dword [ebp - 0x3c]
push edi
call fcn.00428150
add esp, 0xc
mov dword [ebp - 0x28], edi
xor eax, eax
mov word [edi + esi], ax
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 0x30]
call fcn.004022e0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d03a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d030
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d066
push edx
push ecx
call fcn.0042679c
add esp, 8
mov eax, 1
jmp 0x40d043
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426a09
mov esp, ebp
pop ebp
ret 8
call fcn.00402c60
call fcn.0042b0ff
int3