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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14001e658]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov edi, edx
mov rbx, rcx
cmp qword [rcx + 0x48], 0x10
jb 0x14000711c
mov r9, qword [rcx + 0x30]
jmp 0x140007120
lea r9, [rcx + 0x30]
lea rdx, [0x14001e1a0]
cmp qword [0x14001e1b8], 0x10
cmovae rdx, qword [0x14001e1a0]
lea rcx, [0x14001e128]
cmp qword [0x14001e140], 0x10
cmovae rcx, qword [0x14001e128]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov r13d, eax
test eax, eax
je 0x1400074fb
mov ebp, 0xf
mov qword [rsp + 0x88], rbp
xor r15d, r15d
mov qword [rsp + 0x80], r15
mov byte [rsp + 0x70], r15b
cmp edi, 1
jne 0x140007222
cmp qword [rbx + 0x48], 0x10
jb 0x140007195
mov rax, qword [rbx + 0x30]
jmp 0x140007199
lea rax, [rbx + 0x30]
lea rdx, [0x14001e150]
cmp qword [0x14001e168], 0x10
cmovae rdx, qword [0x14001e150]
lea rcx, [0x14001e128]
cmp qword [0x14001e140], 0x10
cmovae rcx, qword [0x14001e128]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x290]
lea r8, [0x140017561]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x140007203
mov eax, r15d
jmp 0x1400072bd
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x290]
mov rcx, rbx
call fcn.140006ac0
mov eax, 1
jmp 0x1400072bd
cmp edi, 2
jne 0x1400074e9
cmp qword [rbx + 0x48], 0x10
jb 0x140007238
mov rax, qword [rbx + 0x30]
jmp 0x14000723c
lea rax, [rbx + 0x30]
lea rdx, [0x14001e178]
cmp qword [0x14001e190], 0x10
cmovae rdx, qword [0x14001e178]
lea rcx, [0x14001e128]
cmp qword [0x14001e140], 0x10
cmovae rcx, qword [0x14001e128]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x190]
lea r8, [0x140017561]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x1400072a3
mov eax, r15d
jmp 0x1400072bd
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x190]
mov rcx, rbx
call fcn.140006ac0
mov eax, 1
test eax, eax
jne 0x1400072ce
mov rbp, qword [rsp + 0x88]
jmp 0x1400074e9
cmp qword [rsp + 0x80], 0
je 0x1400074d0
lea rcx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1400074d0
mov r14d, r15d
mov esi, r15d
test r13d, r13d
jle 0x1400074b6
nop
lea rdx, [0x14001e1c8]
cmp qword [0x14001e1e0], 0x10
cmovae rdx, qword [0x14001e1c8]
mov r8d, esi
lea rcx, [rsp + 0x390]
call qword [sym.imp.USER32.dll_wsprintfA]
cmp qword [rbx + 0x48], 0x10
jb 0x140007345
mov rax, qword [rbx + 0x30]
jmp 0x140007349
lea rax, [rbx + 0x30]
lea rcx, [0x14001e128]
cmp qword [0x14001e140], 0x10
cmovae rcx, qword [0x14001e128]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x90]
lea r8, [0x140017561]
lea rdx, [rsp + 0x390]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1400074ab
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov byte [rsp + 0x40], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.140005a80
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140006670
nop
cmp qword [rsp + 0x58], 0x10
jb 0x1400073f9
mov rcx, qword [rsp + 0x40]
call fcn.140009b34
mov dword [rsp + 0x30], r15d
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae r8, qword [rsp + 0x70]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea rdx, [rsp + 0x90]
xor ecx, ecx
call sub.newdev.dll_UpdateDriverForPlugAndPlayDevicesA
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov byte [rsp + 0x40], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.140005a80
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140006940
mov edi, eax
cmp qword [rsp + 0x58], 0x10
jb 0x140007497
mov rcx, qword [rsp + 0x40]
call fcn.140009b34
test edi, edi
je 0x1400074ab
mov r8d, dword [rsp + 0x30]
mov edx, r12d
mov rcx, rbx
call fcn.140004050
inc esi
cmp esi, r13d
jl 0x140007310
cmp qword [rsp + 0x88], 0x10
jb 0x1400074cb
mov rcx, qword [rsp + 0x70]
call fcn.140009b34
mov eax, r14d
jmp 0x1400074fb
cmp qword [rsp + 0x88], 0x10
jb 0x1400074e5
mov rcx, qword [rsp + 0x70]
call fcn.140009b34
xor eax, eax
jmp 0x1400074fb
cmp rbp, 0x10
jb 0x1400074f9
mov rcx, qword [rsp + 0x70]
call fcn.140009b34
xor eax, eax
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14000a3b0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret