Function at 0x466e32
Capabilities:
Delete file
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2a20
call fcn.00470240
push ebx
push esi
push edi
xor esi, esi
push esi
call fcn.00468e9f
mov dword [esp], 0x14f
push esi
push 0x400
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
mov word [ebp - 0x2a20], si
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0x10000
mov dword [ebp - 0xc], eax
jae 0x466ea5
mov esi, 0xff3
cmp word [ebp - 0x2a20], 0
je 0x466e93
lea eax, [ebp - 0x2a20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp - 0x14]
call fcn.00466cc1
pop ecx
pop ecx
mov eax, esi
jmp 0x46719a
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
mov ebx, str.Pluginsgen_ml.ini
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add esi, eax
lea eax, [esi + esi + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0
push dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.00402d5b
mov eax, dword [eax]
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp - 0xc]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.NSCRT.dll_free]
test bl, bl
pop ecx
jne 0x466e77
lea eax, [ebp - 0xa20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x466f22
mov esi, 0xff2
jmp 0x466e7c
mov ebx, dword [ebp + 8]
push ebx
call edi
cmp eax, 1
jge 0x466f37
mov esi, 0xff4
jmp 0x466e7c
push 1
push ebx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
movsx eax, byte [ebx]
mov esi, dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 2
push ebx
call esi
dec dword [ebp - 4]
mov ebx, eax
jne 0x466f53
cmp dword [ebp - 0xc], 0x41
jb 0x466f69
cmp dword [ebp - 0xc], 0x5a
jbe 0x466f73
mov esi, 0xff5
jmp 0x466e7c
push ebx
call edi
mov edi, eax
add edi, ebx
cmp edi, ebx
je 0x466fa5
cmp byte [edi], 0x2c
je 0x466f91
push edi
push ebx
call dword [sym.imp.USER32.dll_CharPrevA]
mov edi, eax
cmp edi, ebx
jne 0x466f7e
cmp edi, ebx
je 0x466fa5
push edi
call esi
push eax
call dword [sym.imp.NSCRT.dll_atoi]
pop ecx
mov dword [ebp - 0x14], eax
jmp 0x466fa9
and dword [ebp - 0x14], 0
sub edi, ebx
je 0x466fcb
push 0x1000
lea eax, [ebp - 0x2a20]
push eax
push edi
push ebx
xor esi, esi
push esi
push esi
call fcn.00405193
add esp, 0x18
test eax, eax
jne 0x466fd5
mov esi, 0xff1
jmp 0x466e7c
push dword [ebp - 8]
mov word [ebp + edi*2 - 0x2a20], si
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, 0xffffff00
push edi
push str.cdburnspeed
mov ebx, str.gen_ml_config
push ebx
call esi
push dword [ebp - 8]
mov dword [ebp - 4], eax
push edi
push str.cdburnmaxspeed
push ebx
call esi
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
call fcn.00466c2b
test eax, eax
pop ecx
jne 0x46701b
mov dword [ebp - 4], edi
cmp dword [ebp - 4], 0
jne 0x46702e
mov eax, dword [ebp - 0x18]
test eax, eax
mov dword [ebp - 4], eax
jne 0x46702e
mov dword [ebp - 4], edi
push dword [ebp - 8]
push 0
push str.cdburntestmode
push ebx
call esi
push dword [ebp - 8]
mov edi, eax
neg edi
sbb edi, edi
push 0
and edi, 0xfffffff0
push str.cdburnproof
add edi, 0x20
push ebx
or edi, 0x10000
call esi
neg eax
sbb eax, eax
and eax, 0x80
push str.in_wm.dll
or edi, eax
push 0x485760
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x4670d0
push 0x47c7e8
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4670c1
lea eax, [ebp - 0xa20]
push eax
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x2a20]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push eax
call esi
add esp, 0x18
mov dword [ebp - 0x10], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x467177
push dword [ebp + 0xc]
push dword [0x496644]
push dword [0x492560]
call fcn.0046b874
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.0046770e
lea eax, [ebp - 0x2a20]
push eax
lea ecx, [ebp - 0x78]
call fcn.004677df
cmp dword [ebp - 0x70], 0
jne 0x46710d
mov dword [ebp - 0x10], 0xff6
jmp 0x46716f
lea ecx, [ebp - 8]
call fcn.00467265
lea ecx, [ebp - 8]
call fcn.00468e73
test eax, eax
je 0x46712a
mov dword [ebp - 0x10], 0xff0
jmp 0x467167
lea ecx, [ebp - 0xfc]
call fcn.00468ec3
push dword [ebp - 0x14]
lea eax, [ebp - 0xa20]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push dword [ebp - 4]
lea eax, [ebp - 8]
push dword [ebp - 0xc]
lea ecx, [ebp - 0xfc]
push eax
call fcn.0046b72a
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x10], eax
call fcn.00468ef7
lea ecx, [ebp - 8]
call fcn.00468e6e
lea ecx, [ebp - 0x78]
call fcn.00467757
lea eax, [ebp - 0x2a20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 0
je 0x467197
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00466cc1
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret