Function at 0x1400269b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x1400690b8]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov r13, rcx
lea r14, [rcx + 0x140]
mov rdx, qword [r14 + 0x18]
call fcn.140020160
mov rax, qword [r14 + 0x18]
mov qword [rax], rax
mov rax, qword [r14 + 0x18]
mov qword [rax + 8], rax
xor ebx, ebx
mov qword [r14 + 0x20], rbx
mov rdx, qword [r14 + 0x28]
call fcn.1400200c0
mov rax, qword [r14 + 0x28]
mov qword [rax], rax
mov rax, qword [r14 + 0x28]
mov qword [rax + 8], rax
mov qword [r14 + 0x30], rbx
mov rax, qword [r14]
mov qword [r14 + 8], rax
lea rsi, [r13 + 0x100]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140026a47
mov rdx, qword [rsi]
lea rcx, [rsp + 0x68]
call fcn.14001f610
nop
cmp qword [rsp + 0x78], 0
je 0x14002738c
lea r15, [r13 + 0x120]
mov edx, 0x104
mov rcx, r15
call fcn.140019610
mov rbx, qword [r13 + 0x130]
mov r12, r15
cmp qword [r15 + 0x18], 8
jb 0x140026a86
mov r12, qword [r15]
mov rdx, r12
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x140026b04
mov eax, eax
cmp rax, rbx
ja 0x140026b04
lea r9, [rbp + 0x250]
xor r8d, r8d
lea rdx, [0x140062348]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x140026b04
test rbx, rbx
je 0x140026b04
lea rcx, [rbp + 0x250]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140026ad0
lea r8, [rbp + 0x250]
mov rdx, rbx
mov rcx, r12
cmp rax, rbx
jae 0x140026af3
call fcn.14003e894
jmp 0x140026b04
lea r9, [rbx - 1]
call fcn.14003e464
xor eax, eax
mov word [r12 + rbx*2 - 2], ax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140026b18
mov rdx, qword [r15]
cmp qword [rsi + 0x18], 8
jb 0x140026b22
mov rsi, qword [rsi]
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.14001fb00
test al, al
je 0x14002738c
mov qword [rsp + 0x48], rbx
movdqa xmm0, xmmword [0x140062650]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], bl
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov r9d, 0x203
lea r8, str.0x_08X
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x18]
call fcn.14000ccd0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0xc4015
lea r8, str.ATTR__08X__s__r_n
mov edx, 0x40
lea rcx, [rbp + 0xd0]
call fcn.14000ccd0
lea rax, [rbp + 0xd0]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x140026bc0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140026c11
lea rax, [rcx + rsi]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.14002e920
mov byte [rbx + rsi], 0
jmp 0x140026c2d
lfence
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0xd0]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400203d0
call qword [sym.imp.KERNEL32.dll_GetVersion]
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov r9d, eax
lea r8, str.0x_08X
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x28]
call fcn.14000ccd0
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0xc4009
lea r8, str.ATTR__08X__s__r_n
mov edx, 0x40
lea rcx, [rbp + 0x110]
call fcn.14000ccd0
lea rax, [rbp + 0x110]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x140026ca2
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140026cf3
lea rax, [rcx + rsi]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.14002e920
mov byte [rsi + rbx], 0
jmp 0x140026d0f
lfence
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x110]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400203d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xor r9d, r9d
lea r8, str.0x_08X
lea edx, [r9 + 0x10]
lea rcx, [rbp + 0x38]
call fcn.14000ccd0
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x84008
lea r8, str.ATTR__08X__s__r_n
mov edx, 0x40
lea rcx, [rbp + 0x150]
call fcn.14000ccd0
lea rax, [rbp + 0x150]
mov rsi, rdi
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140026d80
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140026dd1
lea rax, [rsi + rcx]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp + 0x150]
mov rcx, rbx
call fcn.14002e920
mov byte [rsi + rbx], 0
jmp 0x140026ded
lfence
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x150]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400203d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov r9d, dword [r13 + 0xb8]
lea r8, str.0x_08X
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x48]
call fcn.14000ccd0
xorps xmm0, xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xc401a
lea r8, str.ATTR__08X__s__r_n
mov edx, 0x40
lea rcx, [rbp + 0x190]
call fcn.14000ccd0
lea rax, [rbp + 0x190]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x140026e60
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140026eb1
lea rax, [rsi + rcx]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp + 0x190]
mov rcx, rbx
call fcn.14002e920
mov byte [rsi + rbx], 0
jmp 0x140026ecd
lfence
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x190]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400203d0
lea r8, [r13 + 0xe0]
cmp qword [r8 + 0x18], 8
jb 0x140026ede
mov r8, qword [r8]
mov edx, 0x88019
lea rcx, [rsp + 0x48]
call fcn.14001f030
lea r8, [r13 + 0xc0]
cmp qword [r8 + 0x18], 8
jb 0x140026efe
mov r8, qword [r8]
mov edx, 0x88034
lea rcx, [rsp + 0x48]
call fcn.14001f030
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov r9d, 2
lea r8, str.0x_08X
lea edx, [r9 + 0xe]
lea rcx, [rbp + 0x58]
call fcn.14000ccd0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x200], xmm0
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x8200e
lea r8, str.ATTR__08X__s__r_n
mov edx, 0x40
lea rcx, [rbp + 0x1d0]
call fcn.14000ccd0
lea rax, [rbp + 0x1d0]
mov rsi, rdi
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x140026f80
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140026fd1
lea rax, [rcx + rsi]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp + 0x1d0]
mov rcx, rbx
call fcn.14002e920
mov byte [rsi + rbx], 0
jmp 0x140026fed
lfence
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x1d0]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400203d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov r9d, dword [r13 + 0x178]
lea r8, str.0x_08X
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x68]
call fcn.14000ccd0
lea r8, [rbp + 0x68]
mov edx, 0x84030
lea rcx, [rsp + 0x48]
call fcn.14001ef50
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov r9d, dword [rsp + 0x30]
lea r8, str.0x_08X
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x78]
call fcn.14000ccd0
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x220], xmm0
movups xmmword [rbp + 0x230], xmm0
movups xmmword [rbp + 0x240], xmm0
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x8b03a
lea r8, str.ATTR__08X__s__r_n
mov edx, 0x40
lea rcx, [rbp + 0x210]
call fcn.14000ccd0
lea rax, [rbp + 0x210]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140027091
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400270e2
lea rax, [rcx + rdi]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp + 0x210]
mov rcx, rbx
call fcn.14002e920
mov byte [rdi + rbx], 0
jmp 0x1400270fe
lfence
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x210]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400203d0
lea r8, str.ESET_Diagnostic_file
mov edx, 0x89001
lea rcx, [rsp + 0x48]
call fcn.14001ef50
xor ecx, ecx
call fcn.140030f74
mov rbx, rax
xor eax, eax
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], eax
lea r9d, [rax + 6]
lea r8, [0x14005eae4]
lea edx, [rax + 0xc]
lea rcx, [rbp - 0x28]
call fcn.14000ccd0
xor r9d, r9d
lea r8, [rbp - 0x28]
lea rdx, str.chc_pversion
mov rcx, r14
call fcn.14001f0f0
xor eax, eax
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], eax
lea r9d, [rax + 0x40]
lea r8, [0x14005eae4]
lea edx, [rax + 0xc]
lea rcx, [rbp - 0x18]
call fcn.14000ccd0
xor r9d, r9d
lea r8, [rbp - 0x18]
lea rdx, str.chc_sversion
mov rcx, r14
call fcn.14001f0f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rsp + 0x38], rbx
movabs rdi, 0x700000000
cmp rbx, rdi
jg 0x1400271f9
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.14003c680
test eax, eax
jne 0x1400271f9
lea r9, [rbp - 0x78]
lea r8, str._Y__m__d__H:_M:_S
lea edx, [rax + 0x20]
lea rcx, [rbp + 0x88]
call fcn.14003ca8c
test rax, rax
je 0x1400271f9
xor r9d, r9d
lea r8, [rbp + 0x88]
lea rdx, str.chc_gmdatetime
mov rcx, r14
call fcn.14001f0f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
mov qword [rsp + 0x40], rbx
cmp rbx, rdi
jg 0x14002725e
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14003c390
test eax, eax
jne 0x14002725e
lea r9, [rbp - 0x50]
lea r8, str._Y__m__d__H:_M:_S
lea edx, [rax + 0x20]
lea rcx, [rbp + 0xa8]
call fcn.14003ca8c
test rax, rax
je 0x14002725e
xor r9d, r9d
lea r8, [rbp + 0xa8]
lea rdx, str.chc_datetime
mov rcx, r14
call fcn.14001f0f0
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae r8, qword [rsp + 0x68]
mov r9b, 1
lea rdx, [0x1400624d0]
mov rcx, r14
call fcn.14001f0f0
mov rbx, rax
xor eax, eax
mov qword [rbp - 8], rax
mov dword [rbp], eax
xor r9d, r9d
lea r8, [0x14005eae4]
lea edx, [rax + 0xc]
lea rcx, [rbp - 8]
call fcn.14000ccd0
mov r9b, 1
lea r8, [rbp - 8]
lea rdx, str.sessionid
mov rcx, rbx
call fcn.14001f0f0
xor eax, eax
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], eax
lea r9d, [rax + 1]
lea r8, [0x14005eae4]
lea edx, [rax + 0xc]
lea rcx, [rbp + 8]
call fcn.14000ccd0
mov r9b, 1
lea r8, [rbp + 8]
lea rdx, str.clientcount
mov rcx, rbx
call fcn.14001f0f0
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r8, qword [rsp + 0x48]
mov r9b, 1
lea rdx, str.attributes
mov rcx, rbx
call fcn.14001f0f0
mov rdx, r14
mov rcx, r13
call fcn.140020610
cmp qword [r15 + 0x18], 8
jb 0x140027326
mov r15, qword [r15]
lea r8, str.ESET_Diagnostic_file
mov rdx, r15
mov rcx, r14
call fcn.14001f250
mov bl, 1
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140027377
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027372
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400273ff
call fcn.140028ff4
movdqa xmm0, xmmword [0x140062650]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
jmp 0x14002738e
xor bl, bl
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400273c6
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400273c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400273f9
call fcn.140028ff4
movzx eax, bl
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140028cd0
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140031574
nop
call fcn.140031574
nop
int3