Function at 0x1400279c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400690b8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14002b060
mov rdi, rsi
test rsi, rsi
je 0x140027d4d
mov rcx, qword [rsi]
mov rbx, 0xffffffffffffffff
mov r14d, 0xfffd
test rcx, rcx
je 0x140027afa
nop dword [rax]
nop dword [rax + rax]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140027a33
cmp rax, 2
jbe 0x140027a67
cmp word [rcx], 0x2d
jne 0x140027a67
cmp word [rcx + 2], 0x2d
jne 0x140027a67
lfence
add rcx, 4
lea rdx, [0x140062554]
call fcn.140031720
test eax, eax
je 0x140027a79
mov rcx, qword [rdi + 8]
add rdi, 8
test rcx, rcx
jne 0x140027a30
jmp 0x140027afa
mov edx, 1
nop
mov rcx, qword [rdi + rdx*8]
test rcx, rcx
je 0x140027d4d
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140027a90
cmp rax, 2
jbe 0x140027ab1
cmp word [rcx], 0x2d
jne 0x140027ab1
cmp word [rcx + 2], 0x2d
je 0x140027d4d
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140027ab4
cmp rax, 1
jbe 0x140027ad5
movzx eax, word [rcx]
sub ax, 0x2d
test r14w, ax
je 0x140027d4d
inc rdx
cmp rdx, 3
jbe 0x140027a80
mov rax, qword [rdi + 8]
mov qword [rbp + 8], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp + 0x10], rax
mov rcx, qword [rdi + 0x18]
call fcn.14003bfe4
mov dword [rbp + 0x18], eax
mov rcx, qword [rsi]
mov rdi, rsi
test rcx, rcx
je 0x140027bab
nop dword [rax]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140027b13
cmp rax, 2
jbe 0x140027b47
cmp word [rcx], 0x2d
jne 0x140027b47
cmp word [rcx + 2], 0x2d
jne 0x140027b47
lfence
add rcx, 4
lea rdx, [0x14006256c]
call fcn.140031720
test eax, eax
je 0x140027b56
mov rcx, qword [rdi + 8]
add rdi, 8
test rcx, rcx
jne 0x140027b10
jmp 0x140027bab
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140027ba7
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140027b62
cmp rax, 2
jbe 0x140027b7f
cmp word [rcx], 0x2d
jne 0x140027b7f
cmp word [rcx + 2], 0x2d
je 0x140027ba7
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140027b82
cmp rax, 1
jbe 0x140027d4d
movzx eax, word [rcx]
sub ax, 0x2d
test r14w, ax
jne 0x140027d4d
mov byte [rbp + 0x1c], 0
mov r8d, 1
mov rdx, qword [rsi + r8*8]
test rdx, rdx
je 0x140027d4d
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x140027bc1
cmp rax, 2
jbe 0x140027be2
cmp word [rdx], 0x2d
jne 0x140027be2
cmp word [rdx + 2], 0x2d
je 0x140027d4d
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x140027be5
cmp rax, 1
jbe 0x140027c06
movzx eax, word [rdx]
sub ax, 0x2d
test r14w, ax
je 0x140027d4d
inc r8
cmp r8, 1
jbe 0x140027bb1
mov rcx, qword [rsi + 8]
call fcn.14003bfe4
lea rdx, [rsp + 0x30]
mov dword [rbp + 0x20], eax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, str.eset_bts_
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.14003e8fc
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0xf8], rax
test rax, rax
je 0x140027d4d
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x108], rax
test rax, rax
je 0x140027d4d
mov rcx, qword [rbp + 0xf8]
lea rdx, str.ExtensionApiVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140027cb4
call qword [0x1400533a8]
test rax, rax
je 0x140027cb4
movzx ecx, word [rax + 2]
movzx eax, word [rax]
shl eax, 0x10
or ecx, eax
mov dword [rbp + 0x100], ecx
lea rax, [rsp + 0x30]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140027cc0
mov r8, rbx
lea rcx, [rbp + 0x110]
lea rdx, [rsp + 0x30]
call fcn.14000cf60
lea rcx, [rbp + 0x158]
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str._ESET_crash_dump_
call fcn.14000d100
cmp dword [rbp + 0x100], 0x60000
mov ecx, 0x1941
mov dword [rbp + 0x17c], 0x141
mov edx, 8
mov eax, dword [rbp + 0x17c]
cmovge eax, ecx
mov dword [rbp + 0x178], 1
mov dword [rbp + 0x17c], eax
lea rcx, [rbp + 0x180]
mov eax, dword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp + 8]
mov dword [rsp + 0x20], eax
call fcn.140020580
mov al, 1
jmp 0x140027d4f
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140028cd0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret