Function at 0x426eb4
Capabilities:
Create pipe
Create process on windows
Read file on windows
Terminate process

Disassembly:
push 0xc0
mov eax, 0x488a29
call fcn.0047ceb6
mov dword [ebp - 0x40], edx
mov esi, ecx
mov dword [ebp - 0x34], esi
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], eax
push 0x44
push eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xcc]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
and dword [ebp - 0x58], ebx
or dword [ebp - 0x1c], 0xffffffff
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
or dword [ebp - 0x20], 0xffffffff
mov byte [ebp - 4], 0xd
test esi, esi
jne 0x426f47
mov eax, 0x80070057
mov edi, eax
push eax
call fcn.004314fa
jmp 0x4276dc
cmp dword [ebp + 0x18], 0
je 0x426f35
and dword [ebp - 0x60], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4270a7
cmp esi, 0xffffffff
je 0x4270a7
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x426f8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004317f4
mov edi, eax
push edi
call fcn.004314fa
jmp 0x427240
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
call fcn.00426db0
mov edi, eax
test edi, edi
jns 0x426fa1
push edi
jmp 0x426f3d
lea eax, [ebp - 0x2c]
push eax
push 2
pop eax
push eax
push eax
push 0
push 0x2000000
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x426f74
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
call fcn.00430738
mov edi, eax
test edi, edi
js 0x426f9e
cmp dword [ebp - 0x30], 0
jne 0x42700f
cmp dword [ebp - 0x14], 0
je 0x426fe8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push 0x2000000
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x426f74
mov dword [ebp - 0x30], 0x408c14
jmp 0x427016
mov dword [ebp - 0x30], 0x408c08
mov edi, dword [ebp + 8]
mov eax, 0x406078
mov edx, edi
test edi, edi
jne 0x427026
mov edx, eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x42702f
mov eax, ebx
mov ecx, dword [0x48dcb8]
test ecx, ecx
je 0x42703e
cmp ecx, 0xffffffff
jne 0x427040
xor ecx, ecx
push dword [ebp - 0x30]
push esi
push edx
push eax
push dword [ebp - 0x34]
push 0x408c28
push dword [0x490330]
push ecx
call fcn.0041ad72
add esp, 0x18
lea eax, [ebp - 0x18]
mov edx, esi
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x14]
push edi
push ebx
push dword [ebp - 0x34]
call fcn.0042e30e
mov edi, eax
test edi, edi
jns 0x4271bf
mov eax, dword [0x48dcb8]
test eax, eax
je 0x42708a
cmp eax, 0xffffffff
jne 0x42708c
xor eax, eax
push edi
push 0x408c98
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
push edi
jmp 0x42727b
push dword [ebp - 0x40]
lea eax, [ebp - 0x48]
push dword [ebp - 0x34]
push 0x408d04
push eax
call fcn.0041a612
mov edi, eax
add esp, 0x10
test edi, edi
js 0x426f9e
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x70]
push 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x70], 0xc
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x68], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4270fc
mov edi, 0xe6
jmp 0x427706
and dword [ebp - 0xc4], 0
push 5
pop eax
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xcc], 0x44
test eax, eax
jne 0x427126
and dword [ebp - 0x8c], eax
jmp 0x42712c
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x90], eax
mov eax, 0x406078
mov dword [ebp - 0xa0], 0x100
test esi, esi
jne 0x42714c
mov ecx, eax
mov edx, dword [ebp - 0x40]
test edx, edx
jne 0x427155
mov edx, eax
mov eax, dword [0x48dcb8]
test eax, eax
je 0x427163
cmp eax, 0xffffffff
jne 0x427165
xor eax, eax
mov edi, dword [ebp - 0x34]
push ecx
push edx
push edi
push 0x408d18
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xcc]
push eax
push esi
xor eax, eax
push eax
push 0x400
push 1
push eax
push eax
push dword [ebp - 0x48]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x426f74
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x64]
call fcn.004316d6
push dword [ebp - 0x80]
lea ecx, [ebp - 0x18]
call fcn.004316d6
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
cmp dword [ebp - 0x1c], ebx
je 0x4271de
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
cmp dword [ebp + 0x10], ebx
je 0x427295
push dword [ebp + 0x10]
lea eax, [ebp - 0x50]
push 0x408d58
push 0x408d78
push eax
call fcn.0041a612
mov edi, eax
add esp, 0x10
test edi, edi
js 0x4270a1
push dword [ebp - 0x50]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004316d6
mov edi, dword [ebp - 0x4c]
test edi, edi
jne 0x42724d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004317f4
mov edi, eax
push edi
call fcn.004314fa
mov ebx, dword [ebp - 0x18]
test edi, edi
jns 0x427706
jmp 0x4276dc
push ebx
call fcn.00431467
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042dbb3
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x427288
mov eax, 0x8007000e
mov edi, eax
push eax
call fcn.004314fa
mov ebx, dword [ebp - 0x18]
jmp 0x4276dc
mov ebx, dword [ebp - 0x18]
mov dword [esi], ebx
push 2
mov dword [esi + 4], edi
pop edi
jmp 0x4272c3
xor edi, edi
inc edi
push ebx
call fcn.00431467
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042dbb3
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x427273
mov ebx, dword [ebp - 0x18]
mov dword [esi], ebx
mov eax, dword [0x48dcb8]
test eax, eax
je 0x4272d1
cmp eax, 0xffffffff
jne 0x4272d3
xor eax, eax
push 0x408d88
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0xc
mov edx, esi
push dword [ebp + 0x14]
push ecx
mov ecx, edi
call fcn.0042ea75
mov ecx, eax
test ecx, ecx
jne 0x4274f4
lea eax, [ebp - 0x5c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4274a5
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0042dbb3
mov esi, dword [ebp - 0x44]
mov eax, dword [0x48dcb8]
test esi, esi
jne 0x427355
mov edx, dword [0x490330]
test eax, eax
je 0x427349
cmp eax, 0xffffffff
jne 0x42734b
xor eax, eax
mov ecx, 0x408dc8
jmp 0x42743d
test eax, eax
je 0x42735e
cmp eax, 0xffffffff
jne 0x427360
xor eax, eax
push 0x408e10
push dword [0x490330]
push eax
call fcn.0041ad72
mov edi, dword [ebp - 0x28]
add esp, 0xc
test edi, edi
je 0x427386
push edi
call fcn.00431523
xor edi, edi
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x38]
call fcn.0042dbea
push 0
lea eax, [ebp - 0x54]
push eax
push 0xfff
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427422
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x427422
mov byte [eax + esi], 0
mov ecx, esi
lea eax, [ebp - 0x58]
push eax
call fcn.0041a2a9
mov edi, eax
test edi, edi
js 0x426f9e
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.0042e1fd
mov edi, eax
test edi, edi
js 0x426f9e
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call fcn.0043163c
mov edi, eax
test edi, edi
js 0x426f9e
mov eax, dword [0x48dcb8]
test eax, eax
je 0x427403
cmp eax, 0xffffffff
jne 0x427405
xor eax, eax
mov edi, dword [ebp - 0x28]
push edi
push 0x408e60
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
jmp 0x427377
mov eax, dword [0x48dcb8]
mov edx, dword [0x490330]
test eax, eax
je 0x427436
cmp eax, 0xffffffff
jne 0x427438
xor eax, eax
mov ecx, 0x408e68
push ecx
push edx
push eax
call fcn.0041ad72
mov eax, dword [0x48dcb8]
add esp, 0xc
mov edi, dword [ebp - 0x5c]
test eax, eax
je 0x427459
cmp eax, 0xffffffff
jne 0x42745b
xor eax, eax
push edi
push 0x408eb0
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
cmp edi, 0x800705bb
jne 0x4274df
mov eax, dword [0x48dcb8]
xor esi, esi
xor edi, edi
inc esi
test eax, eax
je 0x42748b
cmp eax, 0xffffffff
jne 0x42748d
xor eax, eax
push 0
push 0x408ee8
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
jmp 0x4274e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x4274ba
movzx edi, di
or edi, 0x80070000
mov eax, dword [0x48dcb8]
test eax, eax
je 0x4274c8
cmp eax, 0xffffffff
jne 0x4274ca
xor eax, eax
push edi
push 0x408f40
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
mov esi, dword [ebp - 0x60]
test edi, edi
js 0x4276dc
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
jmp 0x427706
mov eax, dword [0x48dcb8]
cmp ecx, 1
jne 0x4275de
test eax, eax
je 0x42750b
cmp eax, 0xffffffff
jne 0x42750d
xor eax, eax
push 0x408fa8
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0xc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x427575
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x490330]
test eax, eax
mov eax, dword [0x48dcb8]
jne 0x427558
test eax, eax
je 0x42754f
cmp eax, 0xffffffff
jne 0x427551
xor eax, eax
mov ecx, 0x408fe8
jmp 0x427568
test eax, eax
je 0x427561
cmp eax, 0xffffffff
jne 0x427563
xor eax, eax
mov ecx, 0x409040
push ecx
push edx
push eax
call fcn.0041ad72
add esp, 0xc
jmp 0x4275af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
test ecx, ecx
jle 0x42758a
movzx ecx, cx
or ecx, 0x80070000
mov eax, dword [0x48dcb8]
test eax, eax
je 0x427598
cmp eax, 0xffffffff
jne 0x42759a
xor eax, eax
push ecx
push 0x4090a0
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
mov eax, dword [0x48dcb8]
mov edi, 0xc19001e1
test eax, eax
je 0x4275c2
cmp eax, 0xffffffff
jne 0x4275c4
xor eax, eax
push edi
push 0x4090f8
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
jmp 0x4276dc
cmp ecx, 0x102
jne 0x4276b6
test eax, eax
je 0x4275f3
cmp eax, 0xffffffff
jne 0x4275f5
xor eax, eax
push 0x409168
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0xc
mov edi, 0xc1900104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x427661
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x490330]
test eax, eax
mov eax, dword [0x48dcb8]
jne 0x427644
test eax, eax
je 0x42763b
cmp eax, 0xffffffff
jne 0x42763d
xor eax, eax
mov ecx, 0x4091c0
jmp 0x427654
test eax, eax
je 0x42764d
cmp eax, 0xffffffff
jne 0x42764f
xor eax, eax
mov ecx, 0x409040
push ecx
push edx
push eax
call fcn.0041ad72
add esp, 0xc
jmp 0x42769b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
test ecx, ecx
jle 0x427676
movzx ecx, cx
or ecx, 0x80070000
mov eax, dword [0x48dcb8]
test eax, eax
je 0x427684
cmp eax, 0xffffffff
jne 0x427686
xor eax, eax
push ecx
push 0x4090a0
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x10
mov eax, dword [0x48dcb8]
test eax, eax
je 0x4276a9
cmp eax, 0xffffffff
jne 0x4276ab
xor eax, eax
push edi
push 0x409200
jmp 0x4275ca
mov edi, 0x8000ffff
test eax, eax
je 0x4276c4
cmp eax, 0xffffffff
jne 0x4276c6
xor eax, eax
push edi
push ecx
push 0x409250
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x14
mov eax, dword [0x48dcb8]
test eax, eax
je 0x4276ea
cmp eax, 0xffffffff
jne 0x4276ec
xor eax, eax
push edi
push 0x4092e4
push 0x406200
push dword [0x490330]
push eax
call fcn.0041ad72
add esp, 0x14
push edi
call fcn.00431467
cmp dword [ebp - 0x20], 0
je 0x42771f
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x427732
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x38]
call fcn.0042dbea
lea ecx, [ebp - 0x44]
call fcn.0042dbea
lea ecx, [ebp - 0x24]
call fcn.0042dbea
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x427757
push eax
call fcn.00431523
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x427765
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x427772
push eax
call fcn.00431523
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x42777f
push eax
call fcn.00431523
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x42778d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x427798
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x4277ab
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x2c], 0
je 0x4277be
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x3c], 0
je 0x4277cd
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.0047ce87
ret 0x14