Function at 0x140028b80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14006a0d0]
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.14002c2a0
mov rbx, rsi
test rsi, rsi
je 0x140028f0d
mov rcx, qword [rsi]
mov rdi, 0xffffffffffffffff
test rcx, rcx
je 0x140028cb0
nop dword [rax + rax]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028be3
cmp rax, 2
jbe 0x140028c17
cmp word [rcx], 0x2d
jne 0x140028c17
cmp word [rcx + 2], 0x2d
jne 0x140028c17
lfence
add rcx, 4
lea rdx, [0x140063644]
call fcn.140032c50
test eax, eax
je 0x140028c29
mov rcx, qword [rbx + 8]
add rbx, 8
test rcx, rcx
jne 0x140028be0
jmp 0x140028cb0
mov edx, 1
nop
mov rcx, qword [rbx + rdx*8]
test rcx, rcx
je 0x140028f0d
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028c40
cmp rax, 2
jbe 0x140028c61
cmp word [rcx], 0x2d
jne 0x140028c61
cmp word [rcx + 2], 0x2d
je 0x140028f0d
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028c64
cmp rax, 1
jbe 0x140028c8b
movzx eax, word [rcx]
cmp ax, 0x2d
je 0x140028f0d
cmp ax, 0x2f
je 0x140028f0d
inc rdx
cmp rdx, 3
jbe 0x140028c30
mov rax, qword [rbx + 8]
mov qword [rbp + 8], rax
mov rax, qword [rbx + 0x10]
mov qword [rbp + 0x10], rax
mov rcx, qword [rbx + 0x18]
call fcn.14003d558
mov dword [rbp + 0x18], eax
mov rcx, qword [rsi]
mov rbx, rsi
test rcx, rcx
je 0x140028d5f
nop
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028cc3
cmp rax, 2
jbe 0x140028cf7
cmp word [rcx], 0x2d
jne 0x140028cf7
cmp word [rcx + 2], 0x2d
jne 0x140028cf7
lfence
add rcx, 4
lea rdx, [0x14006365c]
call fcn.140032c50
test eax, eax
je 0x140028d06
mov rcx, qword [rbx + 8]
add rbx, 8
test rcx, rcx
jne 0x140028cc0
jmp 0x140028d5f
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140028d5b
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028d12
cmp rax, 2
jbe 0x140028d2f
cmp word [rcx], 0x2d
jne 0x140028d2f
cmp word [rcx + 2], 0x2d
je 0x140028d5b
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028d32
cmp rax, 1
jbe 0x140028f0d
movzx eax, word [rcx]
mov ecx, 0xfffd
sub ax, 0x2d
test cx, ax
jne 0x140028f0d
mov byte [rbp + 0x1c], 0
mov r8d, 1
nop word [rax + rax]
mov rdx, qword [rsi + r8*8]
test rdx, rdx
je 0x140028f0d
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140028d80
cmp rax, 2
jbe 0x140028da1
cmp word [rdx], 0x2d
jne 0x140028da1
cmp word [rdx + 2], 0x2d
je 0x140028f0d
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140028da4
cmp rax, 1
jbe 0x140028dcb
movzx eax, word [rdx]
cmp ax, 0x2d
je 0x140028f0d
cmp ax, 0x2f
je 0x140028f0d
inc r8
cmp r8, 1
jbe 0x140028d70
mov rcx, qword [rsi + 8]
call fcn.14003d558
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.14003fe80
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0xf8], rax
test rax, rax
je 0x140028f0d
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x108], rax
test rax, rax
je 0x140028f0d
mov rcx, qword [rbp + 0xf8]
lea rdx, str.ExtensionApiVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140028e79
call qword [0x1400543b8]
test rax, rax
je 0x140028e79
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
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140028e80
mov r8, rdi
lea rcx, [rbp + 0x110]
lea rdx, [rsp + 0x30]
call fcn.140020aa0
lea rcx, [rbp + 0x158]
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str._ESET_crash_dump_
call fcn.140017930
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.140020670
mov al, 1
jmp 0x140028f0f
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140029f00
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret