Function at 0x40fef4
Capabilities:
Accept command line arguments

Disassembly:
push 0x68
mov eax, 0x46fa89
call fcn.0045c852
mov edi, dword [ebp + 8]
mov esi, 0x498be8
push esi
mov ecx, edi
call fcn.00401ed0
and dword [ebp - 4], 0
lea eax, [edi + 4]
push eax
call fcn.00403f8d
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401be2
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
and dword [ebp - 0x20], 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x20], 0
mov ebx, eax
mov dword [ebp - 0x2c], ebx
je 0x410185
test ebx, ebx
je 0x410190
mov byte [ebp - 4], 3
push dword [ebx]
mov ecx, edi
call fcn.0040218d
push esi
lea ecx, [ebp - 0x18]
call fcn.00401ed0
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401ed0
xor eax, eax
inc eax
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x20]
jge 0x410167
lea ebx, [ebx + eax*4]
push dword [ebx]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], ebx
call fcn.00401be2
push 0x47f7b0
xor ecx, ecx
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00403d7b
test eax, eax
je 0x40ffd0
push 0x47f7b4
xor ecx, ecx
call fcn.00403d7b
test eax, eax
jne 0x4100a0
cmp dword [edi - 0xc], 0
je 0x410065
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00401f8d
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x18]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.00401f8d
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call fcn.0040a7fa
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040a84d
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ebx, [ebp - 0x68]
call fcn.0040a56e
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.0040267a
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040267a
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.0040267a
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.0040267a
mov ebx, dword [ebp - 0x34]
push dword [ebx]
lea ecx, [ebp - 0x18]
call fcn.0040218d
mov esi, 0x47e9f0
push esi
push 0x47f7b0
lea eax, [ebp - 0x18]
push eax
call fcn.00401c6d
push esi
push 0x47f7b4
lea eax, [ebp - 0x18]
push eax
call fcn.00401c6d
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040218d
mov edi, dword [ebp - 0x18]
jmp 0x4100aa
push dword [ebx]
lea ecx, [ebp - 0x1c]
call fcn.00404413
mov eax, dword [ebp - 0x20]
dec eax
cmp dword [ebp - 0x24], eax
sete al
test al, al
je 0x41014a
cmp dword [edi - 0xc], 0
je 0x41014a
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.00401f8d
push ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00401f8d
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 6
call fcn.0040a7fa
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0040a84d
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp + 8]
add eax, 4
push eax
lea ebx, [ebp - 0x74]
call fcn.0040a56e
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.0040267a
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.0040267a
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.0040267a
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.0040267a
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040267a
inc dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
jmp 0x40ff8c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040267a
lea ecx, [edi - 0x10]
call fcn.0040267a
jmp 0x410185
test ebx, ebx
je 0x410190
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.0040267a
mov eax, dword [ebp + 8]
call fcn.0045c8f7
ret 4