Function at 0x14000b950
Capabilities:
Check if file exists
Get file attributes
Get file size
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140025028]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor r12d, r12d
mov dword [rbp - 0x80], 0x101
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea rax, [rbp - 0x30]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x14000b9c0
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x14000bdeb
movabs r13, 0x7fffffffffffffff
mov qword [rsp + 0x58], 7
cmp rbx, 8
jae 0x14000ba12
mov qword [rsp + 0x50], rbx
lea r8, [rbx + rbx]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000bab7
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x14000ba28
lea rcx, [r13*2]
jmp 0x14000ba50
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, r13
ja 0x14000bde5
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000ba7f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000bde5
mov rcx, rax
call fcn.14001a998
test rax, rax
je 0x14000ba78
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000ba91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000ba8e
call fcn.14001a998
mov rdi, rax
jmp 0x14000ba91
mov rdi, r12
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14000b7b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000bb0b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bb06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bb06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ac24
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov rsi, qword [rbp - 0x40]
mov rax, r13
sub rax, rsi
cmp rax, 9
jb 0x14000bdf1
lea r15, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae r15, qword [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea r14, [rsi + 9]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x60]
cmp r14, rbx
jbe 0x14000bbe0
mov rbx, r14
or rbx, 0xf
cmp rbx, r13
jbe 0x14000bb76
mov rbx, r13
jmp 0x14000bb82
mov eax, reloc.WS2_32.dll_shutdown
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14000bbc9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000bddf
mov rcx, rax
call fcn.14001a998
test rax, rax
je 0x14000bc8c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000bbdb
test rcx, rcx
je 0x14000bbd8
call fcn.14001a998
mov rdi, rax
jmp 0x14000bbdb
mov rdi, r12
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rbx
movsd xmm0, qword [str.C:Users_]
movsd qword [rdi], xmm0
movzx eax, byte [0x14001dd18]
mov byte [rdi + 8], al
lea rcx, [rdi + 9]
mov r8, rsi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov r8d, 0x37
lea rdx, str.AppDataLocalMicrosoftEdgeUser_DataDefaultHistory
lea rcx, [rsp + 0x60]
call fcn.14000d110
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000bc98
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bc93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bc93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ac24
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000bd09
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000bd09
lea rdx, [rbp - 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rbx
test eax, eax
jne 0x14000bd44
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14000bd5d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bd58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bd58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp - 0x58], 0x5000
jbe 0x14000bd09
mov bl, 1
jmp 0x14000bd0b
call fcn.14001ac24
movdqa xmm0, xmmword [0x14001e870]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14000bdac
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bda7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bda7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ac24
movzx eax, bl
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14001a6e0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001240
nop
call fcn.140001240
int3
call fcn.1400012e0
nop
call fcn.1400012e0
int3