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

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x4c4004]
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 [0x4def88]
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 [0x4def88]
call esi
push pe_nt_image_headers32
mov ebp, eax
lea eax, [esp + 0x68]
push 0
push eax
call fcn.0048e770
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.00464a90
xor esi, esi
cmp dword [0x4def90], esi
jle 0x4651ab
mov edi, 0x4dbbb4
nop dword [eax + eax]
lea eax, [edi - 0xc8]
mov dword [0x4cf930], esi
mov dword [0x4cf940], eax
mov eax, dword [edi + 0x78]
mov dword [0x4cf934], 0
cmp eax, 0x6f
ja case.0x464eea.7
movzx eax, byte [eax + 0x4651e8]
jmp dword [eax*4 + 0x4651c4]
mov dword [0x4cf948], 0
jmp case.0x464eea.7
mov dword [0x4cf948], 1
jmp case.0x464eea.7
mov dword [0x4cf948], 2
jmp case.0x464eea.7
mov dword [0x4cf948], 3
jmp case.0x464eea.7
mov dword [0x4cf948], 4
jmp case.0x464eea.7
mov dword [0x4cf948], 5
jmp case.0x464eea.7
mov dword [0x4cf948], 6
jmp case.0x464eea.7
mov dword [0x4cf948], 7
push 0x4cf92c
push 0
push 0x104d
push dword [esp + 0x24]
call ebx
push 0x4cf92c
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 0x4ded80
mov word [esp + 0x186], ax
lea eax, [esp + 0x184]
push 0x4bc
push eax
push 0x4ba8b4
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntW]
push 0x4ded80
mov dword [esp + 0x18], eax
lea eax, [esp + 0x184]
push 0
push eax
push 0x4ba8d4
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 0x46508d
test ecx, ecx
mov eax, 0x1000
mov ecx, 0x2000
cmovne eax, ecx
mov dword [esp + 0x2c], eax
jmp 0x465182
cmp dword [esp + 0x70], 2
jne 0x46516d
mov eax, dword [0x4cf948]
cmp eax, 1
je 0x4650ab
cmp eax, 7
jne 0x465198
xor eax, eax
push 0x3e
push eax
mov word [esp + 0x198], ax
lea eax, [esp + 0x19a]
push eax
call fcn.0048e770
movzx eax, word [edi - 0xdc]
add esp, 0xc
push eax
push 0x4ba8f4
lea eax, [esp + 0x198]
push 0x20
push eax
call fcn.0040a370
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.00494f3d
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 0x465155
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.0048f63e
add esp, 4
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x465198
mov eax, dword [edi + 0x78]
cmp eax, 3
je 0x46517a
cmp eax, 0x6f
jne 0x465198
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 [0x4def90]
jl 0x464ec0
mov ecx, dword [esp + 0x1d4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1cc
ret