Function at 0x140021370
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov r8, rdx
mov edx, 0x8c
call fcn.140028c30
nop
lea rax, vtable.CFontSelectionDlg.0
mov qword [rdi], rax
lea rcx, [rdi + 0x300]
call fcn.1400325d0
nop
lea rcx, [rdi + 0x640]
call fcn.1400325d0
nop
lea rcx, [rdi + 0x980]
call fcn.1400325d0
nop
lea rcx, [rdi + 0xcc0]
call fcn.140023be0
nop
lea rcx, [rdi + 0xfe8]
call fcn.140023be0
nop
lea rbx, [rdi + 0x1310]
mov qword [rsp + 0x78], rbx
mov rcx, rbx
call fcn.1400266f0
lea rax, vtable.CFontComboBox.0
mov qword [rbx], rax
lea rcx, [rdi + 0x1668]
call fcn.1400266f0
nop
lea rcx, [rdi + 0x19b8]
call fcn.1400266f0
nop
mov r9, qword [rsi + 0x168]
xor r8d, r8d
lea rdx, str.ZoomType
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x1ac], eax
mov eax, dword [rsi + 0x18c]
mov dword [rdi + 0x18c], eax
movabs rax, 0x3ff0000000000000
mov qword [rdi + 0x190], rax
lea rdx, [rsi + 0x180]
lea rcx, [rsp + 0x78]
call fcn.140002590
nop
lea rcx, [rdi + 0x180]
lea rdx, [rsp + 0x78]
call fcn.1400026b0
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002149f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [rsi + 0x188]
mov byte [rdi + 0x188], al
lea rdx, [rsi + 0x258]
lea rcx, [rsp + 0x80]
call fcn.140002590
nop
lea rcx, [rdi + 0x258]
lea rdx, [rsp + 0x80]
call fcn.1400026b0
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400214f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsi + 0x260]
lea rcx, [rsp + 0x88]
call fcn.140002590
nop
lea rcx, [rdi + 0x260]
lea rdx, [rsp + 0x88]
call fcn.1400026b0
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140021542
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsi + 0x210]
lea rcx, [rsp + 0x20]
call fcn.140002590
nop
lea rcx, [rdi + 0x210]
lea rdx, [rsp + 0x20]
call fcn.1400026b0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140021584
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsi + 0x218]
lea rcx, [rsp + 0x28]
call fcn.140002590
nop
lea rcx, [rdi + 0x218]
lea rdx, [rsp + 0x28]
call fcn.1400026b0
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400215c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsi + 0x220]
lea rcx, [rsp + 0x30]
call fcn.140002590
nop
lea rcx, [rdi + 0x220]
lea rdx, [rsp + 0x30]
call fcn.1400026b0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140021608
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsi + 0x168]
lea rcx, [rsp + 0x38]
call fcn.140002590
nop
lea rcx, [rdi + 0x168]
lea rdx, [rsp + 0x38]
call fcn.1400026b0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002164a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rdi + 0x268]
lea rdx, [0x1400901e0]
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140021660
mov r8d, ebx
call fcn.140002ba0
nop
mov rax, rdi
add rsp, 0x48
pop r14
pop rdi
pop rsi
pop rbx
ret