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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x748]
sub rsp, 0x820
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14024a080]
xor rax, rsp
mov qword [rbp + 0x710], rax
mov rsi, rcx
xor r13d, r13d
mov r15d, r13d
lea r8, str.gamepatchQconfig.ini
lea rdx, [rcx + 0x28]
lea rcx, [rsp + 0x78]
call fcn.14007de90
nop
cmp dword [rsi + 0x14], r13d
jle 0x1400830c5
mov r14d, 1
nop
mov dword [rsi + 0x20], r13d
mov edx, r14d
lea rcx, [rbp - 0x28]
call fcn.1400963a0
nop
mov r9d, 8
lea r8, str.Qconfig_
mov rcx, rax
call fcn.14008b380
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rcx, [rbp - 0x28]
call fcn.14007dbb0
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r9, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor r8d, r8d
lea rdx, str.QType
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
cmp eax, 1
jge 0x14008283c
mov rcx, qword [0x14025a8e8]
test rcx, rcx
je 0x1400830ab
lea r9, [rsi + 0x68]
cmp qword [r9 + 0x18], 8
jb 0x140082820
mov r9, qword [r9]
mov eax, dword [rsi]
mov dword [rsp + 0x20], eax
lea r8, str._s__d_
mov edx, 2
call fcn.14009f570
jmp 0x1400830ab
mov edx, r14d
lea rcx, [rbp + 0x18]
call fcn.1400963a0
mov rbx, rax
mov ecx, dword [rsi]
lea r9, [rbp + 0x10a]
nop dword [rax]
nop dword [rax + rax]
add r9, 0xfffffffffffffffe
mov eax, 0xcccccccd
mul ecx
mov r8d, edx
shr r8d, 3
movzx eax, r8w
shl ax, 2
lea edx, [rax + r8]
add dx, dx
sub cx, dx
add cx, 0x30
mov word [r9], cx
mov ecx, r8d
test r8d, r8d
jne 0x140082860
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
lea rax, [rbp + 0x10a]
cmp r9, rax
je 0x1400828cf
lea r8, [rbp + 0x10a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.14007dc20
nop
mov r8d, 1
lea rdx, [0x1401f2630]
lea rcx, [rsp + 0x30]
call fcn.14007ddb0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov r8, qword [rbx + 0x10]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
mov r9, qword [rbp - 0x38]
sub rax, r9
cmp r8, rax
jbe 0x140082947
mov rax, qword [rbx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x140082947
lea r8, [rbp - 0x48]
cmp rcx, 8
cmovae r8, qword [rbp - 0x48]
mov rcx, rbx
call fcn.14008b380
jmp 0x14008295d
cmp qword [rbx + 0x18], 8
jb 0x140082951
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.14007ddb0
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rcx, [rbp - 0x48]
call fcn.14007dbb0
nop
lea rcx, [rsp + 0x30]
call fcn.14007dbb0
nop
lea rcx, [rbp + 0x18]
call fcn.14007dbb0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x500]
call fcn.140159570
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rax, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x500]
lea r8, [rbp + 0x500]
lea rdx, str.QFilePath
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov r8d, SHCreateDirectory
lea rcx, [rbp + 0x250]
call fcn.140159570
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rax, qword [rsp + 0x78]
lea r8, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae r8, qword [rbp - 8]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x50
lea r9, [rbp + 0x250]
lea rdx, [0x1401f2650]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rbp + 0x250]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140082a71
lea rcx, [rsi + 0x48]
lea rdx, [rbp + 0x250]
call fcn.14007dc20
xor edx, edx
mov r8d, SHCreateDirectory
lea rcx, [rbp + 0x110]
call fcn.140159570
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rax, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x50
lea r9, [rbp + 0x110]
lea r8, [rbp + 0x110]
lea rdx, str.QSign
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r8, [rbp + 0x500]
lea rdx, [rsi + 0x28]
lea rcx, [rbp - 0x68]
call fcn.14007de90
nop
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140082b22
mov dword [rsi + 0x20], 3
jmp 0x140082c38
cmp edi, 1
jne 0x140082bd9
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], eax
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
lea rdx, [rbp + 0x40]
call fcn.14007d760
mov rcx, qword [0x14025a8e8]
test rcx, rcx
je 0x140082b95
lea rax, [rbp + 0x110]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
lea r8, str.Md5_compare__s__s_
lea edx, [rdi + 1]
call fcn.14009f570
lea rcx, [rbp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140082ba0
cmp rax, 2
jae 0x140082bb9
mov dword [rsi + 0x20], 4
jmp 0x140082c38
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, r13d
test eax, eax
setne cl
inc ecx
mov dword [rsi + 0x20], ecx
jmp 0x140082c38
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
lea rax, [rbp + 0x110]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140082c00
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.14007dc20
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.140085a90
mov dword [rsi + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.14007dbb0
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r9, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor r8d, r8d
lea rdx, str.reportmd5
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x140082d63
xor eax, eax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xd0], eax
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
lea rdx, [rbp + 0x90]
call fcn.14007d760
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140082cf0
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14007dc20
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x28]
call fcn.1400855f0
mov rbx, rax
lea rdi, [rsi + 0x88]
cmp rdi, rax
je 0x140082d4f
mov rcx, rdi
call fcn.1400779e0
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], send
mov byte [rbx], 0
lea rcx, [rbp - 0x28]
call fcn.1400779e0
nop
lea rcx, [rsp + 0x30]
jmp 0x140083042
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae r9, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor r8d, r8d
lea rdx, str.reporttext
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x140082e31
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140082dc5
lea rcx, [rsp + 0x30]
call fcn.14007dc20
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x28]
call fcn.140085f40
mov rbx, rax
lea rdi, [rsi + 0x88]
cmp rdi, rax
je 0x140082e1d
mov rcx, rdi
call fcn.1400779e0
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], send
mov byte [rbx], 0
lea rcx, [rbp - 0x28]
call fcn.1400779e0
nop
lea rcx, [rsp + 0x30]
jmp 0x140083042
xor edx, edx
mov r8d, SHCreateDirectory
lea rcx, [rbp + 0x1b0]
call fcn.140159570
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rax, qword [rsp + 0x78]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x50
lea r9, [rbp + 0x1b0]
lea r8, [rbp + 0x1b0]
lea rdx, str.reportinikey
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r13w
mov r8d, 3
lea rdx, [0x1401f26e0]
lea rcx, [rbp - 0x28]
call fcn.14007dc20
nop
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r13w
lea rax, [rbp + 0x1b0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140082ed5
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x18]
call fcn.14007dc20
nop
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea r8, [rbp - 0x28]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x48]
call fcn.14008a0a0
nop
mov rax, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x48]
sub rax, rbx
sar rax, 5
cmp rax, 2
jne 0x14008302a
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2f0]
call fcn.140159570
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rax, qword [rbp - 0x68]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 8
jb 0x140082f5a
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 8
jb 0x140082f64
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x2f0]
lea r8, [rbp + 0x2f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
lea rax, [rbp + 0x2f0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140082fb0
lea rdx, [rbp + 0x2f0]
lea rcx, [rsp + 0x30]
call fcn.14007dc20
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xe0]
call fcn.1400855f0
mov rbx, rax
lea rdi, [rsi + 0x88]
cmp rdi, rax
je 0x140083012
mov rcx, rdi
call fcn.1400779e0
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], send
mov byte [rbx], 0
lea rcx, [rbp + 0xe0]
call fcn.1400779e0
nop
lea rcx, [rsp + 0x30]
call fcn.14007dbb0
nop
lea rcx, [rbp - 0x48]
call fcn.14007db20
nop
lea rcx, [rbp + 0x18]
call fcn.14007dbb0
nop
lea rcx, [rbp - 0x28]
call fcn.14007dbb0
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.140083110
nop
mov rbx, r13
lea rcx, [rbp - 0x28]
call fcn.1400842d0
test al, al
jne 0x14008306f
inc rbx
cmp rbx, 3
jb 0x140083057
jmp 0x14008308d
mov rcx, qword [0x14025a8e8]
test rcx, rcx
je 0x14008308d
lea r8, str.Report_game_validity_succeed.
mov edx, 2
call fcn.14009f570
nop
lea rcx, [rbp - 0x28]
call fcn.1400779e0
nop
lea rcx, [rbp - 0x68]
call fcn.14007dbb0
nop
lea rcx, [rbp - 8]
call fcn.14007dbb0
nop
lea rcx, [rsp + 0x58]
call fcn.14007dbb0
inc r15d
inc r14d
cmp r14d, dword [rsi + 0x14]
jle 0x140082770
lea rcx, [rsp + 0x78]
call fcn.14007dbb0
mov eax, r15d
mov rcx, qword [rbp + 0x710]
xor rcx, rsp
call fcn.1400c7300
lea r11, [rsp + 0x820]
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