Function at 0x1400630d0
Capabilities:
Copy file
Delete file
Get common file path
Read .ini file
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x698
mov qword [rsp + 0x650], 0xfffffffffffffffe
mov rax, qword [0x1402aa808]
xor rax, rsp
mov qword [rsp + 0x680], rax
lea rcx, [rsp + 0x510]
call fcn.140062470
nop
mov qword [rsp + 0x578], 0
mov dword [rsp + 0x540], 0x100
mov dword [rsp + 0x570], 0x100
mov dword [rsp + 0x2a0], 0
lea rcx, [rsp + 0x2d0]
call fcn.140003370
nop
lea rcx, [rsp + 0x2a8]
call fcn.140003370
nop
lea rcx, [rsp + 0x548]
call fcn.140003370
nop
mov rax, qword [rsp + 0x6a0]
add rax, 8
mov rcx, rax
call fcn.1400312c0
mov rdx, qword [rsp + 0x6a8]
lea rcx, [rsp + 0x548]
call fcn.140010520
mov r8d, 0x20a
xor edx, edx
lea rcx, [rsp + 0x300]
call fcn.1401ac6a0
mov r8d, 0x20a
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.1401ac6a0
lea rdx, [rsp + 0x300]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14006324c
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, [0x140210118]
lea rcx, [rsp + 0x300]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14006324c
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x6a8]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14006324c
lea r9, [rsp + 0x90]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, 0x80
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x548]
call fcn.140010520
lea rcx, [rsp + 0x548]
call fcn.140003530
mov r8, rax
lea rdx, str.CInfStringTable::GetTable_strTargetInfFile___1_s__IN_n
mov ecx, 5
call fcn.14001c160
mov eax, dword [rsp + 0x570]
shl rax, 1
mov r8d, 0x363
lea rdx, [0x140211470]
mov rcx, rax
call fcn.140047520
mov qword [rsp + 0x578], rax
cmp qword [rsp + 0x578], 0
je 0x140063394
lea rcx, [rsp + 0x548]
call fcn.140003530
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x574]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x548]
call fcn.140003530
mov r9, rax
mov r8d, dword [rsp + 0x570]
mov rdx, qword [rsp + 0x578]
lea rcx, str.Strings
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov dword [rsp + 0x2a0], eax
mov eax, dword [rsp + 0x570]
sub eax, 2
cmp eax, dword [rsp + 0x2a0]
jne 0x140063368
mov rcx, qword [rsp + 0x578]
call fcn.140047560
mov eax, dword [rsp + 0x540]
mov ecx, dword [rsp + 0x570]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x570], eax
mov eax, dword [rsp + 0x570]
shl rax, 1
mov r8d, 0x36e
lea rdx, str...CommonString.cpp
mov rcx, rax
call fcn.140047520
mov qword [rsp + 0x578], rax
jmp 0x14006338f
cmp dword [rsp + 0x2a0], 0
jne 0x14006338d
mov rcx, qword [rsp + 0x578]
call fcn.140047560
mov qword [rsp + 0x578], 0
jmp 0x14006338f
jmp 0x140063394
jmp 0x140063294
movzx eax, word [rsp + 0x90]
test eax, eax
je 0x1400633da
lea r8, [rsp + 0x90]
lea rdx, str.CInfStringTable::GetTable_Delete_the_temp_file.___1_s___n
mov ecx, 5
call fcn.14001c160
mov edx, 0x80
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rsp + 0x578], 0
je 0x140063409
mov rdx, qword [rsp + 0x578]
lea rcx, [rsp + 0x510]
call fcn.1400628a0
mov rcx, qword [rsp + 0x578]
call fcn.140047560
jmp 0x14006341d
lea rdx, [0x1402102d8]
lea rcx, [rsp + 0x510]
call fcn.1400628a0
mov dword [rsp + 0x580], 0
jmp 0x14006343a
mov eax, dword [rsp + 0x580]
inc eax
mov dword [rsp + 0x580], eax
mov eax, dword [rsp + 0x580]
mov qword [rsp + 0x658], rax
lea rcx, [rsp + 0x510]
call fcn.140062550
mov rcx, qword [rsp + 0x658]
cmp rcx, rax
jae 0x14006360b
lea rcx, [rsp + 0x590]
call fcn.140063cb0
nop
mov eax, dword [rsp + 0x580]
mov edx, eax
lea rcx, [rsp + 0x510]
call fcn.1400627c0
mov rdx, rax
lea rcx, [rsp + 0x590]
call fcn.140063df0
lea rcx, [rsp + 0x590]
call fcn.140063d90
mov rdx, rax
lea rcx, [rsp + 0x2a8]
call fcn.140010520
lea rdx, [rsp + 0x610]
lea rcx, [rsp + 0x2a8]
call fcn.1400034a0
mov qword [rsp + 0x660], rax
lea rdx, [rsp + 0x618]
lea rcx, [rsp + 0x2a8]
call fcn.1400034e0
mov qword [rsp + 0x668], rax
lea rdx, [rsp + 0x620]
lea rcx, [rsp + 0x2a8]
call fcn.1400034a0
lea rcx, [fcn.1401abf98]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x660]
mov r9, qword [rcx]
mov rcx, qword [rsp + 0x668]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x628]
call fcn.140004130
lea rcx, [rsp + 0x2a8]
call fcn.140003530
movzx eax, word [rax]
cmp eax, 0x3b
jne 0x140063582
lea rcx, [rsp + 0x2a8]
call fcn.140003530
mov r8, rax
lea rdx, str.CInfStringTable::GetTable_strKey.data_____1_s__skipped._n
mov ecx, 5
call fcn.14001c160
nop
lea rcx, [rsp + 0x590]
call fcn.140063d20
jmp 0x14006342a
lea rcx, [rsp + 0x590]
call fcn.140063dc0
mov qword [rsp + 0x630], rax
lea r8, [rsp + 0x630]
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x40]
call fcn.140065af0
mov qword [rsp + 0x670], rax
mov rax, qword [rsp + 0x670]
mov qword [rsp + 0x678], rax
mov rax, qword [rsp + 0x6a0]
add rax, 8
mov r8, qword [rsp + 0x678]
lea rdx, [rsp + 0x638]
mov rcx, rax
call fcn.140033530
nop
lea rcx, [rsp + 0x40]
call fcn.14002ead0
nop
lea rcx, [rsp + 0x590]
call fcn.140063d20
jmp 0x14006342a
mov dword [rsp + 0x648], 1
lea rcx, [rsp + 0x548]
call fcn.140003430
nop
lea rcx, [rsp + 0x2a8]
call fcn.140003430
nop
lea rcx, [rsp + 0x2d0]
call fcn.140003430
nop
lea rcx, [rsp + 0x510]
call fcn.1400629e0
mov eax, dword [rsp + 0x648]
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.1401ab2d0
add rsp, 0x698
ret