Function at 0x1800070b0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x368]
sub rsp, 0x460
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x18003c0b0]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x30]
call fcn.18000d130
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x18000788b
mov eax, dword [0x18003d848]
test al, 1
jne 0x180007151
or eax, 1
mov dword [0x18003d848], eax
lea rcx, [0x18003d350]
call fcn.1800034e0
lea rcx, [0x1800260a0]
call fcn.18000b81c
nop
xor ecx, ecx
call fcn.180012f30
mov edx, eax
lea rcx, [0x18003d350]
call fcn.180003f40
mov ebx, eax
xor esi, esi
mov word [rbp + 0x18], si
xor eax, eax
mov qword [rbp + 0x1a], rax
mov qword [rbp + 0x22], rax
mov word [rbp + 0x2a], ax
mov r8d, ebx
lea rdx, [0x180028720]
lea rcx, [rbp + 0x18]
call fcn.180001cc0
lea rdx, [rbp - 0x68]
lea rcx, [0x18003d350]
call fcn.1800044b0
nop
lea rdx, [rbp - 8]
lea rcx, [0x18003d350]
call fcn.1800044f0
nop
cmp qword [rbp - 0x58], rsi
jne 0x1800071c6
mov ecx, 0x92
call fcn.180001b50
jmp 0x180007847
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
or r8d, 0xffffffff
lea rdx, str.52b1bd
lea rcx, str.XKSetting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
jne 0x180007201
mov edx, eax
mov ecx, 0x93
call fcn.180001b50
jmp 0x180007847
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
lea r8, [rbp + 0x18]
lea rdx, str.52b1bd
lea rcx, str.XKSetting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, [rbp - 0x28]
lea rcx, [0x18003d350]
call fcn.180003f00
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
mov r8d, 6
lea rdx, str.0f9509
lea rcx, [rsp + 0x58]
call fcn.180001560
nop
lea rcx, [rsp + 0x58]
mov r10, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp rcx, rax
jae 0x180007352
lea rcx, [rsp + 0x58]
cmp r10, rcx
ja 0x180007352
lea rbx, [rsp + 0x58]
sub rbx, r10
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x18000731f
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x18000731f
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x1800072e3
lea rcx, str.vector_T__too_long
call fcn.18000abb4
int3
lea rdx, [rax + 1]
sub r8, r10
sar r8, 5
mov rax, r8
shr rax, 1
sub r9, rax
add rax, r8
mov rcx, rsi
cmp r9, r8
cmovae rcx, rax
cmp rcx, rdx
cmovae rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1800024a0
mov rax, qword [rsp + 0x38]
mov r10, qword [rsp + 0x30]
and rbx, 0xffffffffffffffe0
add rbx, r10
test rax, rax
je 0x180007402
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 8
jb 0x180007347
mov rcx, qword [rax]
jmp 0x18000734a
mov rcx, rax
mov rdx, rbx
jmp 0x1800073f2
mov r8, qword [rsp + 0x40]
cmp rax, r8
jne 0x1800073cd
mov rcx, r8
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x1800073cd
sub rax, r10
sar rax, 5
movabs r9, 0x7ffffffffffffff
mov rcx, r9
sub rcx, rax
cmp rcx, 1
jae 0x180007396
lea rcx, str.vector_T__too_long
call fcn.18000abb4
int3
lea rdx, [rax + 1]
sub r8, r10
sar r8, 5
mov rax, r8
shr rax, 1
sub r9, rax
add rax, r8
mov rcx, rsi
cmp r9, r8
cmovae rcx, rax
cmp rcx, rdx
cmovae rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1800024a0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x180007402
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 8
jb 0x1800073ea
mov rcx, qword [rax]
jmp 0x1800073ed
mov rcx, rax
lea rdx, [rsp + 0x58]
mov word [rcx], si
mov rcx, rax
call fcn.180002410
mov rax, qword [rsp + 0x38]
add rax, 0x20
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180007428
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.1800016b0
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
mov r8d, 1
lea rdx, [0x180028748]
lea rcx, [rsp + 0x58]
call fcn.180001560
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.180009600
nop
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x180007480
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.1800016b0
lea r8, [rsp + 0x30]
lea rdx, str.d3cbf1
lea rcx, [rbp - 0x48]
call fcn.180002bd0
nop
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180007543
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov ecx, 0x94
call fcn.180001b50
mov dword [rsp + 0x4c], 0xbb8
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.180005cc0
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rcx, [rsp + 0x58]
call fcn.180005cc0
nop
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [0x18003d350]
call fcn.180003810
nop
lea rcx, [rsp + 0x58]
call fcn.180001230
nop
lea rcx, [rsp + 0x78]
jmp 0x180007822
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x140]
call fcn.18000d130
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rax, qword [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x140]
lea r8, [0x1800275a0]
lea rdx, str.97b842
lea rcx, str.XKSetting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x58], si
cmp word [rbp + 0x140], 0
jne 0x1800075b6
mov r8, rsi
jmp 0x1800075cc
lea rax, [rbp + 0x140]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800075c1
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.180001560
nop
cmp qword [rsp + 0x68], 0
je 0x180007601
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000766b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rsi
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rcx, qword [rbp - 8]
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, str..exe
call fcn.180001f80
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x180007661
lea rax, [rsp + 0x58]
cmp rax, rdx
je 0x180007661
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.180001420
nop
lea rcx, [rsp + 0x78]
call fcn.180001e80
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180007801
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov edi, 3
mov r8d, edi
lea rdx, str.1692b0
lea rcx, str.XKSetting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
test eax, eax
cmove ebx, edi
movzx r9d, byte [rsp + 0x48]
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.180001d20
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
lea r8d, [rdi + 3]
lea rdx, str.0f9509
lea rcx, [rsp + 0x78]
call fcn.180001560
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180009600
nop
lea rcx, [rsp + 0x78]
call fcn.180001230
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rsi
mov word [rsp + 0x78], si
lea r8d, [rdi - 2]
lea rdx, [0x180028748]
lea rcx, [rsp + 0x78]
call fcn.180001560
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180009600
nop
lea rcx, [rsp + 0x78]
call fcn.180001230
lea r8, [rsp + 0x30]
lea rdx, str.241794
lea rcx, [rsp + 0x78]
call fcn.180002bd0
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.1800037a0
lea rcx, [rsp + 0x78]
call fcn.180001230
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov ecx, 0x94
call fcn.180001b50
imul eax, ebx, 0x3e8
mov dword [rsp + 0x4c], eax
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.180005cc0
nop
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [0x18003d350]
call fcn.180003810
nop
lea rcx, [rsp + 0x78]
call fcn.180001230
jmp 0x18000781d
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov ecx, 0x95
call fcn.180001b50
nop
lea rcx, [rsp + 0x58]
call fcn.180001230
nop
lea rcx, [rbp - 0x48]
call fcn.180001230
nop
lea rcx, [rsp + 0x30]
call fcn.180001e80
nop
lea rcx, [rbp - 0x28]
call fcn.180001230
nop
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x180007861
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1800016b0
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rsi
mov word [rbp - 8], si
mov r8, qword [rbp - 0x50]
cmp r8, 8
jb 0x18000788b
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.1800016b0
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.18000b3b0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret