Function at 0x483290
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbe26
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x53c160]
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 - 0x5c], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x74], esi
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x78], eax
jb 0x4832e0
mov ecx, dword [esi]
push dword [ebp - 0x7c]
mov edx, edi
push 3
sub esp, 8
call fcn.00483930
add esp, 0x10
cmp eax, 0xffffffff
je 0x4833dd
lea ecx, [eax + 1]
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edi, ecx
jb 0x48380a
sub edi, ecx
or eax, 0xffffffff
cmp edi, 0xffffffff
mov edx, esi
cmovb eax, edi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x60], eax
jb 0x483339
mov edx, dword [esi]
lea ecx, [edx + ecx*2]
mov dword [ebp - 0x64], ecx
cmp eax, 7
ja 0x483364
lea esi, [eax + eax]
lfence
push esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push ecx
push eax
call fcn.004c5bb0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x40], ax
jmp 0x4833c0
cmp eax, 0x7ffffffe
ja 0x48380f
mov esi, eax
or esi, 7
lfence
cmp esi, 0x7ffffffe
jbe 0x483386
mov esi, SysReAllocString
jmp 0x483390
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407e60
mov edi, eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x64]
push edi
call fcn.004c5bb0
add esp, 0xc
mov dword [ebp - 0x40], edi
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 4], 0
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x64], 5
mov dword [ebp - 0x60], 0
jmp 0x4833f6
push esi
lea ecx, [ebp - 0x28]
call fcn.00403040
mov edi, eax
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x60], 2
mov eax, dword [ebp - 0x5c]
cmp eax, edi
je 0x48342a
mov ecx, eax
call fcn.00408a80
movups xmm0, xmmword [edi]
mov eax, dword [ebp - 0x5c]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
cmp dword [ebp - 0x60], 0
je 0x483482
and dword [ebp - 0x64], 0xfffffffd
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48346e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x483464
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x483814
push edx
push ecx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
test byte [ebp - 0x64], 1
je 0x4834c9
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4834c9
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4834bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x483814
push edx
push ecx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push 1
push 0x51b854
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.00419680
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x483505
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00419680
push 1
push 0x51b854
lea ecx, [ebp - 0x58]
call fcn.00419680
mov esi, dword [ebp - 0x78]
cmp dword [esi + 0x10], 0
je 0x48354b
push 1
push 0x51b848
lea ecx, [ebp - 0x58]
call fcn.00419680
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x483541
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00419680
mov edi, dword [sym.imp.KERNEL32.DLL_CreatePipe]
lea eax, [ebp - 0x90]
push 0
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x90], 0xc
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x88], 1
push eax
mov dword [ebp - 0x8c], 0
call edi
test eax, eax
je 0x483819
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x78], esi
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x68]
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x18], edx
test ecx, ecx
je 0x4835b3
cmp ecx, 0xffffffff
je 0x4835b3
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x68]
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.DLL_SetHandleInformation]
test eax, eax
je 0x483832
push 0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x6c]
push eax
call edi
test eax, eax
je 0x48384b
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x74], edi
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x1c], edx
test ecx, ecx
je 0x483610
cmp ecx, 0xffffffff
je 0x483610
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x6c]
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.DLL_SetHandleInformation]
test eax, eax
je 0x483864
push 0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
je 0x48387d
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 9
add ecx, 0x20
push dword [ebp - 0x70]
call fcn.0045ae50
push 0
push 1
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.DLL_SetHandleInformation]
test eax, eax
je 0x483896
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xe4], 0x44
push ecx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe0], 0
push ecx
push 0
push 0
xor eax, eax
mov dword [ebp - 0xdc], 0
cmp dword [ebp - 0x44], 8
push 0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x60]
push 1
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0
push 0
push eax
push 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0x101
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x4838af
mov ecx, dword [ebp - 0x5c]
push dword [ebp - 0xa0]
lea ecx, [ecx + 0x24]
call fcn.0045ae50
mov ecx, dword [ebp - 0x5c]
push dword [ebp - 0x9c]
lea ecx, [ecx + 0x28]
call fcn.0045ae50
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x98]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x94]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x48378d
cmp eax, 0xffffffff
je 0x48378d
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
je 0x4837a1
cmp edi, 0xffffffff
je 0x4837a1
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
jmp 0x4837a7
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x4837b3
cmp esi, 0xffffffff
je 0x4837b3
push esi
call edi
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4837ed
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4837e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4838c8
push edx
push ecx
call fcn.004c3baf
add esp, 8
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.004c3ba1
mov esp, ebp
pop ebp
ret 8
call fcn.004054c0
call fcn.004085c0
call fcn.004cecff
push 0x51b858
lea ecx, [ebp - 0x28]
call fcn.004086c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00480fd0
push str.SetHandleInformation_stdInWr
lea ecx, [ebp - 0x28]
call fcn.004086c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00480fd0
push 0x51b858
lea ecx, [ebp - 0x28]
call fcn.004086c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00480fd0
push str.SetHandleInformation_stdOutRd
lea ecx, [ebp - 0x28]
call fcn.004086c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00480fd0
push 0x51b858
lea ecx, [ebp - 0x28]
call fcn.004086c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00480fd0
push str.SetHandleInformation_stdErrRd
lea ecx, [ebp - 0x28]
call fcn.004086c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00480fd0
push str.CreateProcess
lea ecx, [ebp - 0x28]
call fcn.004086c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.00480fd0
call fcn.004cecff
int3