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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e92c
mov eax, dword fs:[0]
push eax
mov eax, 0x287c
call fcn.004e2d90
mov eax, dword [0x578704]
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]
lea edi, [ebp - 0x88]
mov ecx, 0x1e
mov dword [ebp - 0x2824], eax
mov esi, str.wmic_logicaldisk_where_DeviceIDC:_get_VolumeSerialNumber
mov dword [ebp - 0x27b8], 0xf
rep movsd dword es:[edi], dword [esi]
push 0x12
push str.VolumeSerialNumber
lea ecx, [ebp - 0x27cc]
mov dword [ebp - 0x27bc], 0
mov byte [ebp - 0x27cc], 0
call fcn.0040c552
push str.SystemDrive
mov dword [ebp - 4], 0
call fcn.00512823
mov edx, eax
add esp, 4
test edx, edx
je 0x4d7962
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d7870
sub ecx, esi
lea eax, [ebp - 0x2815]
push eax
lea eax, [ecx + edx]
push eax
push edx
lea ecx, [ebp - 0x2814]
call fcn.004d1a80
lea eax, [ebp - 0x2814]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x27fc]
push str.wmic_logicaldisk_where_DeviceID
push eax
call fcn.00427933
push str._get_VolumeSerialNumber
push eax
lea eax, [ebp - 0x27e4]
mov byte [ebp - 4], 2
push eax
call fcn.00427751
mov eax, dword [ebp - 0x27e8]
add esp, 0x18
cmp eax, 8
jb 0x4d78e3
inc eax
lea ecx, [ebp - 0x27fc]
push eax
push dword [ebp - 0x27fc]
call fcn.00402474
mov esi, dword [ebp - 0x27d0]
lea ecx, [ebp - 0x27e4]
mov edi, dword [ebp - 0x27e4]
lea edx, [ebp - 0x88]
cmp esi, 8
cmovae ecx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4d7901
cmp esi, 8
jb 0x4d7927
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp - 0x27e4]
call fcn.00402474
xor eax, eax
mov dword [ebp - 0x27d0], 7
mov word [ebp - 0x27e4], ax
mov eax, dword [ebp - 0x2800]
mov dword [ebp - 0x27d4], 0
cmp eax, 8
jb 0x4d7962
inc eax
lea ecx, [ebp - 0x2814]
push eax
push dword [ebp - 0x2814]
call fcn.00402474
push 0x2711
lea eax, [ebp - 0x279c]
mov dword [ebp - 0x2820], 0
push 0
push eax
mov dword [ebp - 0x281c], 0
call fcn.004fb430
mov dword [ebp - 0x27a0], 0xf
mov dword [ebp - 0x27a4], 0
mov byte [ebp - 0x27b4], 0
push 0x44
lea eax, [ebp - 0x2888]
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [ebp - 0x2828], 0
push 0
push eax
movups xmmword [ebp - 0x2844], xmm0
call fcn.004fb430
add esp, 0x18
mov dword [ebp - 0x282c], 0
lea eax, [ebp - 0x2834]
mov dword [ebp - 0x2844], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2840], 0
movq qword [ebp - 0x2834], xmm0
push 0
push eax
lea eax, [ebp - 0x281c]
mov dword [ebp - 0x2888], 0x44
push eax
lea eax, [ebp - 0x2820]
mov dword [ebp - 0x2834], 0xc
push eax
mov dword [ebp - 0x2830], 0
mov dword [ebp - 0x282c], 1
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
mov edi, eax
test edi, edi
je 0x4d7bfc
lea eax, [ebp - 0x2888]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
mov eax, dword [ebp - 0x281c]
mov dword [ebp - 0x2848], eax
mov dword [ebp - 0x284c], eax
xor eax, eax
mov word [ebp - 0x2858], ax
lea eax, [ebp - 0x2844]
push eax
lea eax, [ebp - 0x2888]
mov dword [ebp - 0x285c], 0x101
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov edi, eax
test edi, edi
je 0x4d7bfc
push 0x1f4
push dword [ebp - 0x2844]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0
lea eax, [ebp - 0x2828]
push eax
push 0x2710
lea eax, [ebp - 0x279c]
push eax
push dword [ebp - 0x2820]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, eax
test edi, edi
je 0x4d7bfc
xor edi, edi
cmp byte [ebp - 0x279c], 0
jne 0x4d7af7
xor ecx, ecx
jmp 0x4d7b09
lea ecx, [ebp - 0x279c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d7b00
sub ecx, edx
push ecx
lea eax, [ebp - 0x279c]
push eax
lea ecx, [ebp - 0x27b4]
call fcn.0040c552
push dword [ebp - 0x27bc]
cmp dword [ebp - 0x27b8], 0x10
lea eax, [ebp - 0x27cc]
push 0
cmovae eax, dword [ebp - 0x27cc]
lea ecx, [ebp - 0x27b4]
push eax
call fcn.0040c0b4
test eax, eax
js 0x4d7bfc
add eax, dword [ebp - 0x27bc]
lea ecx, [ebp - 0x27b4]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x27fc]
push eax
call fcn.00409a0f
push eax
lea ecx, [ebp - 0x27b4]
call fcn.00409bd9
lea ecx, [ebp - 0x27fc]
call fcn.00409bcf
push 0x2711
lea eax, [ebp - 0x279c]
push 0
push eax
call fcn.004fb430
cmp dword [ebp - 0x27a0], 0x10
lea eax, [ebp - 0x27b4]
cmovae eax, dword [ebp - 0x27b4]
push eax
lea eax, [ebp - 0x279c]
push 0x2711
push eax
call fcn.0050a264
lea ecx, [ebp - 0x279c]
add esp, 0x18
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d7bc5
sub ecx, esi
je 0x4d7bf7
mov al, byte [ebp + edx - 0x279c]
cmp al, 0x20
je 0x4d7bf2
cmp al, 0xa
je 0x4d7bf2
cmp al, 0xd
je 0x4d7bf2
mov esi, dword [ebp - 0x2824]
mov byte [esi], al
inc esi
mov dword [ebp - 0x2824], esi
inc edx
cmp edx, ecx
jb 0x4d7bd0
mov edi, 1
push dword [ebp - 0x281c]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x2820]
call esi
push dword [ebp - 0x2844]
call esi
push dword [ebp - 0x2840]
call esi
mov eax, dword [ebp - 0x27a0]
cmp eax, 0x10
jb 0x4d7c40
inc eax
lea ecx, [ebp - 0x27b4]
push eax
push dword [ebp - 0x27b4]
call fcn.0040d750
mov eax, dword [ebp - 0x27b8]
mov dword [ebp - 0x27a0], 0xf
mov dword [ebp - 0x27a4], 0
mov byte [ebp - 0x27b4], 0
cmp eax, 0x10
jb 0x4d7c79
inc eax
lea ecx, [ebp - 0x27cc]
push eax
push dword [ebp - 0x27cc]
call fcn.0040d750
mov eax, edi
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.004e1d28
mov esp, ebp
pop ebp
ret