Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x303c
call fcn.0040a6f0
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edx, dword [ebp + 0x10]
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], str.runas
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 1
call fcn.0040a3e0
cmp eax, esi
jl 0x4013b9
cmp eax, 0xfffffffb
jge 0x4013b9
mov dword [ebp + 0xc], esi
xor ebx, ebx
cmp ebx, 0x3ff
jg 0x4011b4
lea eax, [ebp + 8]
mov dword [ebp + 8], eax
cmp esi, 0x3ff
jg 0x4010b4
lea eax, [esi*4]
inc esi
mov dword [ebp + eax - 0x304c], eax
jmp 0x40109b
call fcn.00406040
lea ecx, [ebp + 8]
push ecx
push 0x4150a4
call fcn.00405ce0
add esp, 8
call fcn.00405d30
mov edx, dword [ebp + 8]
push 0x400
lea eax, [ebp - 0x304c]
push edx
push eax
call fcn.00406350
add esp, 0xc
mov edi, eax
push 0x419e40
push 0x419e40
call fcn.0040a360
add esp, 8
test edi, edi
je 0x401103
mov ecx, dword [edi]
jmp 0x40111d
mov edx, dword [ebp + 8]
push 0x3ff
lea eax, [ebp - 0x304c]
push edx
push eax
call fcn.00406350
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp + 8]
mov dword [ebp + esi*4 - 0x304c], ecx
push edx
push 0x4150a4
call fcn.00405ce0
add esp, 8
push 0x419e40
push 0x419e40
call fcn.0040a360
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea eax, [ebp + 8]
push eax
push 0x4150a4
call fcn.00405ce0
mov eax, dword [ebp + 8]
add esp, 8
lea ecx, [ebp - 0x304c]
push eax
push eax
push ecx
call fcn.00406350
mov edx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x304c]
push 0x3ff
push edx
push eax
call fcn.00406350
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x3ff
push ecx
push eax
call fcn.00406350
mov eax, dword [eax]
xor ecx, ecx
add esp, 0xc
inc ebx
mov edx, dword [ecx]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp + ebx*4 - 0x1050], eax
jmp 0x401089
call fcn.00405d30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call fcn.00405d90
push 0x3fa
lea ecx, [ebp - 0x104c]
push 0x53
push ecx
mov esi, eax
call fcn.00406350
mov edx, dword [eax]
mov ecx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [edx + esi*2]
lea edx, [ebp - 0x104c]
push 0x400
push ecx
push edx
mov dword [ebp + ebx*4 - 0x1048], eax
call fcn.00406350
add esp, 0xc
mov ebx, eax
lea eax, [ebp + 0xc]
push eax
push 0x4150a4
call fcn.00405ce0
add esp, 8
mov esi, 1
cmp esi, 0x3fe
jg 0x40124f
call fcn.00405d90
push 0x19b
lea ecx, [ebp - 0x104c]
push 0x363
push ecx
mov edi, eax
call fcn.00406350
mov edx, dword [eax]
add esp, 0xc
inc esi
lea eax, [edx + edi*2]
mov dword [ebp + esi*4 - 0x1040], eax
jmp 0x401218
xor edi, edi
cmp ebx, edi
je 0x40125c
mov ecx, dword [ebx]
add ecx, 3
jmp 0x401276
mov edx, dword [ebp + 0xc]
push 0x3ff
lea eax, [ebp - 0x104c]
push edx
push eax
call fcn.00406350
mov ecx, dword [eax]
add esp, 0xc
mov edx, dword [ebp + 0xc]
push 0x3ff
lea eax, [ebp - 0x104c]
push edx
push eax
mov dword [ebp + esi*4 - 0x104c], ecx
call fcn.00406350
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push 0x3c9
push ecx
push eax
call fcn.00406350
add esp, 0xc
mov dword [ebp + 0x10], edi
xor esi, esi
cmp esi, 0x3ff
jg 0x4012c8
call fcn.00405d90
mov edx, dword [edi]
inc esi
lea eax, [edx + eax*2]
mov dword [ebp + esi*4 - 0x2050], eax
jmp 0x4012ac
call fcn.00405d30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call fcn.00405d90
push 0x3fa
lea ecx, [ebp - 0x204c]
push 0x53
push ecx
mov edi, eax
call fcn.00406350
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
lea eax, [edx + edi*2]
lea edx, [ebp - 0x204c]
push 0x400
push ecx
push edx
mov dword [ebp + esi*4 - 0x2048], eax
call fcn.00406350
add esp, 0xc
mov ebx, eax
lea eax, [ebp + 0x10]
push eax
push 0x4150a4
call fcn.00405ce0
add esp, 8
mov esi, 1
cmp esi, 0x3fe
jg 0x401363
call fcn.00405d90
push 0x19b
lea ecx, [ebp - 0x204c]
push 0x363
push ecx
mov edi, eax
call fcn.00406350
mov edx, dword [eax]
add esp, 0xc
inc esi
lea eax, [edx + edi*2]
mov dword [ebp + esi*4 - 0x2040], eax
jmp 0x40132c
test ebx, ebx
je 0x40136e
mov ecx, dword [ebx]
add ecx, 3
jmp 0x401388
mov edx, dword [ebp + 0x10]
push 0x3ff
lea eax, [ebp - 0x204c]
push edx
push eax
call fcn.00406350
mov ecx, dword [eax]
add esp, 0xc
mov edx, dword [ebp + 0x10]
push 0x3ff
lea eax, [ebp - 0x204c]
push edx
push eax
mov dword [ebp + esi*4 - 0x204c], ecx
call fcn.00406350
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0x3c9
push ecx
push eax
call fcn.00406350
add esp, 0xc
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret