Function at 0x466080
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1cc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c4], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x274b
push dword [0x4e6030]
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push eax
mov dword [esp + 0x28], eax
call ebx
push 0x2776
push dword [0x4e6030]
call esi
push pe_nt_image_headers32
mov ebp, eax
lea eax, [esp + 0x68]
push 0
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x60], 0x114
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
push 0
push 0x1009
push ebp
call ebx
call fcn.00465c80
xor esi, esi
cmp dword [0x4e6038], esi
jle 0x46640b
mov edi, 0x4e2c5c
nop dword [eax + eax]
lea eax, [edi - 0xc8]
mov dword [0x4d6970], esi
mov dword [0x4d6980], eax
mov eax, dword [edi + 0x78]
mov dword [0x4d6974], 0
cmp eax, 0x6f
ja case.0x46614a.7
movzx eax, byte [eax + 0x466448]
jmp dword [eax*4 + 0x466424]
mov dword [0x4d6988], 0
jmp case.0x46614a.7
mov dword [0x4d6988], 1
jmp case.0x46614a.7
mov dword [0x4d6988], 2
jmp case.0x46614a.7
mov dword [0x4d6988], 3
jmp case.0x46614a.7
mov dword [0x4d6988], 4
jmp case.0x46614a.7
mov dword [0x4d6988], 5
jmp case.0x46614a.7
mov dword [0x4d6988], 6
jmp case.0x46614a.7
mov dword [0x4d6988], 7
push 0x4d696c
push 0
push 0x104d
push dword [esp + 0x24]
call ebx
push 0x4d696c
push 0
push 0x104d
push ebp
call ebx
lea eax, [edi - 0x3c]
mov dword [esp + 0x28], 3
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x1074
push ebp
call ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 4
push eax
push esi
push 0x1074
push ebp
mov dword [esp + 0x44], edi
call ebx
lea eax, [edi + 0x3c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x1074
push ebp
call ebx
lea eax, [edi - 0x8c]
mov dword [esp + 0x28], 2
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x1074
push ebp
call ebx
lea eax, [edi - 0xc8]
push eax
lea eax, [esp + 0x180]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
xor eax, eax
push 0x4e5e28
mov word [esp + 0x186], ax
lea eax, [esp + 0x184]
push 0x4bc
push eax
push str.SCANFILESDRIVES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x4e5e28
mov dword [esp + 0x18], eax
lea eax, [esp + 0x184]
push 0
push eax
push str.UNINSTALLDRIVES
mov dword [esp + 0x40], 0xf000
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
and eax, 0x1000
add eax, 0x1000
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x102b
push dword [esp + 0x24]
call ebx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x4bc
je 0x4662ed
test ecx, ecx
mov eax, 0x1000
mov ecx, 0x2000
cmovne eax, ecx
mov dword [esp + 0x2c], eax
jmp 0x4663e2
cmp dword [esp + 0x70], 2
jne 0x4663cd
mov eax, dword [0x4d6988]
cmp eax, 1
je 0x46630b
cmp eax, 7
jne 0x4663f8
xor eax, eax
push 0x3e
push eax
mov word [esp + 0x198], ax
lea eax, [esp + 0x19a]
push eax
call fcn.0048fb10
movzx eax, word [edi - 0xdc]
add esp, 0xc
push eax
push str.._c:
lea eax, [esp + 0x198]
push 0x20
push eax
call fcn.0040a420
add esp, 0x10
lea eax, [esp + 0x190]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x64
mov dword [esp + 0x18], eax
call fcn.0049bc8c
add esp, 4
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x5c]
push 0
push ecx
push 0x32
push eax
push 0
push 0
push 0x560000
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4663b5
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0xf000
push eax
push esi
push 0x102b
push ebp
mov dword [esp + 0x3c], 0x2000
call ebx
push dword [esp + 0x1c]
call fcn.004909de
add esp, 4
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4663f8
mov eax, dword [edi + 0x78]
cmp eax, 3
je 0x4663da
cmp eax, 0x6f
jne 0x4663f8
mov dword [esp + 0x2c], 0x2000
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0xf000
push eax
push esi
push 0x102b
push ebp
call ebx
inc esi
add edi, 0x158
cmp esi, dword [0x4e6038]
jl 0x466120
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x1cc
ret