Function at 0x10004be0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [edi]
mov edx, dword [edi + 4]
push ebx
push esi
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
xor esi, esi
push edx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [edi + 4]
mov ebx, dword [edi]
mov dword [ebp - 8], eax
call fcn.10002d80
test eax, eax
je 0x10004c2f
test ebx, ebx
je 0x10004c2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov cl, byte [edi + esi + 0x48]
mov edx, dword [ebp - 8]
mov byte [esi + edx], cl
inc esi
cmp esi, ebx
jb 0x10004c15
call fcn.10002e40
mov ecx, dword [ebp - 4]
mov edx, dword [edi]
lea eax, [ebp - 4]
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10004c70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push edi
xor edi, edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipe_tyuer8216
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x10004cb5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x40
jl 0x10004c81
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10004ce6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
lea ecx, [ebp - 4]
push ecx
push edx
push eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp edi, ebx
jne 0x10004d1a
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10004d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push edi
xor edi, edi
nop
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push str..pipe_tyuer8216
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x10004d74
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x40
jl 0x10004d40
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push ecx
push edx
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret