Function at 0x40be90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c400
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5854b4]
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.0040c180
mov eax, dword [ebp - 0x28]
add eax, 4
push eax
lea ecx, [ebp - 0x30]
call fcn.0040b360
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00406cd0
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40c158
lea ecx, [ebp - 0x18]
call fcn.0040b3b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040b3b0
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], 0
jmp 0x40bf20
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x34]
jge 0x40c11b
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx*4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004060d0
mov byte [ebp - 4], 3
push 0x547f34
lea ecx, [ebp - 0x1c]
call fcn.0040bca0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x40c0d1
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0040bdc0
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.0040b750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004067d0
lea ecx, [ebp - 0x18]
call fcn.0040c340
lea ecx, [ebp - 0x18]
call fcn.0040c400
lea ecx, [ebp - 0x1c]
call fcn.00408450
sub eax, dword [ebp - 0x24]
sub eax, 1
push eax
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0040c1a0
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.0040b750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.004067d0
lea ecx, [ebp - 0x14]
call fcn.0040c340
lea ecx, [ebp - 0x14]
call fcn.0040c400
push 0x22
push 1
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040bdc0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
call fcn.0040b7a0
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x54]
call fcn.004067d0
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x40c060
lea ecx, [ebp - 0x14]
call fcn.00408450
sub eax, 1
push eax
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040c1a0
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.0040b750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.004067d0
push 0x22
push 1
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040c1a0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
push eax
call fcn.0040b7a0
add esp, 8
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0x68]
call fcn.004067d0
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x40c0cf
lea ecx, [ebp - 0x14]
call fcn.00408450
sub eax, 1
push eax
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040bdc0
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.0040b750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.004067d0
jmp 0x40c0fa
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b750
lea ecx, [ebp - 0x18]
call fcn.0040c340
lea ecx, [ebp - 0x18]
call fcn.0040c400
push 0x547f38
lea ecx, [ebp - 0x14]
call fcn.00406bf0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0040c230
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004067d0
jmp 0x40bf17
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.004067d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004067d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004067d0
mov eax, dword [ebp - 0x78]
jmp 0x40c171
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004067d0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret