Function at 0x14002ad80
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x318]
sub rsp, 0x410
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140131088]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rbx
cmp qword [rcx + 0x18], 8
jb 0x14002adde
mov rax, qword [rcx]
jmp 0x14002ade1
mov rax, rdi
mov word [rax], bx
mov dword [rsp + 0x40], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xf0]
call fcn.1400a1560
mov eax, dword [section..custom]
test al, 1
je 0x14002ae10
shr eax, 1
test al, 1
jne 0x14002ae19
call fcn.14002c530
test al, al
je 0x14002ae20
mov edx, 0x23
jmp 0x14002ae25
mov edx, 0x1a
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14002b297
lea rax, [rbp + 0xf0]
or rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x14002ae55
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call fcn.14002dd30
mov eax, dword [section..custom]
shr eax, 3
test al, 1
je 0x14002b087
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
lea rdx, [0x140148008]
cmp byte [0x140148008], 0
jne 0x14002aea8
mov r8, rbx
jmp 0x14002aeba
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14002aeb0
lea rcx, [rsp + 0x58]
call fcn.140009260
nop
mov r9d, 6
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call fcn.1400235b0
nop
mov r8, rax
lea rdx, str.OraySunloginClientLite_Custom_
lea rcx, [rsp + 0x78]
call fcn.140017620
nop
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x14002af48
inc rax
mov rcx, qword [rbp - 0x68]
cmp rax, 0x1000
jb 0x14002af43
test cl, 0x1f
je 0x14002af16
call fcn.1400a26d8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002af25
call fcn.1400a26d8
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002af34
call fcn.1400a26d8
int3
cmp rcx, 0x27
jbe 0x14002af40
call fcn.1400a26d8
int3
mov rcx, rax
call fcn.14009d844
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], rbx
mov byte [rbp - 0x68], 0
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14002afb0
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x14002afab
test cl, 0x1f
je 0x14002af7e
call fcn.1400a26d8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002af8d
call fcn.1400a26d8
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002af9c
call fcn.1400a26d8
int3
cmp rcx, 0x27
jbe 0x14002afa8
call fcn.1400a26d8
int3
mov rcx, rax
call fcn.14009d844
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x48]
call fcn.140085920
nop
cmp qword [rax + 0x18], 8
jb 0x14002afe7
mov rax, qword [rax]
cmp word [rax], 0
jne 0x14002aff2
mov r8, rbx
jmp 0x14002b000
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x14002aff5
mov rdx, rax
mov rcx, rdi
call fcn.14002dd30
nop
mov r8, qword [rbp - 0x30]
cmp r8, 8
jb 0x14002b027
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140008b70
nop
mov rax, qword [rbp - 0x70]
cmp rax, 0x10
jb 0x14002b159
inc rax
mov rcx, qword [rsp + 0x78]
cmp rax, 0x1000
jb 0x14002b07d
test cl, 0x1f
je 0x14002b050
call fcn.1400a26d8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002b05f
call fcn.1400a26d8
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002b06e
call fcn.1400a26d8
int3
cmp rcx, 0x27
jbe 0x14002b07a
call fcn.1400a26d8
int3
mov rcx, rax
call fcn.14009d844
jmp 0x14002b159
mov r8d, 6
lea rdx, str.Oray_
mov rcx, rdi
call fcn.14002dd30
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], rbx
mov byte [rsp + 0x78], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.SUNLOGIN_PRODUCT_NAME
lea rcx, [rsp + 0x78]
call fcn.140009260
nop
mov dword [rsp + 0x40], 3
lea rcx, [rsp + 0x78]
call fcn.140025db0
cmp qword [rax + 0x18], 0x10
jb 0x14002b0e1
mov rax, qword [rax]
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x20], rcx
mov r8d, 3
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14002f170
nop
mov dword [rsp + 0x40], 7
mov rdx, qword [rbp - 0x20]
cmp word [rdx], 0
jne 0x14002b113
mov r8, rbx
jmp 0x14002b12b
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14002b120
mov rcx, rdi
call fcn.14002dd30
nop
lea rax, [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
cmp rcx, rax
je 0x14002b147
call fcn.1400a24a4
nop
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x78]
call fcn.140009040
cmp qword [rdi + 0x18], 8
jb 0x14002b165
mov rcx, qword [rdi]
jmp 0x14002b168
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14002b297
cmp qword [rdi + 0x18], 8
jb 0x14002b182
mov rdx, qword [rdi]
jmp 0x14002b185
mov rdx, rdi
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
cmp word [rdx], 0
jne 0x14002b1a3
mov rsi, rbx
jmp 0x14002b1ad
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x14002b1a3
mov r8, rsi
lea rcx, [rsp + 0x58]
call fcn.140008a20
nop
lea rcx, [rsp + 0x58]
call fcn.14002a430
test al, al
sete sil
mov r8, qword [rsp + 0x70]
cmp r8, 8
jb 0x14002b1e8
inc r8
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.140008b70
test sil, sil
je 0x14002b297
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140031bb0
nop
cmp qword [rax + 0x18], 0x10
jb 0x14002b208
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lea rax, str._public__GetConfigPath
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x6da
lea r9, str.GetCurrentUserPath
lea r8, str...includes_sunlogininclude_basepublic_func.cpp
mov edx, 4
lea rcx, [0x1401399a0]
call fcn.14007a380
nop
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x14002b297
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0x1000
jb 0x14002b292
test cl, 0x1f
je 0x14002b265
call fcn.1400a26d8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14002b274
call fcn.1400a26d8
int3
sub rcx, rax
cmp rcx, 8
jae 0x14002b283
call fcn.1400a26d8
int3
cmp rcx, 0x27
jbe 0x14002b28f
call fcn.1400a26d8
int3
mov rcx, rax
call fcn.14009d844
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14002b2a6
mov rcx, qword [rdi]
jmp 0x14002b2a9
mov rcx, rdi
mov rax, qword [rdi + 0x10]
lea rax, [rcx + rax*2]
cmp rdx, 8
jb 0x14002b2bc
mov rcx, qword [rdi]
jmp 0x14002b2bf
mov rcx, rdi
mov rdx, rax
sub rdx, rcx
inc rdx
shr rdx, 1
cmp rcx, rax
cmova rdx, rbx
test rdx, rdx
je 0x14002b2f5
mov eax, gethostbyaddr
nop dword [rax]
cmp word [rcx], 0x5c
jne 0x14002b2e9
mov word [rcx], ax
add rcx, 2
inc rbx
cmp rbx, rdx
jne 0x14002b2e0
mov rax, rdi
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14009d860
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret