Function at 0x489fb0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Resume thread
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5286a8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x57a6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
push 0x48
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x80]
push 0
push eax
mov dword [ebp - 0x94], edi
call fcn.004d8430
add esp, 0xc
call fcn.00486fa0
cmp dword [eax], 3
jge 0x48a01b
mov dword [ebp - 0x80], 0x44
jmp 0x48a07d
cmp dword [0x582f8c], 0
mov dword [ebp - 0x80], 0x48
je 0x48a03d
cmp dword [0x582f90], 0
je 0x48a03d
cmp dword [0x582f94], 0
jne 0x48a07d
push 0x53012c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.InitializeProcThreadAttributeList
push edi
call esi
push str.UpdateProcThreadAttribute
push edi
mov dword [0x582f8c], eax
call esi
push str.DeleteProcThreadAttributeList
push edi
mov dword [0x582f90], eax
call esi
mov edi, dword [ebp - 0x94]
mov dword [0x582f94], eax
mov dl, byte [edi + 8]
mov ecx, dword [edi + 4]
mov byte [ebp - 0x99], dl
xor edx, edx
mov dword [ebp - 4], 0
test ecx, ecx
je 0x48a0a7
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x48a1ad
mov byte [ebp - 0x99], dl
cmp byte [edi + 0x10], 0
mov eax, 0x52f8ac
mov dword [ebp - 0x54], 1
cmove eax, dword [ebp - 0x78]
xor ecx, ecx
cmp byte [edi + 1], cl
mov dword [ebp - 0x78], eax
mov eax, 5
cmovne eax, ecx
mov word [ebp - 0x50], ax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x48a0e0
cmp dword [edi + 0x1c], ecx
jne 0x48a0e0
cmp dword [edi + 0x20], ecx
je 0x48a0f9
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x54], 0x101
mov dword [ebp - 0x40], eax
push dword [ebp - 0xa0]
mov eax, edx
xorps xmm0, xmm0
or eax, 0x1000004
cmp dword [edi + 0x14], ecx
movups xmmword [ebp - 0x90], xmm0
cmove eax, edx
mov esi, eax
or esi, 0x1000000
cmp byte [edi + 0x24], cl
lea ecx, [ebp - 0x38]
cmove esi, eax
call fcn.004368a0
mov eax, dword [edi + 0xc]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x48a2a0
push 0
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
or esi, 0x400
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x48a2db
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push eax
movzx eax, byte [ebp - 0x99]
lea ecx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x94]
push esi
push eax
push 0
push 0
push ecx
push 0
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x94]
mov esi, eax
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
jmp 0x48a2d2
call fcn.00486fa0
cmp dword [eax], 3
jl 0x48a291
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
ja 0x48a291
cmp dword [ebp - 0x80], 0x48
jne 0x48a291
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x48a294
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ecx
push eax
push ecx
push 1
push ecx
call dword [0x582f8c]
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x48a291
push eax
call fcn.0049b03a
add esp, 4
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x98]
push ecx
push 0
push 1
push eax
call dword [0x582f8c]
test eax, eax
jne 0x48a249
push dword [ebp - 0x3c]
call fcn.0049b043
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x99], cl
jmp 0x48a454
mov eax, dword [edi + 4]
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
test eax, eax
je 0x48a492
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x48a294
push 0
push 0
shl eax, 2
push eax
push edx
push 0x20002
push 0
push ecx
call dword [0x582f90]
test eax, eax
je 0x48a291
mov byte [ebp - 0x99], 1
mov edx, 0x80000
jmp 0x48a0a7
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 0x99], 0
jmp 0x48a454
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push eax
movzx eax, byte [ebp - 0x99]
lea ecx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x38]
push 0
push 0
push esi
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48a2e7
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x99], 0
jmp 0x48a403
lea eax, [ebp - 0x90]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.0047a6f0
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x48a36f
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x48a366
mov esi, dword [ebp - 0x20]
push 1
push esi
mov dword [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne cl
test eax, eax
je 0x48a352
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48a35d
mov dword [ebp - 4], 0x14
mov byte [ebp - 0x99], 0
jmp 0x48a3c9
test cl, cl
jne 0x48a35d
mov dword [ebp - 4], 0x14
mov byte [ebp - 0x99], 0
jmp 0x48a3c9
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [edi], 0
je 0x48a37f
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 0xa4]
test edi, edi
je 0x48a3c2
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
test esi, esi
je 0x48a3ba
cmp esi, 0xffffffff
je 0x48a3ba
call fcn.004879d0
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0048ef20
add esp, 0x10
push esi
mov ecx, edi
call fcn.0048d770
mov byte [ebp - 0x99], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x18
call fcn.00463e70
lea ecx, [ebp - 0x1c]
call fcn.00463e70
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x19
call fcn.00463e70
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
call fcn.00463e70
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x48a43d
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48a433
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48a497
push edx
push ecx
call fcn.0049a900
add esp, 8
mov ecx, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov dword [ebp - 4], 0x1b
test ecx, ecx
je 0x48a471
push ecx
call dword [0x582f94]
push dword [ebp - 0x3c]
call fcn.0049b043
add esp, 4
mov al, byte [ebp - 0x99]
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.0049aba8
mov esp, ebp
pop ebp
ret
call fcn.00492d20
call fcn.004db96a
int3