Function at 0x80aad0
Capabilities:
Access the windows event log
Clear windows event logs
Copy file
Delete file
Get common file path
Get disk information
Get file attributes
Manipulate console buffer
Move file
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x80bd2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2700
call fcn.00412610
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xe4]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp esi, 0x2cdbe
jge 0x80ab1f
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [0xb95ce4], 0x6fb
jne 0x80ab3d
push 0
lea eax, [esp + 0x314]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
cmp esi, 0x1e9afa0a
jle 0x80ab55
cmp ebx, 0xc10c98
je 0x80ab55
cmp ebp, 0x952fcbc
jne 0x80ab5e
inc esi
cmp esi, 0x80c66
jl 0x80ab0d
cmp dword [0xb95ce4], 0xcf8
jne 0x80ad08
lea ecx, [esp + 0xd4]
push ecx
push 0
push 0x403fa0
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [0xb95ce4], 0x3a
jne 0x80abad
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [esp + 0x310]
push edx
push 0
push 0x403fd8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
xor ebp, ebp
push ebp
call fcn.0040751d
add esp, 4
push ebp
push ebp
call fcn.004073e1
add esp, 8
lea eax, [esp + 0x30]
push eax
call fcn.004055c0
push ebp
push ebp
call fcn.004074dd
push ebp
push ebp
call fcn.004074dd
push ebp
call fcn.004075f1
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x9c]
add esp, 0x14
mov dword [esp + 0x14], ecx
mov dword [esp + eax + 0x30], 0x40417c
mov dword [esp + 0x271c], ebp
test byte [esp + 0x80], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], 0x40413c
je 0x80ac2d
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
push eax
call fcn.004075e6
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [eax], ebp
mov ecx, dword [esp + 0x60]
mov dword [ecx], ebp
mov edx, dword [esp + 0x70]
mov dword [edx], ebp
mov eax, dword [esp + 0x54]
mov dword [eax], ebp
mov ecx, dword [esp + 0x64]
mov dword [ecx], ebp
mov edx, dword [esp + 0x74]
mov dword [edx], ebp
and dword [esp + 0x80], 0xfffffffe
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x40], 0x4040f4
mov byte [esp + 0x271c], 1
mov eax, dword [esp + 0x78]
mov ebx, eax
cmp eax, ebp
je 0x80acc2
mov edi, dword [eax]
cmp edi, ebp
je 0x80acb9
push ebp
lea ecx, [esp + 0x1c]
call fcn.00406a52
mov eax, dword [edi + 4]
cmp eax, ebp
jbe 0x80ac97
cmp eax, 0xffffffff
jae 0x80ac97
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.00406a7a
cmp esi, ebp
je 0x80acb9
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebx
call fcn.004075e6
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x271c], 0
call fcn.00406aab
mov dword [esp + 0x271c], 0xffffffff
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x88]
mov dword [esp + ecx + 0x30], 0x404134
push edx
mov dword [esp + 0x8c], 0x4040e4
call fcn.0040665e
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
xor esi, esi
cmp esi, 0x408
jne 0x80ad23
mov eax, 0x5d1
add dword [0xb95ce4], eax
cmp dword [0xb95ce4], 3
jne 0x80ad53
xor eax, eax
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push 0x404028
push eax
mov dword [esp + 0x28], eax
call edi
push 0
push 0
lea ecx, [esp + 0x718]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
inc esi
cmp esi, 0x1518d4
jl 0x80ad10
mov edx, dword [0xb95ce4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x816d34], eax
mov eax, dword [0xb95ce4]
xor esi, esi
test eax, eax
je 0x80adbb
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp eax, 0xfe
jne 0x80ad92
push 0
call ebx
call fcn.0080a6d0
mov eax, dword [0xb95ce4]
cmp eax, 0x29
jne 0x80adb6
push 0
push 0
lea eax, [esp + 0x718]
push eax
push 0
call edi
mov eax, dword [0xb95ce4]
inc esi
cmp esi, eax
jb 0x80ad87
cmp eax, 0x70
jne 0x80aeb0
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 0x404048
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea ecx, [esp + 0x1710]
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 + 0xf14]
push edx
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 eax, [esp + 0x314]
push eax
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_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_CopyFileW]
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 + 0x1f18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
push 0
push 0
call esi
push 0
lea edx, [esp + 0x714]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
mov eax, dword [0xb95ce4]
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 + 0x18], 0x9682ab
cmp eax, 0xdf
jne 0x80afda
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
call ebp
xor eax, eax
lea edx, [esp + 0x1c]
push edx
push eax
push eax
lea ecx, [esp + 0x1f1c]
push ecx
push eax
mov dword [esp + 0x28], eax
call ebx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea ecx, [esp + 0x28]
push ecx
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 edx, [esp + 0xf14]
push edx
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]
lea eax, [esp + 0xe0]
push eax
push 0x404050
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringA]
lea ecx, [esp + 0x1710]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0xb95ce4]
dec dword [esp + 0x18]
jne 0x80aed0
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
mov esi, 0x1ff896f4
nop
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec esi
jne 0x80aff0
mov byte [0x811fa0], 0
call fcn.0080a5e0
call fcn.0080a910
mov edi, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
jmp 0x80b020
cmp dword [0xb95ce4], 0xba
jne 0x80b032
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x80b045
mov eax, 0
add dword [0x816d34], eax
inc esi
cmp esi, 0x1605a
jl 0x80b020
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, 0x1e6dcb
nop
cmp dword [0xb95ce4], 0x85
jne 0x80b07a
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x80b060
push 0x811fa0
mov dword [0x811fa2], 0x33676d69
mov word [0x811fa0], 0x736d
mov dword [0x811fa8], 0x6c6c64
mov word [0x811fa6], 0x2e32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0xb95ce4], 0xc30
jne 0x80b160
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edx, [esp + 0x1d0]
push edx
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_AddRefActCtx]
push ebx
lea eax, [esp + 0x24]
push eax
push ebx
lea ecx, [esp + 0x71c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push 0x404058
call dword [sym.imp.KERNEL32.dll_lstrlenW]
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 edx, [esp + 0x28]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push ebx
lea eax, [esp + 0x314]
push eax
push 0x4040c8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov edx, dword [esp + 0x20]
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
mov ecx, dword [esp + 0x2714]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret