Function at 0x408b60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x184
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x4c]
call fcn.00407c70
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x58]
push eax
call edi
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi + 8], eax
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov ebp, ecx
je 0x408ba2
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp ebp, ebx
je 0x408e38
lea ecx, [esp + 0x4c]
lea ebp, [esi + 0xc]
call fcn.00407c70
push ebx
push ebx
push ebx
lea edx, [esp + 0x58]
push edx
call edi
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [ebp], eax
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov edi, ecx
je 0x408bdb
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp edi, ebx
je 0x408e38
call fcn.00407640
mov edi, dword [esp + 0x19c]
cmp edi, 0x10000
jae 0x408bfc
mov edi, 0x10000
push esi
push edi
push 0xe0
call fcn.00407ce0
add esp, 0xc
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x408c2e
mov edx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
mov dword [edx], 8
xor eax, eax
pop ebx
add esp, 0x184
ret 8
mov dword [eax + 0x14], ebx
mov eax, dword [esi + 4]
mov dword [eax], 1
mov ecx, dword [esi + 4]
mov dword [ecx + 8], 0xc8
mov edx, dword [esi + 4]
mov dword [edx + 0xc], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call edi
mov ecx, dword [esi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 4]
mov dword [eax + 0xb0], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ebx
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], ebx
mov eax, dword [ebp]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x28], eax
push ebx
push 0x105
lea eax, [esp + 0x94]
mov dword [ecx + 0x2c], ebx
mov edx, dword [esi + 4]
push eax
push str.dbelevate9.exe
mov dword [edx + 4], 4
call fcn.0040c100
add esp, 0x10
test eax, eax
jne 0x408cc7
mov ecx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
mov dword [ecx], 2
pop ebx
add esp, 0x184
ret 8
push 0x10
lea edx, [esp + 0x6a]
push edx
mov byte [esp + 0x6c], 0x30
mov byte [esp + 0x6d], 0x78
call edi
push eax
call fcn.0040d680
lea eax, [esp + 0x72]
add esp, 0xc
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x408cf0
sub eax, edi
lea eax, [esp + eax + 0x66]
mov byte [eax], 0x20
inc eax
mov byte [eax], 0x30
inc eax
mov byte [eax], 0x78
push 0x10
inc eax
push eax
mov eax, dword [esi]
push ebx
push eax
call fcn.0040d570
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
add esp, 0x10
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x540
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x64]
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], str.open
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x408e0c
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x408e0c
cmp dword [esp + 0x30], 0x20
ja 0x408dc1
mov esi, dword [esi + 4]
cmp esi, ebx
je 0x408da5
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
xor eax, eax
pop ebx
add esp, 0x184
ret 8
push eax
mov ecx, ebp
mov dword [esi + 0x10], eax
call fcn.004079f0
test eax, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x14]
jne 0x408df6
cmp eax, ebx
jne 0x408e3e
mov edx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
mov dword [edx], 0x42b
xor eax, eax
pop ebx
add esp, 0x184
ret 8
cmp eax, ebx
jne 0x408e3e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x184
ret 8
mov esi, dword [esi + 4]
cmp esi, ebx
je 0x408e1a
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
mov dword [edx], eax
xor eax, eax
pop ebx
add esp, 0x184
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 0x184
ret 8