Function at 0x140023b50
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 0x140023be7
mov rdx, qword [rsi]
lea rcx, [rsp + 0x68]
call fcn.14001f610
nop
cmp qword [rsp + 0x78], 0
je 0x140024529
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 0x140023c26
mov r12, qword [r15]
mov rdx, r12
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x140023ca4
mov eax, eax
cmp rax, rbx
ja 0x140023ca4
lea r9, [rbp + 0x250]
xor r8d, r8d
lea rdx, [0x140062348]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x140023ca4
test rbx, rbx
je 0x140023ca4
lea rcx, [rbp + 0x250]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140023c70
lea r8, [rbp + 0x250]
mov rdx, rbx
mov rcx, r12
cmp rax, rbx
jae 0x140023c93
call fcn.14003e894
jmp 0x140023ca4
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 0x140023cb8
mov rdx, qword [r15]
cmp qword [rsi + 0x18], 8
jb 0x140023cc2
mov rsi, qword [rsi]
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.14001fb00
test al, al
je 0x140024529
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 + 0x28], xmm0
mov r9d, 0x203
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 + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
lea rax, [rbp + 0x28]
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 0x140023d60
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140023db1
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 0x140023dcd
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 + 0x38], xmm0
mov r9d, eax
lea r8, str.0x_08X
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x38]
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 + 0x38]
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 0x140023e42
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140023e93
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 0x140023eaf
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 + 0x48], xmm0
xor r9d, r9d
lea r8, str.0x_08X
lea edx, [r9 + 0x10]
lea rcx, [rbp + 0x48]
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 + 0x48]
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 0x140023f20
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140023f71
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 + 0x150]
mov rcx, rbx
call fcn.14002e920
mov byte [rsi + rbx], 0
jmp 0x140023f8d
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 + 0x58], xmm0
mov r9d, dword [r13 + 0xb8]
lea r8, str.0x_08X
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp + 0x58]
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 + 0x58]
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 0x140024000
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140024051
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 + 0x190]
mov rcx, rbx
call fcn.14002e920
mov byte [rsi + rbx], 0
jmp 0x14002406d
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 0x14002407e
mov r8, qword [r8]
mov edx, 0x88019
lea rcx, [rsp + 0x48]
call fcn.14001f030
lea r8, [r13 + 0xc0]
cmp qword [r8 + 0x18], 8
jb 0x14002409e
mov r8, qword [r8]
mov edx, 0x88034
lea rcx, [rsp + 0x48]
call fcn.14001f030
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov r9d, 2
lea r8, str.0x_08X
lea edx, [r9 + 0xe]
lea rcx, [rbp + 0x68]
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 + 0x68]
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 0x140024120
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140024171
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 0x14002418d
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 + 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]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140024200
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140024251
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 0x14002426d
lfence
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x210]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400203d0
lea r8, str.ESET_Statistics_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 0x140024368
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.14003c680
test eax, eax
jne 0x140024368
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 0x140024368
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 0x1400243cd
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14003c390
test eax, eax
jne 0x1400243cd
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 0x1400243cd
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
xor eax, eax
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], eax
mov r9d, dword [r13 + 0x178]
lea r8, [0x14005eae4]
lea edx, [rax + 0xc]
lea rcx, [rbp + 0x18]
call fcn.14000ccd0
mov r9b, 1
lea r8, [rbp + 0x18]
lea rdx, str.datatype
mov rcx, r14
call fcn.14001f0f0
cmp qword [r15 + 0x18], 8
jb 0x1400244c3
mov r15, qword [r15]
lea r8, str.ESET_Statistics_file
mov rdx, r15
mov rcx, r14
call fcn.14001f250
mov bl, 1
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140024514
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002450f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002459c
call fcn.140028ff4
movdqa xmm0, xmmword [0x140062650]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
jmp 0x14002452b
xor bl, bl
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140024563
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002455e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024596
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