Function at 0x14000b399
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
jmp 0x14000b399
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x668
mov edi, ecx
xor esi, esi
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x38], esi
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14000b635
lea rdx, str._s_s
lea r9, str.huorong.tmp
lea rcx, [rsp + 0x250]
lea r8, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
mov esi, 1
test edi, edi
je 0x14000b635
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x100
mov dword [rsp + 0x20], 2
xor ebx, ebx
lea rcx, [rsp + 0x250]
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000b5dc
mov ebp, edi
mov rdi, 0xffffffffffffffff
mov r15, qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r12, [rsp + 0x250]
mov r13, qword [sym.imp.KERNEL32.dll_CreateFileW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0xfffff
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
xor ecx, ecx
call fcn.140003684
mov ecx, eax
call fcn.1400045ca
call fcn.140003d05
cdqe
imul rdx, rax, 0xffffffff80808081
shr rdx, 0x20
add edx, eax
mov ecx, edx
shr ecx, 0x1f
shr edx, 7
add edx, ecx
add edx, eax
mov r8d, 0xfffff
mov rcx, rbx
call fcn.140004683
mov qword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r8d, 0xfffff
lea r9, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b5f1
cmp dword [rsp + 0x38], 0xfffff
jne 0x14000b5f1
mov r8d, 0xfffff
mov rcx, rbx
xor edx, edx
call fcn.140004683
mov rcx, r14
call r15
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000100
mov dword [rsp + 0x20], 3
mov rcx, r12
mov edx, 0x80000000
xor r8d, r8d
xor r9d, r9d
call r13
cmp rax, 0xffffffffffffffff
je 0x14000b5ea
mov rdi, rax
mov qword [rsp + 0x20], 0
mov rcx, rax
mov rdx, rbx
mov r8d, 0xfffff
lea r9, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000b5f1
cmp dword [rsp + 0x3c], 0xfffff
jne 0x14000b5f1
mov r8d, 0xfffff
mov rcx, rbx
xor edx, edx
call fcn.140004683
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
call r15
dec rbp
je 0x14000b635
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x100
mov dword [rsp + 0x20], 2
mov rcx, r12
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call r13
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14000b45e
jmp 0x14000b5e3
mov rdi, 0xffffffffffffffff
test rbx, rbx
jne 0x14000b5f1
jmp 0x14000b624
mov rdi, 0xffffffffffffffff
mov r8d, 0xfffff
mov rcx, rbx
xor edx, edx
call fcn.140004683
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r14, 0xffffffffffffffff
je 0x14000b624
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp rdi, 0xffffffffffffffff
je 0x14000b635
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
add rsp, 0x668
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret