Function at 0x4011e2
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
and dword [ebp - 8], 0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsA]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
jmp 0x4013e8
mov eax, dword [0x40b200]
mov ecx, 0x40b200
mov byte [ebp - 1], 0
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
call fcn.00401694
pop ecx
mov dword [ebp - 0x14], eax
xor eax, eax
mov ecx, 0x40b0e0
mov dl, byte [ecx]
cmp dl, byte [ebp - 1]
je 0x40124d
add ecx, 0x10
inc eax
cmp ecx, sym.imp.SETUPAPI.dll_SetupCloseFileQueue
jl 0x401238
jmp 0x40126c
shl eax, 4
lea ebx, [eax + 0x40b0ec]
cmp byte [ebx], 0
jne 0x40126c
lea edi, [eax + 0x40b0e8]
lea eax, [ebp - 0xc]
call fcn.00404196
mov byte [ebx], 1
cmp byte [ebp - 1], 0x6f
jne 0x4013cd
mov esi, dword [ebp - 0xc]
cmp dword [esi - 0xc], 0
jle 0x40128c
mov bl, 0x3d
mov eax, esi
call fcn.00404673
test eax, eax
jne 0x4012e1
or ebx, 0xffffffff
lea eax, [ebp - 0xc]
push str.OPTION_
lea edi, [ebp - 0x10]
call fcn.00403e38
test byte [ebp - 8], 1
pop ecx
je 0x4012b5
mov eax, dword [ebp - 0x24]
and dword [ebp - 8], 0xfffffffe
add eax, 0xfffffff0
call fcn.00404c4b
lea eax, [ebp - 0x10]
call fcn.00403c6d
test ebx, ebx
jl 0x4012fb
mov ecx, dword [esi - 0xc]
or dword [ebp - 8], 2
lea eax, [ebp - 0x1c]
lea edx, [ebx + 1]
push eax
sub ecx, edx
lea eax, [ebp - 0xc]
call fcn.00403c94
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
jmp 0x401317
sub eax, esi
mov ebx, eax
js 0x40128f
or dword [ebp - 8], 1
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
lea eax, [ebp - 0xc]
call fcn.00403cfc
jmp 0x401292
mov eax, dword [0x40b200]
or dword [ebp - 8], 4
mov ecx, 0x40b200
call dword [eax + 0xc]
mov esi, eax
add esi, 0x10
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
lea edi, [ebp - 0xc]
call fcn.00404196
test byte [ebp - 8], 4
je 0x401331
and dword [ebp - 8], 0xfffffffb
lea eax, [esi - 0x10]
call fcn.00404c4b
test byte [ebp - 8], 2
je 0x401346
mov eax, dword [ebp - 0x1c]
and dword [ebp - 8], 0xfffffffd
add eax, 0xfffffff0
call fcn.00404c4b
push 0x409658
push dword [ebp - 0xc]
lea ebx, [ebp - 0x34]
call fcn.00403726
pop ecx
push eax
push 0x3d
lea eax, [ebp - 0x10]
lea edi, [ebp - 0x30]
call fcn.00403e91
pop ecx
lea edi, [ebp - 0x2c]
call fcn.00403d87
pop ecx
lea edi, [ebp - 0x28]
call fcn.00403dde
mov edi, dword [ebp + 8]
pop ecx
lea ecx, [edi + 0x40]
push ecx
call fcn.004041d6
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00404c4b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0x34]
call fcn.00403f48
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404c4b
jmp 0x4013da
cmp byte [ebp - 1], 0x7a
jne 0x4013da
mov eax, dword [ebp + 8]
mov byte [eax + 0x24], 1
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x401207
mov eax, dword [0x40b0f8]
cmp dword [eax - 0xc], 0
jne 0x401435
lea eax, [ebp - 0x34]
push eax
push 4
pop ecx
mov eax, 0x40b0e8
mov byte [0x40b0fc], 0
call fcn.00403cfc
mov edi, 0x40b108
call fcn.00404196
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00404c4b
mov al, byte [0x40b0ec]
mov byte [0x40b10c], al
jmp 0x40144b
mov eax, 0x40b0f8
mov edi, 0x40b108
call fcn.00404196
mov byte [0x40b10c], 1
cmp byte [0x40b11c], 0
je 0x40146e
mov eax, dword [0x40b118]
cmp dword [eax - 0xc], 0
jne 0x40146e
mov eax, 0x40b0e8
mov edi, 0x40b118
call fcn.00404196
mov esi, 0x40b0e4
mov dword [ebp - 0x14], esi
jmp 0x40147b
mov esi, dword [ebp - 0x14]
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
push 0x409658
push eax
lea ebx, [ebp - 0x28]
call fcn.00403726
pop ecx
push eax
push 0x3d
push dword [esi]
lea esi, [ebp - 0x2c]
call fcn.00403a4f
lea edi, [ebp - 0x30]
call fcn.00403e91
pop ecx
lea edi, [ebp - 0x34]
call fcn.00403d87
pop ecx
lea edi, [ebp - 0x18]
call fcn.00403dde
mov eax, dword [ebp - 0x34]
pop ecx
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00404c4b
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
cmp byte [ebx + 8], 0
push dword [edi - 0xc]
mov eax, dword [ebp + 8]
push edi
je 0x40152a
add eax, 0x40
push eax
call fcn.00404796
push dword [ebx]
lea esi, [ebp - 0x1c]
call fcn.00403a4f
push dword [ebp - 0x24]
mov eax, esi
push eax
mov eax, dword [ebp + 8]
add eax, 0x34
call fcn.00403f48
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404c4b
jmp 0x401533
add eax, 0x44
push eax
call fcn.00404796
lea eax, [edi - 0x10]
call fcn.00404c4b
add ebx, 0x10
cmp ebx, sym.imp.SETUPAPI.dll_SetupCloseInfFile
mov dword [ebp - 0x14], ebx
jl 0x401478
push 0x409658
push dword [ebp - 0x20]
lea ebx, [ebp - 0x2c]
call fcn.00403726
lea edi, [ebp - 0x30]
mov dword [esp], str.COMMAND_LINE
call fcn.00403e38
pop ecx
lea edi, [ebp - 0x34]
call fcn.00403dde
mov ebx, dword [ebp + 8]
pop ecx
lea ecx, [ebx + 0x40]
push ecx
mov dword [ebp - 0x28], ecx
call fcn.004041d6
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00404c4b
push dword [ebp - 0x20]
lea esi, [ebp - 0x20]
call fcn.00403a4f
push 0x409638
lea esi, [ebp + 8]
call fcn.00403a4f
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
lea eax, [ebx + 0x34]
push ecx
mov dword [ebp - 0x34], eax
call fcn.00403f48
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404c4b
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
movzx eax, word [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0x3e]
push eax
movzx eax, word [ebp - 0x42]
push eax
movzx eax, word [ebp - 0x44]
push eax
add ebx, 0x28
push str._04d_02d_02d_02d_02d_02d
push ebx
call fcn.00403d74
add esp, 0x20
push 0x409658
push str.INSTALL_TIME
mov eax, ebx
lea edi, [ebp - 0x24]
call fcn.00403e38
pop ecx
lea edi, [ebp + 8]
call fcn.00403dde
pop ecx
push dword [ebp - 0x28]
call fcn.004041d6
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00404c4b
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00404c4b
push 0x4095fc
lea esi, [ebp + 8]
call fcn.00403a4f
push ebx
mov eax, esi
push eax
mov eax, dword [ebp - 0x34]
call fcn.00403f48
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00404c4b
pop edi
pop esi
pop ebx
leave
ret 4