Function at 0x405cc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f67a9
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5381f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
call fcn.00406050
mov eax, dword [ebp - 0x28]
add eax, 4
push eax
lea ecx, [ebp - 0x30]
call fcn.00403700
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00403a90
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x405f88
lea ecx, [ebp - 0x18]
call fcn.004037a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004037a0
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], 0
jmp 0x405d50
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x34]
jge 0x405f4b
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx*4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403720
mov byte [ebp - 4], 3
push 0x506788
lea ecx, [ebp - 0x1c]
call fcn.0040af80
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x405f01
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0040b070
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00403a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00403900
lea ecx, [ebp - 0x18]
call fcn.0040b250
lea ecx, [ebp - 0x18]
call fcn.0040b310
lea ecx, [ebp - 0x1c]
call fcn.00404940
sub eax, dword [ebp - 0x24]
sub eax, 1
push eax
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0040b140
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00403900
lea ecx, [ebp - 0x14]
call fcn.0040b250
lea ecx, [ebp - 0x14]
call fcn.0040b310
push 0x22
push 1
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040b070
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
call fcn.0040a440
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x54]
call fcn.00403900
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x405e90
lea ecx, [ebp - 0x14]
call fcn.00404940
sub eax, 1
push eax
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040b140
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00403900
push 0x22
push 1
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040b140
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
push eax
call fcn.0040a440
add esp, 8
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0x68]
call fcn.00403900
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x405eff
lea ecx, [ebp - 0x14]
call fcn.00404940
sub eax, 1
push eax
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040b070
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403a50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00403900
jmp 0x405f2a
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00403a50
lea ecx, [ebp - 0x18]
call fcn.0040b250
lea ecx, [ebp - 0x18]
call fcn.0040b310
push 0x50678c
lea ecx, [ebp - 0x14]
call fcn.00403a70
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00406070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00403900
jmp 0x405d47
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x78], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00403900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00403900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403900
mov eax, dword [ebp - 0x78]
jmp 0x405fa1
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403900
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret