Function at 0x1000e0f0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 8]
push esi
push edi
push eax
push str.SOFTWAREWebzenMuConfig
push 0x80000001
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1000e14f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push str.Resolution
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e14a
mov edi, dword [ebp - 4]
jmp 0x1000e151
push dword [ebp - 8]
call esi
xor edi, edi
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push str.SOFTWAREWebzenMuConfig
push 0x80000001
mov dword [ebp - 0xc], 4
call ebx
test eax, eax
jne 0x1000e1a2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push str.WindowMode
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1000e198
push dword [ebp - 8]
call esi
jmp 0x1000e1a2
cmp dword [ebp - 4], 0
jne 0x1000e2e0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebx, eax
call esi
cmp ebx, 0x280
jne 0x1000e1cc
cmp eax, 0x1e0
jne 0x1000e2e0
xor edi, edi
jmp 0x1000e2e0
cmp ebx, 0x320
jne 0x1000e1e9
cmp eax, 0x258
jne 0x1000e2e0
mov edi, 1
jmp 0x1000e2e0
cmp ebx, 0x400
jne 0x1000e206
cmp eax, 0x300
jne 0x1000e2e0
mov edi, 2
jmp 0x1000e2e0
cmp ebx, 0x500
jne 0x1000e223
cmp eax, 0x400
jne 0x1000e2e0
mov edi, 3
jmp 0x1000e2e0
cmp ebx, 0x556
jne 0x1000e240
cmp eax, 0x300
jne 0x1000e2e0
mov edi, 4
jmp 0x1000e2e0
cmp ebx, 0x5a0
jne 0x1000e25d
cmp eax, 0x384
jne 0x1000e2e0
mov edi, 5
jmp 0x1000e2e0
cmp ebx, 0x640
jne 0x1000e273
cmp eax, 0x384
jne 0x1000e2e0
mov edi, 6
jmp 0x1000e2e0
cmp ebx, 0x690
jne 0x1000e289
cmp eax, 0x41a
jne 0x1000e2e0
mov edi, 7
jmp 0x1000e2e0
cmp ebx, 0x780
jne 0x1000e29f
cmp eax, 0x438
jne 0x1000e2e0
mov edi, 8
jmp 0x1000e2e0
cmp ebx, 0xa00
jne 0x1000e2b5
cmp eax, 0x5a0
jne 0x1000e2e0
mov edi, 9
jmp 0x1000e2e0
cmp ebx, 0xf00
jne 0x1000e2cb
cmp eax, 0x870
jne 0x1000e2e0
mov edi, 0xa
jmp 0x1000e2e0
cmp ebx, 0x550
jne 0x1000e2e0
cmp eax, 0x300
mov ecx, 0xb
cmove edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str..Settings.ini
push 0xe
push str.Height
push str.Font
call esi
push str..Settings.ini
push 1
push str.AutoSetHeightAtHighResolutions
push str.Font
mov ebx, eax
call esi
test edi, edi
jne 0x1000e317
sub ebx, 3
jmp 0x1000e357
cmp edi, 1
jne 0x1000e321
sub ebx, 2
jmp 0x1000e357
cmp edi, 2
jne 0x1000e329
dec ebx
jmp 0x1000e357
cmp edi, 3
je 0x1000e357
cmp edi, 4
je 0x1000e356
cmp edi, 5
je 0x1000e356
cmp edi, 6
je 0x1000e356
cmp edi, 7
je 0x1000e356
cmp edi, 8
je 0x1000e356
cmp edi, 9
je 0x1000e356
cmp edi, 0xa
je 0x1000e356
cmp edi, 0xb
jne 0x1000e357
inc ebx
cmp eax, 1
jne 0x1000e376
cmp edi, 9
jne 0x1000e369
lea ebx, [eax + 0x13]
lea eax, [edi - 1]
jmp switch.0x1000e38c
cmp edi, 0xa
jne 0x1000e376
lea ebx, [edi + 0x14]
lea eax, [edi - 1]
jmp switch.0x1000e38c
mov eax, 5
cmp ebx, eax
cmovl ebx, eax
lea eax, [edi - 1]
cmp eax, 0xa
ja case.default.0x1000e38c
jmp dword [eax*4 + 0x1000e530]
mov dword [0x1003b050], 0x2580320
mov word [0x1003b054], bx
mov dword [0x1003b056], 0x2700aa
mov dword [0x1003b05a], 0x900063
jmp 0x1000e4e7
mov dword [0x1003b050], 0x3000400
mov word [0x1003b054], bx
mov dword [0x1003b056], 0x220096
mov dword [0x1003b05a], 0x800059
jmp 0x1000e4e7
mov dword [0x1003b050], 0x4000500
mov word [0x1003b054], bx
mov dword [0x1003b056], 0x1d0082
mov dword [0x1003b05a], 0x6d004a
jmp 0x1000e4e7
mov dword [0x1003b050], 0x3000558
mov dword [0x1003b056], 0x1d0082
mov word [0x1003b054], bx
mov dword [0x1003b05a], 0x6d004a
jmp 0x1000e4c3
mov dword [0x1003b050], 0x38405a0
jmp 0x1000e41b
mov dword [0x1003b050], 0x3840640
jmp 0x1000e41b
mov dword [0x1003b050], 0x41a0690
jmp 0x1000e41b
mov dword [0x1003b050], 0x4380780
jmp 0x1000e41b
mov dword [0x1003b050], 0x5a00a00
jmp 0x1000e41b
mov dword [0x1003b050], 0x8700f00
mov dword [0x1003b056], 0x170082
jmp 0x1000e425
mov dword [0x1003b050], 0x3000550
jmp 0x1000e41b
mov dword [0x1003b050], 0x1e00280
mov word [0x1003b054], bx
mov dword [0x1003b056], 0x2c00be
mov dword [0x1003b05a], 0x9a0068
cmp edi, 4
jl 0x1000e4e7
mov byte [0x605ab8], 0xa0
mov eax, 0x1000e610
mov byte [0x605ac2], 0x20
sub eax, 0x438230
mov byte [0x43822b], 0xe8
mov dword [0x43822c], eax
mov byte [0x4a74fe], 0xe8
mov eax, 0x1000e560
sub eax, 0x4a7503
mov dword [0x4a74ff], eax
mov eax, 0x1000e5d0
sub eax, 0x438c45
mov byte [0x438c40], 0xe8
mov dword [0x438c41], eax
mov eax, 0x1000e5b0
pop edi
sub eax, 0x4a853c
mov byte [0x4a8537], 0xe8
pop esi
mov dword [0x4a8538], eax
pop ebx
mov esp, ebp
pop ebp
ret