Function at 0x403860
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x448664]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x24], bl
je 0x403ae8
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x403ae8
mov ecx, esi
lea esi, [ebp - 0x26c]
call fcn.00403740
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
mov edi, 8
cmp dword [ebp + 0x1c], edi
jae 0x4038cd
lea ecx, [ebp + 8]
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], edi
jae 0x4038e1
lea eax, [ebp - 0x26c]
push 1
push ebx
push ecx
push eax
push str.runas
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x403953
mov byte [ebp - 4], bl
cmp dword [ebp - 0x258], edi
jb 0x403911
mov eax, dword [ebp - 0x26c]
push eax
call fcn.0041d491
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], edi
jb 0x403943
mov edx, dword [ebp + 8]
push edx
call fcn.0041d491
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov dword [ebp + 0x1c], esi
mov al, 1
jmp 0x403d2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x368]
push ecx
mov esi, eax
call fcn.00404f30
mov byte [ebp - 4], 6
push esi
push ecx
lea edx, [ebp - 0x368]
push str.ShellExecute_failed:
push edx
call fcn.00408460
add esp, 0xc
push eax
call fcn.004043e0
push 0xc
mov esi, 0xf
push str.execute_file
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
call fcn.00406be0
mov byte [ebp - 4], 7
push esi
push str.DownManager.cpp
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
call fcn.00406be0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x368]
push ecx
call fcn.00405030
mov byte [ebp - 4], 9
push eax
push 0x6b
push ebx
call fcn.00404d10
push eax
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x234]
call fcn.00416210
mov byte [ebp - 4], 8
cmp dword [ebp - 0x274], edi
jb 0x403a28
mov edx, dword [ebp - 0x288]
push edx
call fcn.0041d491
add esp, 4
xor eax, eax
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
mov byte [ebp - 4], 7
mov edi, 0x10
cmp dword [ebp - 0x220], edi
jb 0x403a61
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0041d491
add esp, 4
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0x23c], edi
jb 0x403a8e
mov edx, dword [ebp - 0x250]
push edx
call fcn.0041d491
add esp, 4
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x368]
call fcn.00403150
mov byte [ebp - 4], bl
cmp dword [ebp - 0x258], 8
jb 0x403aca
mov eax, dword [ebp - 0x26c]
push eax
call fcn.0041d491
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], cx
jmp 0x403d02
push 0x3c
lea edx, [ebp - 0x2c8]
push ebx
push edx
mov dword [ebp - 0x2d0], 0x44
mov dword [ebp - 0x2cc], ebx
call fcn.00422080
mov ecx, dword [ebp + 8]
mov edi, 8
add esp, 0xc
cmp dword [ebp + 0x1c], edi
jae 0x403b1a
lea ecx, [ebp + 8]
cmp dword [esi + 0x14], edi
jb 0x403b23
mov eax, dword [esi]
jmp 0x403b25
mov eax, esi
push ecx
push eax
lea eax, [ebp - 0x218]
push str.__s___s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp dword [esi + 0x14], edi
jb 0x403b43
mov esi, dword [esi]
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x2d0]
push edx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403ba7
mov ecx, dword [ebp - 0x260]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x25c]
push edx
call esi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], edi
jb 0x403b9a
mov eax, dword [ebp + 8]
push eax
call fcn.0041d491
add esp, 4
xor ecx, ecx
mov word [ebp + 8], cx
mov al, 1
jmp 0x403d23
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x368]
push edx
mov esi, eax
call fcn.00404f30
mov byte [ebp - 4], 1
push esi
push ecx
lea eax, [ebp - 0x368]
push str.CreateProcess_failed:
push eax
call fcn.00408460
add esp, 0xc
push eax
call fcn.004043e0
push 0xc
mov esi, 0xf
push str.execute_file
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
call fcn.00406be0
mov byte [ebp - 4], 2
push esi
push str.DownManager.cpp
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
call fcn.00406be0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x368]
push edx
call fcn.00405030
mov byte [ebp - 4], 4
push eax
push 0x62
push ebx
call fcn.00404d10
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x250]
call fcn.00416210
mov byte [ebp - 4], 3
cmp dword [ebp - 0x274], edi
jb 0x403c7c
mov eax, dword [ebp - 0x288]
push eax
call fcn.0041d491
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], cx
mov byte [ebp - 4], 2
mov edi, 0x10
cmp dword [ebp - 0x23c], edi
jb 0x403cb5
mov edx, dword [ebp - 0x250]
push edx
call fcn.0041d491
add esp, 4
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x220], edi
jb 0x403ce2
mov eax, dword [ebp - 0x234]
push eax
call fcn.0041d491
add esp, 4
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x368]
call fcn.00403150
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x403d1b
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041d491
add esp, 4
xor edx, edx
mov word [ebp + 8], dx
xor al, al
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041cfa8
mov esp, ebp
pop ebp
ret