Function at 0x140054760
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r8
mov rsi, rdx
test r8, r8
jne 0x1400547b8
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguideflevelsetter.cpp
mov edx, 0xe1
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x140054a1f
test rsi, rsi
jne 0x1400547dc
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguideflevelsetter.cpp
mov edx, 0xe2
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
xor eax, eax
jmp 0x140054a1f
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
xor ebp, ebp
mov dword [r8], ebp
lea rbx, [0x140328530]
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rbx + rax*2], bp
jne 0x140054802
mov r8d, eax
mov rdx, rbx
lea rcx, [r14 + 8]
call fcn.140010390
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], bp
jne 0x140054820
mov r8d, eax
mov rdx, rbx
lea rcx, [r14 + 0x10]
call fcn.140010390
mov dword [r14 + 0x18], ebp
mov edx, 0x26
mov rcx, rsi
call fcn.140283a6c
test rax, rax
je 0x1400548f3
mov edx, 0x26
mov rcx, rsi
call fcn.140283a6c
sub rax, rsi
sar rax, 1
inc rax
cmp rax, 0x7ffffffe
jbe 0x140054877
mov word [rsp + 0x30], bp
jmp 0x1400548be
mov edx, 0xa
lea rcx, [rsp + 0x30]
lea r9, [rax - 0xa]
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rax, [r9 + rdx]
test rax, rax
je 0x1400548b0
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400548b0
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140054890
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], bp
lea rcx, [rsp + 0x30]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], bp
jne 0x1400548c6
cmp rax, 8
jb 0x1400548f3
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.14028b860
mov ecx, eax
shr ecx, 0x10
mov word [r14], cx
mov word [r14 + 2], ax
mov edx, 0x26
mov rcx, rsi
call fcn.140283a6c
test rax, rax
je 0x1400549bb
mov edx, 0x5f
mov rcx, rsi
call fcn.140283a6c
test rax, rax
je 0x1400549bb
mov rax, rdi
inc rax
cmp word [rsi + rax*2], bp
jne 0x140054922
mov r8d, eax
mov rdx, rsi
lea rcx, [r14 + 8]
call fcn.140010390
mov edx, 0x5f
mov rcx, rsi
call fcn.140283a6c
mov rbx, rax
mov edx, 0x26
mov rcx, rsi
call fcn.140283a6c
sub rbx, rax
sar rbx, 1
mov edx, 0x26
mov rcx, rsi
call fcn.140283a6c
sub rax, rsi
sar rax, 1
lea r8d, [rax + 1]
lea r9d, [rbx - 1]
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 8]
call fcn.14001be70
nop
mov rdx, rax
lea rcx, [r14 + 8]
call fcn.140014890
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400549b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [r14 + 8]
call fcn.14001b8e0
mov edx, 0x5f
mov rcx, rsi
call fcn.140283a6c
test rax, rax
je 0x1400549fc
mov edx, 0x5f
mov rcx, rsi
call fcn.140283a6c
add rax, 2
je 0x1400549ed
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400549e0
mov rbp, rdi
mov r8d, ebp
mov rdx, rax
lea rcx, [r14 + 0x10]
call fcn.140010390
mov r9, qword [0x1403dca20]
xor r8d, r8d
lea rdx, str.MasterVol
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [r14 + 0x18], eax
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret