Function at 0x140056860
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 [0x1403d88e8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r8
mov rsi, rdx
test r8, r8
jne 0x1400568b8
lea r8, str.DefLevelSetter.cpp
mov edx, 0xe1
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
jmp 0x140056b1f
test rsi, rsi
jne 0x1400568dc
lea r8, str.DefLevelSetter.cpp
mov edx, 0xe2
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
jmp 0x140056b1f
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, [0x140345b70]
or rdi, 0xffffffffffffffff
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], bp
jne 0x140056900
mov r8d, eax
mov rdx, rbx
lea rcx, [r14 + 8]
call fcn.1400105e0
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], bp
jne 0x140056920
mov r8d, eax
mov rdx, rbx
lea rcx, [r14 + 0x10]
call fcn.1400105e0
mov dword [r14 + 0x18], ebp
mov edx, 0x26
mov rcx, rsi
call fcn.14029fc6c
test rax, rax
je 0x1400569f3
mov edx, 0x26
mov rcx, rsi
call fcn.14029fc6c
sub rax, rsi
sar rax, 1
inc rax
cmp rax, 0x7ffffffe
jbe 0x140056977
mov word [rsp + 0x30], bp
jmp 0x1400569be
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 0x1400569b0
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400569b0
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140056990
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 0x1400569c6
cmp rax, 8
jb 0x1400569f3
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1402a75c8
mov ecx, eax
shr ecx, 0x10
mov word [r14], cx
mov word [r14 + 2], ax
mov edx, 0x26
mov rcx, rsi
call fcn.14029fc6c
test rax, rax
je 0x140056abb
mov edx, 0x5f
mov rcx, rsi
call fcn.14029fc6c
test rax, rax
je 0x140056abb
mov rax, rdi
inc rax
cmp word [rsi + rax*2], bp
jne 0x140056a22
mov r8d, eax
mov rdx, rsi
lea rcx, [r14 + 8]
call fcn.1400105e0
mov edx, 0x5f
mov rcx, rsi
call fcn.14029fc6c
mov rbx, rax
mov edx, 0x26
mov rcx, rsi
call fcn.14029fc6c
sub rbx, rax
sar rbx, 1
mov edx, 0x26
mov rcx, rsi
call fcn.14029fc6c
sub rax, rsi
sar rax, 1
lea r8d, [rax + 1]
lea r9d, [rbx - 1]
lea rdx, [rsp + 0x20]
lea rcx, [r14 + 8]
call fcn.14001cee0
nop
mov rdx, rax
lea rcx, [r14 + 8]
call fcn.1400157c0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056ab2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [r14 + 8]
call fcn.14001c920
mov edx, 0x5f
mov rcx, rsi
call fcn.14029fc6c
test rax, rax
je 0x140056afc
mov edx, 0x5f
mov rcx, rsi
call fcn.14029fc6c
add rax, 2
je 0x140056aed
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140056ae0
mov rbp, rdi
mov r8d, ebp
mov rdx, rax
lea rcx, [r14 + 0x10]
call fcn.1400105e0
mov r9, qword [0x1404005e0]
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.14029d880
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