Function at 0x110022470
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x110109588]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x30]
call fcn.11009c5d0
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x48]
lea r13, [0x1100d1c68]
mov rcx, r13
movabs rax, 0x14043caa0
call rax
test al, al
je 0x1100229de
mov rax, qword [rsp + 0x48]
mov ecx, dword [rdi + 4]
cmp dword [rsp + 0x4c], ecx
jne 0x11002250c
cmp eax, dword [rdi]
je 0x1100229de
mov qword [rdi], rax
xor bl, bl
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x40
lea r9, [rbp - 0x70]
lea r8, [0x1100cf738]
lea rdx, [0x1100d14c0]
lea rcx, [0x1100d14f4]
call qword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov r8d, 4
lea rdx, [0x1100cf740]
lea rcx, [rbp - 0x70]
call fcn.1100b1d78
mov r14d, 1
test eax, eax
cmove ebx, r14d
mov r8d, r14d
lea rdx, [0x1100d14c8]
lea rcx, [rbp - 0x70]
call fcn.1100b1cb0
movzx ecx, bl
test eax, eax
cmove ecx, r14d
mov byte [rdi + 8], cl
mov r9, r13
xor r8d, r8d
lea rdx, [0x1100d1c90]
lea rcx, [0x1100d14f4]
call qword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
mov byte [rdi + 9], al
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80
lea r9, [rbp - 0x30]
lea r8, [0x1100d14fc]
lea rdx, [0x1100d1ca0]
lea rcx, [0x1100d14f4]
call qword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
lea r9, [0x1100cfd00]
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x30]
mov rcx, qword [0x110207df0]
call fcn.1100394a0
nop
xor r12d, r12d
mov r8, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp r8, rax
je 0x1100226d1
xor r15b, r15b
mov r14d, r12d
sub rax, r8
sar rax, 5
test rax, rax
je 0x1100226c7
mov esi, r12d
mov ebx, r12d
nop word [rax + rax]
mov rcx, qword [r8 + rbx + 0x10]
inc rcx
call fcn.11009b934
mov rdx, qword [rsp + 0x30]
add rdx, rbx
cmp qword [rdx + 0x18], 0x10
jb 0x11002263f
mov rdx, qword [rdx]
mov rcx, qword [0x110207df0]
call fcn.110039030
test al, al
jne 0x110022674
lea r8, [rdi + 0xa]
mov rcx, qword [0x110207f98]
add rcx, 0x378
lea rdx, [0x1100d1cb0]
call fcn.11003df70
mov r8, qword [rsp + 0x30]
jmp 0x1100226a2
mov r8, qword [rsp + 0x30]
lea rax, [r8 + rbx]
cmp qword [rax + 0x18], 0x10
jb 0x110022687
mov rax, qword [rax]
mov rdx, rsi
sub rdx, rax
add rdx, rdi
movzx ecx, byte [rax]
mov byte [rdx + rax + 0xa], cl
lea rax, [rax + 1]
test cl, cl
jne 0x110022690
mov r15b, 1
inc r14
add rbx, 0x20
add rsi, 8
mov rax, qword [rsp + 0x38]
sub rax, r8
sar rax, 5
cmp r14, rax
jb 0x110022620
test r15b, r15b
jne 0x1100226cb
mov byte [rdi + 8], r12b
mov r14d, 1
xor bl, bl
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x40
lea r9, [rbp - 0x70]
lea r8, [0x1100cf738]
lea rdx, [0x1100d1ce8]
lea rcx, [0x1100d14f4]
call qword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov r8d, 4
lea rdx, [0x1100cf740]
lea rcx, [rbp - 0x70]
call fcn.1100b1d78
test eax, eax
cmove ebx, r14d
mov r8, r14
lea rdx, [0x1100d14c8]
lea rcx, [rbp - 0x70]
call fcn.1100b1cb0
movzx ecx, bl
test eax, eax
cmove ecx, r14d
mov byte [rdi + 0x19a], cl
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80
lea r9, [rbp - 0x30]
lea r8, [0x1100d14fc]
lea rdx, [0x1100d1cf8]
lea rcx, [0x1100d14f4]
call qword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov r9b, 0x2c
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x50]
mov rcx, qword [0x110207df0]
call fcn.110039210
nop
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
cmp r8, rdx
je 0x1100227c4
sub rdx, r8
sar rdx, 2
mov dword [rdi + 0x19c], edx
mov rcx, r12
test rdx, rdx
je 0x1100227c4
nop word [rax + rax]
movzx eax, byte [r8 + rcx*4]
mov byte [rdi + rcx + 0x1a0], al
inc rcx
cmp rcx, rdx
jb 0x1100227b0
mov r9, r13
xor r8d, r8d
lea rdx, [0x1100d1d10]
lea rcx, [0x1100d14f4]
call qword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
mov dword [rdi + 0x1c0], eax
movsxd rcx, eax
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.11009b934
mov qword [rdi + 0x1c8], rax
mov ebx, r12d
cmp dword [rdi + 0x1c0], ebx
jle 0x1100228cb
nop dword [rax + rax]
mov r8d, ebx
lea rdx, [0x1100d1d20]
lea rcx, [rsp + 0x70]
call fcn.110001a70
movsxd rax, ebx
lea rsi, [rax*8]
mov r9, qword [rdi + 0x1c8]
add r9, rsi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 8
lea r8, [0x1100d14fc]
lea rdx, [rsp + 0x70]
lea rcx, [0x1100d14f4]
call qword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov rdx, qword [rdi + 0x1c8]
add rdx, rsi
mov rcx, qword [0x110207df0]
call fcn.110039030
test al, al
jne 0x1100228bd
mov r9, qword [rdi + 0x1c8]
add r9, rsi
mov rcx, qword [0x110207f98]
add rcx, 0x378
mov r8d, ebx
lea rdx, [0x1100d1d30]
call fcn.11003df70
mov rax, qword [rdi + 0x1c8]
xor ecx, ecx
mov qword [rsi + rax], rcx
inc ebx
cmp ebx, dword [rdi + 0x1c0]
jl 0x110022820
mov edx, 4
mov rcx, qword [0x1101121c8]
call fcn.110011920
test al, al
jne 0x1100228e3
mov byte [rdi + 8], al
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x11002293a
mov rax, qword [rsp + 0x60]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x110022926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x110022a11
call fcn.11009afc0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1100229de
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x1100229a9
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x11002298c
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x110022987
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x110022a0b
mov rcx, r8
call fcn.11009afc0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rdi
jne 0x110022952
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1100229d6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x110022a17
mov rcx, rbx
call fcn.11009afc0
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.11009af60
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1100a900c
nop
call fcn.1100a900c
nop
call fcn.1100a900c
int3