Function at 0x140009f20
Capabilities:
Create directory
Get common file path
Get file size

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rax, rdx
xor esi, esi
mov dword [rsp + 0x40], esi
lea rbx, [0x140036de0]
test rdx, rdx
jne 0x14000a19c
call fcn.14000a300
lea rdi, [0x140036e00]
test al, al
jne 0x14000a00d
mov rdx, rdi
cmp qword [0x140036e18], 0x10
cmovae rdx, qword [0x140036e00]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], sil
jne 0x140009fa0
mov rcx, rdi
call fcn.140004420
mov rcx, rdi
cmp qword [0x140036e18], 0x10
cmovae rcx, qword [0x140036e00]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14000a000
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000a000
lea rcx, str.CreatePCFolder_failed.
call fcn.14000a590
xor r8d, r8d
lea rdx, [0x14002e610]
mov rcx, rdi
call fcn.140004420
jmp 0x14000a2c0
lea rcx, str.CreatePCFolder_successfully.
call fcn.14000a500
nop
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x40], 1
mov rdx, qword [0x140036e10]
inc rdx
lea rcx, [rsp + 0x50]
call fcn.1400070a0
cmp qword [0x140036e18], 0x10
cmovae rdi, qword [0x140036e00]
mov r8, qword [0x140036e10]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140004570
mov r8d, 1
lea rdx, [0x14002e9b4]
lea rcx, [rsp + 0x50]
call fcn.140004570
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400040f0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000a0c3
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a0bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2ee
call fcn.14000d4b4
nop
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x40], 2
mov rdx, qword [0x140036dd0]
add rdx, qword [0x140036df0]
lea rcx, [rsp + 0x50]
call fcn.1400070a0
mov rdx, rbx
cmp qword [0x140036df8], 0x10
cmovae rdx, qword [0x140036de0]
mov r8, qword [0x140036df0]
lea rcx, [rsp + 0x50]
call fcn.140004570
lea rdx, [0x140036dc0]
cmp qword [0x140036dd8], 0x10
cmovae rdx, qword [0x140036dc0]
mov r8, qword [0x140036dd0]
lea rcx, [rsp + 0x50]
call fcn.140004570
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400040f0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000a18d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a188
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2e8
call fcn.14000d4b4
mov r8d, 4
lea rdx, str..log
jmp 0x14000a214
lea rdx, str.temp
mov rcx, rax
call fcn.140012030
test eax, eax
jne 0x14000a21c
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call fcn.14000f580
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x14000a1e0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140004420
lea rdx, [0x140036dc0]
cmp qword [0x140036dd8], 0x10
cmovae rdx, qword [0x140036dc0]
mov r8, qword [0x140036dd0]
mov rcx, rbx
call fcn.140004570
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbx
cmp qword [0x140036df8], 0x10
cmovae rcx, qword [0x140036de0]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000001
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a278
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Could_not_open_file.
call fcn.14000a590
mov dword [rsp + 0x44], esi
lea rdx, [rsp + 0x44]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x14000a2c0
cmp dword [rsp + 0x44], 0
jne 0x14000a2a8
cmp esi, 0x19000
jb 0x14000a2c0
cmp qword [0x140036df8], 0x10
cmovae rbx, qword [0x140036de0]
mov rcx, rbx
call fcn.140001b10
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14000d490
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14001179c
int3
call fcn.14001179c
int3