Function at 0x413490
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x462078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, byte [ebp + 8]
lea eax, [ebp - 0x70]
push eax
call fcn.00413180
mov edx, str.downloader.
mov dword [ebp - 4], 0
test bl, bl
mov ecx, str._stat.
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00403f30
add esp, 0x10
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x413503
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00401d50
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00424640
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00404ed0
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x413554
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00401d50
push 4
push str..log
lea ecx, [ebp - 0x40]
call fcn.00404fe0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x44e0b8
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0042d622
push str._n
push eax
mov dword [0x4636d8], eax
call fcn.0041f170
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add esp, 0x10
call esi
test eax, eax
je 0x41359c
call esi
jmp 0x4135a1
mov eax, 0x44d3bc
push eax
push str.cmd:__s_n
push dword [0x4636d8]
call fcn.0041f170
sub esp, 0xc
push esp
call fcn.00423f20
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004241b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x28]
push eax
push str.ver:__s_n
push dword [0x4636d8]
call fcn.0041f170
lea eax, [ebp - 0x58]
push eax
call fcn.004136f0
add esp, 0x2c
cmp dword [eax + 0x14], 8
jb 0x4135fb
mov eax, dword [eax]
push eax
push str.os:__s_n
push dword [0x4636d8]
call fcn.0041f170
mov eax, dword [ebp - 0x44]
add esp, 0xc
cmp eax, 8
jb 0x413624
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00401d50
lea eax, [ebp - 0x74]
xor esi, esi
push eax
push 8
mov dword [ebp - 0x74], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x413662
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 4
push eax
push 4
lea eax, [ebp - 0x78]
push eax
push 0x14
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x413670
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x44e19c
test esi, esi
mov eax, 0x44e194
cmove eax, ecx
push eax
push str.elevated:__s_n
push dword [0x4636d8]
call fcn.0041f170
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x4136a8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401d50
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x4136d1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00401d50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426898
mov esp, ebp
pop ebp
ret