Function at 0x419e50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push edi
mov edi, dword [esp + 0x94]
mov esi, ecx
xor ebx, ebx
jmp 0x419e70
push ebx
lea eax, [esp + 0x14]
push str.use_encoding__d
push eax
call fcn.0042da36
movzx eax, byte [esi + ebx + 0x260]
add esp, 0xc
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
push str.options
call ebp
test eax, eax
setne dl
mov byte [esi + ebx + 0x260], dl
inc ebx
cmp ebx, 8
jle 0x419e70
mov eax, dword [esi + 0x220]
push edi
push eax
push str.preferred_encoding
push str.options
call ebp
mov dword [esi + 0x220], eax
movzx eax, byte [esi + 0x21a]
push edi
push eax
push str.restricted
push str.options
call ebp
test eax, eax
setne al
mov byte [esi + 0x21a], al
movzx eax, byte [esi + 0x21b]
push edi
push eax
push str.viewonly
push str.options
call ebp
test eax, eax
movzx eax, byte [esi + 0x21c]
push edi
push eax
push str.fullscreen
setne cl
push str.options
mov byte [esi + 0x21b], cl
call ebp
test eax, eax
movzx eax, byte [esi + 0x21d]
push edi
push eax
push str.8bit
setne dl
push str.options
mov byte [esi + 0x21c], dl
call ebp
test eax, eax
setne al
mov byte [esi + 0x21d], al
movzx eax, byte [esi + 0x230]
push edi
push eax
push str.shared
push str.options
call ebp
test eax, eax
movzx eax, byte [esi + 0x224]
push edi
push eax
push str.swapmouse
setne cl
push str.options
mov byte [esi + 0x230], cl
call ebp
test eax, eax
movzx eax, byte [esi + 0x231]
push edi
push eax
push str.belldeiconify
setne dl
push str.options
mov byte [esi + 0x224], dl
call ebp
test eax, eax
setne al
mov byte [esi + 0x231], al
movzx eax, byte [esi + 0x225]
push edi
push eax
push str.emulate3
push str.options
call ebp
test eax, eax
mov eax, dword [esi + 0x228]
setne cl
mov byte [esi + 0x225], cl
push edi
push eax
push str.emulate3timeout
push str.options
call ebp
push edi
mov dword [esi + 0x228], eax
mov eax, dword [esi + 0x22c]
push eax
push str.emulate3fuzz
push str.options
call ebp
mov dword [esi + 0x22c], eax
movzx eax, byte [esi + 0x232]
push edi
push eax
push str.disableclipboard
push str.options
call ebp
test eax, eax
mov eax, dword [esi + 0x234]
push edi
push eax
push str.localcursor
setne dl
push str.options
mov byte [esi + 0x232], dl
call ebp
mov dword [esi + 0x234], eax
movzx eax, byte [esi + 0x239]
push edi
push eax
push str.fitwindow
push str.options
call ebp
test eax, eax
setne al
push edi
mov byte [esi + 0x239], al
mov eax, dword [esi + 0x240]
push eax
push str.scale_den
push str.options
call ebp
push edi
mov dword [esi + 0x240], eax
mov eax, dword [esi + 0x23c]
push eax
push str.scale_num
push str.options
call ebp
mov dword [esi + 0x23c], eax
movzx eax, byte [esi + 0x254]
push edi
push eax
push str.cursorshape
push str.options
call ebp
test eax, eax
movzx eax, byte [esi + 0x255]
push edi
push eax
push str.noremotecursor
setne cl
push str.options
mov byte [esi + 0x254], cl
call ebp
push edi
push 0xffffffffffffffff
test eax, eax
push str.compresslevel
setne dl
push str.options
mov byte [esi + 0x255], dl
call ebp
cmp eax, 0xffffffff
mov byte [esi + 0x244], 0
mov bl, 1
je 0x41a0f0
mov byte [esi + 0x244], bl
mov dword [esi + 0x248], eax
push edi
push 6
push str.quality
push str.options
call ebp
cmp eax, 0xffffffff
mov byte [esi + 0x24c], bl
jne 0x41a11e
pop edi
mov byte [esi + 0x24c], 0
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 4
pop edi
mov dword [esi + 0x250], eax
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 4