Function at 0x4f7e40
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548362
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x58a710]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0x118]
push 0x40
push 0
push eax
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0x11c], 0x44
call fcn.0051d400
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [ebp - 0xd8], xmm0
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4f7eb3
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xac], edi
mov dword [ebp - 4], 0
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4f7edd
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xa4], esi
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 2
test ebx, ebx
jne 0x4f7f1e
mov dword [ebp - 0xb0], 0x80004003
jmp 0x4f850e
push ebx
call fcn.004f53f0
add esp, 4
test eax, eax
jne 0x4f7f3a
mov dword [ebp - 0xb0], 0x80004004
jmp 0x4f850e
push 0
push str.RegEdit_RegEdit
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebx, eax
push ebx
mov dword [ebp - 0x98], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4f7fb9
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push str.regedit.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4f7f8f
mov ebx, 0x80004005
jmp 0x4f8514
mov ebx, dword [ebp - 0xd8]
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x9c], ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0
push str.RegEdit_RegEdit
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x98], eax
jmp 0x4f7ff3
lea eax, [ebp - 0xc8]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0xc8]
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x9c], ebx
test ebx, ebx
jne 0x4f7fed
mov ebx, 0x80004005
jmp 0x4f8514
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x4f8001
mov ebx, 0x80004005
jmp 0x4f8514
push 0
push 0x550528
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExA]
push eax
mov dword [ebp - 0xa0], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4f802c
mov ebx, 0x80004005
jmp 0x4f8514
push 0
push str.SysListView32
push 0
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_FindWindowExA]
push eax
mov dword [ebp - 0xa8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4f805c
mov ebx, 0x80004005
jmp 0x4f8514
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0xa
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x40
push 0x3000
push 0x1000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 0x98], ebx
test ebx, ebx
jne 0x4f80cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xd4]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x9c]
call ebx
mov ebx, 0x80004005
jmp 0x4f8514
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xac]
call fcn.00423ac0
push 0x1000
lea ecx, [ebp - 0x94]
call fcn.004f3a60
push 0x1000
push 0
push dword [ebp - 0x94]
call fcn.0051d400
mov ecx, dword [ebp - 0x94]
lea eax, [ebx + 0x28]
add esp, 0xc
mov dword [ebp - 0xc4], ecx
mov dword [ecx], 1
push 0
push 0
push 0x110a
push dword [ebp - 0xa0]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xfd8
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
lea ecx, [ebp - 0xac]
lea eax, [ebp - 0xbc]
push eax
push 0x54e2a8
lea eax, [ebp - 0xb8]
push eax
call fcn.004f87a0
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
call fcn.00414200
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.00413a30
mov esi, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xac]
cmp dword [esi - 0xc], 0
je 0x4f84de
nop
push ebx
push 4
push 0x110a
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
je 0x4f825d
nop
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
push ecx
push 0x28
push eax
push dword [ebp - 0x98]
mov dword [eax + 4], ebx
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4f81b0
push dword [ebp - 0x98]
push 0
push 0x110c
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4f825d
lea eax, [ebp - 0xc0]
push eax
push 0x1000
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4f825d
mov eax, dword [ebp - 0x94]
add eax, 0x28
je 0x4f7ea9
push eax
push esi
call fcn.0052ae9e
add esp, 8
push ebx
test eax, eax
je 0x4f8416
push 1
push 0x110a
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
jne 0x4f81b0
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0xac]
sub eax, dword [ebp - 0xb4]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0041ece0
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.00414200
lea ecx, [ebp - 0xc4]
call fcn.00413a30
mov ebx, dword [ebp - 0x9c]
mov esi, dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0xffffffffffffffff
push ebx
call esi
push dword [ebp - 0xa8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xffffffffffffffff
push ebx
call esi
push dword [ebp - 0xa8]
call dword [sym.imp.USER32.dll_SetFocus]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1000
push 0
push dword [ebp - 0x94]
call fcn.0051d400
mov ecx, dword [ebp - 0x94]
mov esi, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x98]
add eax, 0x18
mov dword [ecx + 4], eax
mov dword [ecx], 0xa
mov eax, dword [esi - 0xc]
mov ecx, dword [ebp - 0x94]
inc eax
push eax
add ecx, 0x18
push esi
push ecx
call fcn.0051ce80
add esp, 0x18
lea eax, [ebp - 0xc0]
push eax
push 0x1000
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4f84e4
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0
push 0
push 0x1004
push dword [ebp - 0xa8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x98]
push 0
push 0x100d
push dword [ebp - 0xa8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xb4], eax
test eax, eax
js 0x4f84e4
push 0x1000
push 0
push dword [ebp - 0x94]
call fcn.0051d400
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0xc0]
add esp, 0xc
mov dword [eax + 0x10], 3
push ecx
push 0x3c
push eax
push dword [ebp - 0x98]
mov dword [eax + 0xc], 3
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push dword [ebp - 0x98]
push dword [ebp - 0xb4]
push 0x102b
push dword [ebp - 0xa8]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4f8586
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0
push dword [ebp - 0xb4]
push 0x1013
push dword [ebp - 0xa8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4f84e4
push 2
push 0x1102
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x9c]
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push ebx
push 9
push 0x110b
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push ebx
push 0
push 0x1114
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xbc]
push eax
push 0x54e2a8
lea eax, [ebp - 0xb8]
push eax
call fcn.004f87a0
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00414200
mov edx, dword [ebp - 0xb8]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f84ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xa4]
cmp dword [esi - 0xc], 0
jne 0x4f8190
mov ebx, dword [ebp - 0x9c]
push 0x8000
push 0
push dword [ebp - 0x98]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push dword [ebp - 0xd4]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x9c]
call ebx
mov ebx, dword [ebp - 0xb0]
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x4f852d
lea ecx, [ebp - 0x94]
call fcn.0040e270
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4f8549
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4f8568
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 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.005193a0
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xb0], 0x80004005
jmp 0x4f84e4