Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push 0x64
mov eax, 0x41d390
call fcn.0041bcbb
mov edi, edx
mov esi, ecx
push 0x42032c
xor ebx, ebx
push edi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x64], edi
mov byte [esi + 0x84], bl
call fcn.004108ad
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esi + 0x85], al
lea eax, [ebp - 0x54]
push eax
push edi
mov dword [ebp - 0x54], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x50], ecx
cmp ecx, ebx
jne 0x401055
xor al, al
jmp 0x40129a
mov eax, dword [ebp - 0x54]
cmp eax, 4
je 0x401070
cmp eax, 5
je 0x401070
cmp eax, 6
je 0x401070
cmp eax, 7
jne 0x4011f6
mov ecx, dword [ecx]
mov eax, 0xfde9
push eax
lea edx, [ebp - 0x48]
call fcn.004026c4
pop ecx
mov ecx, eax
mov dword [ebp - 4], ebx
lea eax, [esi + 0x14]
mov ebx, ecx
call fcn.00401d45
or dword [ebp - 4], 0xffffffff
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.00401d93
mov eax, 0xfde9
push eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x48]
call fcn.004026c4
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], ebx
add eax, 0x30
mov ebx, ecx
call fcn.00401d45
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp - 0x48]
call fcn.00401d93
mov eax, 0xfde9
push eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 8]
lea edx, [ebp - 0x48]
call fcn.004026c4
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x4c]
add eax, 0x4c
mov dword [ebp - 4], 2
call fcn.00401d45
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp - 0x48]
call fcn.00401d93
and dword [ebp - 0x5c], edi
call fcn.00406c5a
mov dword [eax], eax
mov dword [ebp - 0x60], eax
mov dword [eax + 4], eax
mov esi, dword [ebp - 0x50]
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x60]
call fcn.00406788
mov eax, dword [ebp - 0x60]
mov ebx, dword [eax]
cmp ebx, eax
je 0x401207
push 0x420334
lea esi, [ebp - 0x48]
call fcn.00401798
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00406360
pop ecx
pop ecx
push 1
xor edi, edi
mov byte [ebp - 4], 6
call fcn.00401953
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40117b
lea eax, [ebp - 0x2c]
call fcn.0040131d
test al, al
je 0x4011d0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x401190
lea eax, [ebp - 0x2c]
push eax
call fcn.00410923
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
pop ecx
lea eax, [ebp - 0x68]
add esi, 4
push eax
call fcn.004015d8
push eax
push esi
lea esi, [ebp - 0x70]
call fcn.00401371
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00401953
mov ebx, dword [ebx]
cmp ebx, dword [ebp - 0x60]
jne 0x401140
jmp 0x4011e0
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00401953
cmp ebx, dword [ebp - 0x60]
je 0x401204
lea ebx, [ebp - 0x60]
call fcn.004012d3
push dword [ebp - 0x60]
call fcn.00410320
pop ecx
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40104e
mov esi, dword [ebp - 0x50]
cmp dword [ebp - 0x54], 5
je 0x401219
cmp dword [ebp - 0x54], 6
je 0x401219
cmp dword [ebp - 0x54], 7
jne 0x40126a
push dword [esi + 0x10]
call fcn.00410923
mov edi, dword [ebp - 0x4c]
test eax, eax
setne al
cmp dword [ebp - 0x54], 7
pop ecx
mov byte [edi + 0x84], al
jne 0x40126d
mov ecx, dword [esi + 0x18]
mov eax, 0xfde9
push eax
lea edx, [ebp - 0x2c]
call fcn.004026c4
pop ecx
mov ebx, eax
lea eax, [edi + 0x68]
mov byte [ebp - 4], 7
call fcn.00401d45
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00401d93
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
jmp 0x40127b
mov edi, dword [ebp - 0x4c]
push str.6925
lea eax, [edi + 0x68]
push eax
call fcn.004012a0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x64]
lea ebx, [ebp - 0x60]
mov dword [edi], eax
call fcn.004012d3
push dword [ebp - 0x60]
call fcn.00410320
pop ecx
mov al, 1
call fcn.0041bd05
ret