Function at 0x808c70
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 hostname
Manipulate console buffer
Move file
Query environment variable
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x2470
call fcn.0040ef50
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharUpperBuffA]
xor esi, esi
cmp esi, 0x1e17e
jge 0x808ca6
push 0
push 0
call edi
call ebx
cmp esi, 0x1e9b1db4
jle 0x808cc0
cmp ebp, 0xc10bd0
je 0x808cc0
cmp dword [esp + 0x58], 0x963c600
jne 0x808cc9
inc esi
cmp esi, 0x98f6e
jl 0x808c96
cmp dword [0xba86c0], 0xcf8
jne 0x808d30
push 0
push 0
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
fldz
sub esp, 8
fstp qword [esp]
call fcn.00405070
fstp st(0)
fldz
fstp qword [esp]
call fcn.004051c0
fstp st(0)
push 0
push 0
push 0
push 0x823990
call fcn.00404d2c
push 0
call fcn.00405034
add esp, 0x1c
push 0
push 0
call fcn.00404b61
push 0
push 0
call fcn.004110c2
add esp, 0x10
push 0
call fcn.00404fe2
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebp, dword [sym.imp.KERNEL32.dll_FindVolumeClose]
xor esi, esi
cmp esi, 0x408
jne 0x808d57
mov eax, 0x5d1
add dword [0xba86c0], eax
cmp dword [0xba86c0], 3
jne 0x808d74
push 0
call edi
push 0
push 0
call ebx
lea eax, [esp + 0x80]
push eax
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x808d44
mov ecx, dword [0xba86c0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x828724], eax
mov eax, dword [0xba86c0]
xor esi, esi
test eax, eax
je 0x808e40
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ebp, dword [sym.imp.KERNEL32.dll_FatalAppExitW]
cmp eax, 0xfe
jne 0x808e0f
push 0
call edi
call ebx
xor edx, edx
lea ecx, [esp + 0x14]
push ecx
push edx
push edx
lea eax, [esp + 0x8c]
push eax
push edx
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0x4045b8
push 0
call ebp
lea ecx, [esp + 0x2c]
xor eax, eax
push ecx
lea edx, [esp + 0x50]
push edx
push 0x4045f4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
call fcn.00808890
mov eax, dword [0xba86c0]
cmp eax, 0x29
jne 0x808e37
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 [0xba86c0]
inc esi
cmp esi, eax
jb 0x808db2
cmp eax, 0x70
jne 0x808e95
push 0
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x404604
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call esi
call esi
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
mov dword [esp + 0x14], 0x9682ab
cmp eax, 3
jne 0x808ecf
lea edx, [esp + 0x880]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0xba86c0]
cmp eax, 0xdf
jne 0x809051
push 0
push 0
push 0
call ebp
push 0
call ebx
xor eax, eax
lea edx, [esp + 0x20]
push edx
push eax
push eax
lea ecx, [esp + 0xc8c]
push ecx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
push 0x404698
push 0x4046b8
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 0
push 0
push 0
call esi
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_GetPrivateProfileSectionNamesW]
push 0
lea eax, [esp + 0x884]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x34]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
lea eax, [esp + 0x28]
push eax
push 0x4046cc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
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 edx, [esp + 0x1484]
push edx
push 0x4046fc
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea eax, [esp + 0x1c84]
push eax
push 0
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 ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
lea eax, [esp + 0x54]
push 0
push eax
mov dword [esp + 0x58], 0
call fcn.004066f0
add esp, 0xc
push 0
lea ecx, [esp + 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov eax, dword [0xba86c0]
dec dword [esp + 0x14]
jne 0x808eb5
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
lea esp, [esp]
push 0
call edi
push 0
call ebx
dec esi
jne 0x809070
mov eax, dword [0xba86c0]
mov ecx, dword [0x828724]
lea edx, [esp + 0x1c]
push edx
push 0x40
push eax
push ecx
mov byte [0x823990], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00808ae0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
jmp 0x8090b0
cmp dword [0xba86c0], 0xba
jne 0x8090c9
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x8090dc
mov eax, 0
add dword [0x828724], eax
inc esi
cmp esi, 0x1605a
jl 0x8090b0
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
mov edi, 0xf2b8b
cmp dword [0xba86c0], 0x21
jne 0x8090fd
push 0
call esi
dec edi
jne 0x8090f0
mov eax, 0x73
mov ecx, 0x6d
mov word [0xba76d2], ax
mov word [0xba76d6], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0xba76da], dx
mov word [0xba76e6], cx
mov word [0xba76d8], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0xba76d0
mov dword [0xba76e0], 0x6c0064
mov word [0xba76d4], cx
mov word [0xba76d0], dx
mov word [0xba76e4], ax
mov dword [0xba76dc], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xba86c0], 0xc30
jne 0x80921a
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call dword [sym.imp.KERNEL32.dll_GetACP]
push edi
lea eax, [esp + 0x20]
push eax
push edi
lea ecx, [esp + 0x8c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push edi
lea edx, [esp + 0x1c84]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_RaiseException]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret