Function at 0x404b8c
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x411e16
call fcn.00402a4a
sub esp, 0x4c
mov eax, ecx
xor ecx, ecx
inc ecx
push ecx
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x1c], eax
call fcn.0041459b
add esp, 0xc
test eax, eax
jne 0x404bb9
push 0xfffffffffffffffb
pop eax
jmp 0x404ea2
push ecx
call fcn.00403b2c
pop ecx
test al, al
je 0x404bb1
push ebx
xor eax, eax
push esi
mov dword [ebp - 0x14], eax
push edi
lea eax, [ebp - 0x14]
push eax
mov dword [0x473808], 0x471238
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, dword [ebp - 0x14]
mov ecx, esi
shl ecx, 2
mov edi, eax
push ecx
mov dword [ebp - 0x18], edi
call fcn.00401877
xor edx, edx
pop ecx
mov ebx, eax
mov dword [ebp - 0x10], edx
test esi, esi
jle 0x404c51
sub ebx, edi
mov esi, dword [edi]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x404c0d
sub esi, ecx
sar esi, 1
inc esi
push esi
call fcn.00401877
pop ecx
xor ecx, ecx
push ecx
push ecx
push esi
push eax
push esi
push dword [edi]
mov dword [ebx + edi], eax
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x10]
inc eax
add edi, 4
push 0
mov dword [ebp - 0x10], eax
pop edx
cmp eax, dword [ebp - 0x14]
jl 0x404c08
mov edi, dword [ebp - 0x18]
push 0xffffffffffffffff
push dword [edi]
lea ecx, [ebp - 0x4c]
call fcn.004052a7
xor ebx, ebx
mov dword [ebp - 4], ebx
push ecx
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00405694
push eax
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004050eb
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.004052f6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.004055a6
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x40]
call fcn.004057e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004057e0
mov byte [ebp - 4], 6
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405177
lea ecx, [ebp - 0x34]
call fcn.004057e0
mov byte [ebp - 4], 8
mov al, bl
mov byte [ebp - 0x10], al
mov dword [ebp - 0x18], eax
jmp 0x404d51
push str.target
lea ecx, [ebp - 0x28]
call fcn.00405600
test eax, eax
jne 0x404d07
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0040ca2b
pop ecx
test al, al
je 0x404d07
push 0xffffffffffffffff
push dword [ebp - 0x28]
lea ecx, [ebp - 0x34]
call fcn.00405317
push 0x426ac0
lea ecx, [ebp - 0x28]
call fcn.00405600
test eax, eax
je 0x404d87
push str.bits
lea ecx, [ebp - 0x28]
call fcn.00405600
push 1
test eax, eax
pop eax
movzx ebx, bl
push str.downExt
lea ecx, [ebp - 0x28]
cmove ebx, eax
call fcn.00405600
mov ecx, dword [ebp - 0x18]
movzx ecx, cl
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x10], cl
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0040ca2b
pop ecx
test al, al
jne 0x404cd8
cmp dword [ebp - 0x2c], 0
push pe_nt_image_headers32
jne 0x404d8e
call fcn.004015b8
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x404dae
lea ecx, [ebp - 0x4c]
jmp 0x404da2
push 0
call fcn.00401547
call fcn.004015b8
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x404dae
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0040953f
mov esi, eax
jmp 0x404db0
xor esi, esi
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2c], 0
jne 0x404e09
cmp dword [esi + 0xc0], 0
je 0x404eb0
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
call fcn.0040437d
mov byte [ebp - 4], 0xb
push 0x13
push str.are_you_sure__
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea edi, [eax - 1]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
call fcn.004055a6
dec edi
je 0x404d87
sub edi, 4
je 0x404eb0
dec edi
je 0x404eb8
call fcn.004090b1
call fcn.004092a8
mov ecx, esi
call fcn.0040a5c7
mov ecx, dword [esi]
test ecx, ecx
je 0x404e27
push ecx
push ecx
call fcn.00407a7d
mov ecx, esi
call fcn.004096c9
push esi
call fcn.004015ee
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call fcn.0041459b
add esp, 0x10
cmp dword [0x473808], ebx
je 0x404e6e
mov ecx, dword [0x42bf28]
push 0x15
xor edx, edx
mov eax, ecx
pop esi
div esi
mov dword [0x473808], ebx
mov dword [edx*4 + 0x42bf28], ecx
inc dword [0x42bf28]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.004055a6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004055a6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.004055a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004055a6
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8
xor eax, eax
inc eax
mov bl, al
mov byte [ebp - 0x10], al
push dword [ebp - 0x10]
mov dl, bl
mov ecx, esi
call fcn.00404a5d
pop ecx
jmp 0x404e27