Function at 0x409550
Capabilities:
Create pipe
Create process on windows
Create process suspended
Create reverse shell
Create two anonymous pipes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423dcb
mov eax, dword fs:[0]
push eax
mov eax, 0x112c
call fcn.00423580
mov eax, dword [0x42f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x110c], ecx
mov dword [ebp - 0x1110], ecx
mov dword [ebp - 0x1138], ecx
mov dword [ebp - 0x111c], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x1030], 0
movups xmmword [ebp - 0x1040], xmm0
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
mov byte [ebp - 4], 2
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
mov byte [ecx], al
push 0x50
push eax
lea eax, [ebp - 0x10a0]
mov dword [ebp - 0x111c], 1
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10a0]
call fcn.00410340
push 0
lea eax, [ebp - 0x10c4]
mov byte [ebp - 4], 3
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push eax
lea eax, [ebp - 0x10b0]
mov dword [ebp - 0x10a8], 0
push eax
lea eax, [ebp - 0x10ac]
mov dword [ebp - 0x10b4], 0
push eax
mov dword [ebp - 0x10ac], 0
mov dword [ebp - 0x10b0], 0
mov dword [ebp - 0x10c4], 0xc
mov dword [ebp - 0x10bc], 1
mov dword [ebp - 0x10c0], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [ebp - 0x10ac]
call esi
push 0
lea eax, [ebp - 0x10c4]
push eax
lea eax, [ebp - 0x10b4]
push eax
lea eax, [ebp - 0x10a8]
push eax
call edi
push 0
push 1
push dword [ebp - 0x10a8]
call esi
mov eax, dword [ebp - 0x10b0]
xorps xmm0, xmm0
mov dword [ebp - 0x10c8], eax
mov eax, dword [ebp - 0x10b4]
mov dword [ebp - 0x10cc], eax
lea eax, [ebp - 0x10b8]
movlpd qword [ebp - 0x10dc], xmm0
or dword [ebp - 0x10dc], 0x100
movups xmmword [ebp - 0x1050], xmm0
mov dword [ebp - 0x1108], 0x44
movlpd qword [ebp - 0x1104], xmm0
movlpd qword [ebp - 0x10fc], xmm0
movlpd qword [ebp - 0x10f4], xmm0
movlpd qword [ebp - 0x10ec], xmm0
movlpd qword [ebp - 0x10e4], xmm0
movlpd qword [ebp - 0x10d4], xmm0
mov dword [ebp - 0x10b8], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x1050]
push ecx
lea ecx, [ebp - 0x1108]
push ecx
push 0
push 0
push 0x8000000
push 1
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x10b0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10b4]
call esi
push dword [ebp - 0x10b8]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x10a4]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x10a8]
call esi
test eax, eax
je 0x4098e1
nop
mov eax, dword [ebp - 0x10a4]
test eax, eax
je 0x4098e1
push eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1018], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
push eax
lea ecx, [ebp - 0x1028]
movups xmmword [ebp - 0x1028], xmm0
call fcn.00416400
mov byte [ebp - 4], 4
lea esi, [ebp - 0x1028]
mov ecx, dword [ebp - 0x110c]
cmp dword [ebp - 0x1014], 0x10
mov edi, dword [ebp - 0x1028]
cmovae esi, edi
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
sub eax, edx
mov dword [ebp - 0x1114], edx
mov edx, dword [ebp - 0x1018]
mov dword [ebp - 0x1118], esi
cmp edx, eax
ja 0x409861
cmp dword [ecx + 0x14], 0x10
mov esi, dword [ebp - 0x1114]
lea eax, [edx + esi]
mov dword [ecx + 0x10], eax
mov eax, ecx
jb 0x409843
mov eax, dword [ecx]
push edx
push dword [ebp - 0x1118]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1018]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x40987c
push edx
push esi
mov byte [ebp - 0x1110], 0
push dword [ebp - 0x1110]
push edx
call fcn.004162a0
mov edi, dword [ebp - 0x1028]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1014]
cmp eax, 0x10
jb 0x4098b6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4098ac
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409bb3
push ecx
push edi
call fcn.004228bd
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x10a4]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x10a8]
call esi
test eax, eax
jne 0x4097b0
push 0
lea eax, [ebp - 0x10a4]
mov dword [ebp - 0x10a4], 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x10ac]
call esi
test eax, eax
je 0x409a3f
mov eax, dword [ebp - 0x10a4]
test eax, eax
je 0x409a3f
push eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1018], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
push eax
lea ecx, [ebp - 0x1028]
movups xmmword [ebp - 0x1028], xmm0
call fcn.00416400
mov byte [ebp - 4], 5
lea edi, [ebp - 0x1028]
mov ecx, dword [ebp - 0x110c]
cmp dword [ebp - 0x1014], 0x10
mov esi, dword [ebp - 0x1028]
cmovae edi, esi
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
sub eax, edx
mov dword [ebp - 0x1110], edx
mov edx, dword [ebp - 0x1018]
mov dword [ebp - 0x1118], edi
cmp edx, eax
ja 0x4099c1
cmp dword [ecx + 0x14], 0x10
mov edi, dword [ebp - 0x1110]
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
jb 0x4099a3
mov eax, dword [ecx]
push edx
push dword [ebp - 0x1118]
add edi, eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x1018]
add esp, 0xc
mov byte [edi + eax], 0
jmp 0x4099dc
push edx
push edi
mov byte [ebp - 0x1114], 0
push dword [ebp - 0x1114]
push edx
call fcn.004162a0
mov esi, dword [ebp - 0x1028]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1014]
cmp eax, 0x10
jb 0x409a16
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x409a0c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409bb3
push ecx
push esi
call fcn.004228bd
add esp, 8
push 0
lea eax, [ebp - 0x10a4]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x10ac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x409910
mov esi, dword [ebp - 0x110c]
mov eax, esi
mov dword [ebp - 0x110c], esi
cmp dword [esi + 0x14], 0x10
jb 0x409a5b
mov eax, dword [esi]
mov dword [ebp - 0x110c], eax
mov edi, dword [esi + 0x10]
test edi, edi
je 0x409b7c
push edi
push 0x7b
push eax
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x409b7c
sub ecx, dword [ebp - 0x110c]
cmp ecx, 0xffffffff
je 0x409b7c
mov dword [ebp - 0x1124], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1120], 0
movups xmmword [ebp - 0x1134], xmm0
cmp edi, ecx
jb 0x409be0
mov eax, edi
sub eax, ecx
cmp eax, edi
cmovb edi, eax
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x409ac4
mov eax, dword [esi]
add eax, ecx
lea ecx, [ebp - 0x1134]
push edi
push eax
call fcn.00416400
lea eax, [ebp - 0x1134]
cmp esi, eax
je 0x409b46
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x409b10
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x409b06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409bb3
mov eax, edx
push ecx
push eax
call fcn.004228bd
add esp, 8
movups xmm0, xmmword [ebp - 0x1134]
mov dword [esi + 0x10], 0
mov ecx, 0xf
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x1134], 0
movq xmm0, qword [ebp - 0x1124]
movq qword [esi + 0x10], xmm0
jmp 0x409b4c
mov ecx, dword [ebp - 0x1120]
cmp ecx, 0x10
jb 0x409b7c
mov edx, dword [ebp - 0x1134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409b72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409bb3
push ecx
push edx
call fcn.004228bd
add esp, 8
lea ecx, [ebp - 0x10a0]
call fcn.00410280
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x409bc3
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409bb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409bb9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004228bd
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422454
mov esp, ebp
pop ebp
ret
call fcn.00413890
int3