Function at 0x1800042e0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x18008f230]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov rdi, rcx
call fcn.180003cfc
xor ebp, ebp
test eax, eax
jns 0x18000432a
lfence
jmp 0x180004665
lea r14, [rdi + 0x1b0]
mov rsi, qword [r14]
test rsi, rsi
je 0x18000435c
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x38]
call qword [case.0x180062b2e.0]
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x180062b2e.0]
mov qword [r14], rbp
mov rcx, r14
call fcn.18003fa1c
test eax, eax
js 0x180004322
movzx eax, word [rbx]
mov word [rdi + 0x30], ax
mov eax, dword [rbx + 4]
mov dword [rdi + 0x34], eax
movzx eax, word [rbx + 2]
mov word [rdi + 0x32], ax
cmp qword [rbx + 8], rbp
je 0x180004393
lfence
lea rcx, [rdi + 0x50]
mov rdx, qword [rbx + 8]
call fcn.180005d10
cmp qword [rbx + 0x10], rbp
je 0x1800043a2
lfence
mov rdx, qword [rbx + 0x10]
jmp 0x1800043c7
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x180004660
lfence
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x70]
call fcn.180005d10
lfence
cmp word [rbx], 2
jb 0x1800043e4
movups xmm0, xmmword [rbx + 0x18]
movdqu xmmword [rdi + 0x38], xmm0
jmp 0x1800043eb
xorps xmm0, xmm0
movups xmmword [rdi + 0x38], xmm0
movzx eax, word [rbx]
cmp ax, 5
jb 0x18000441f
lfence
lea rdx, str.0.0.0.0
cmp qword [rbx + 0x28], rbp
cmovne rdx, qword [rbx + 0x28]
lea rcx, [rdi + 0x90]
call fcn.180005d10
mov al, byte [rbx + 0x30]
mov byte [rdi + 0x190], al
movzx eax, word [rbx]
cmp ax, 0xc
jb 0x180004441
cmp qword [rbx + 0x38], rbp
je 0x180004441
lfence
lea rcx, [rdi + 0xb0]
mov rdx, qword [rbx + 0x38]
call fcn.180005d10
movzx eax, word [rbx]
cmp ax, 0xd
jb 0x180004485
cmp qword [rbx + 0x40], rbp
je 0x180004463
lfence
lea rcx, [rdi + 0xf0]
mov rdx, qword [rbx + 0x40]
call fcn.180005d10
movzx eax, word [rbx]
cmp ax, 0xd
jb 0x180004485
cmp qword [rbx + 0x48], rbp
je 0x180004485
lfence
lea rcx, [rdi + 0xd0]
mov rdx, qword [rbx + 0x48]
call fcn.180005d10
movzx eax, word [rbx]
cmp ax, 0xe
jb 0x180004497
mov al, byte [rbx + 0x50]
mov byte [rdi + 0x191], al
movzx eax, word [rbx]
mov r14d, 1
cmp ax, 0xf
jb 0x1800044a8
mov al, byte [rbx + 0x51]
jmp 0x1800044ab
mov al, r14b
mov byte [rdi + 0x192], al
mov edx, 0x10
cmp word [rbx], dx
jb 0x1800044ca
mov eax, dword [rbx + 0x54]
test eax, eax
je 0x1800044ca
mov dword [rdi + 0x48], eax
mov al, byte [rbx + 0x58]
jmp 0x1800044d4
mov dword [rdi + 0x48], 0x64
mov al, bpl
mov byte [rdi + 0x4c], al
cmp word [rbx], 0x11
jb 0x180004534
mov r9, qword [rbx + 0x60]
test r9, r9
je 0x180004534
lea rcx, [rdi + 0x170]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r9 + rbx], bpl
jne 0x1800044f1
cmp rbx, qword [rcx + 0x18]
lfence
ja 0x18000452a
mov rsi, rcx
cmp qword [rcx + 0x18], rdx
jb 0x180004512
lfence
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1800441f0
mov byte [rsi + rbx], bpl
jmp 0x180004551
mov rdx, rbx
call fcn.180005d8c
jmp 0x180004551
lea rax, [rdi + 0x170]
mov rcx, rax
cmp qword [rax + 0x18], rdx
jb 0x18000454a
lfence
mov rcx, qword [rax]
mov qword [rax + 0x10], rbp
mov byte [rcx], bpl
lea rcx, [rdi + 0x110]
lea rdx, [0x180071988]
call fcn.180005d10
mov rcx, rdi
call fcn.180005838
test eax, eax
js 0x180004322
lea rdx, [0x180090eda]
mov ecx, 0x78
call fcn.180062850
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180004603
lea rax, vtable.DynamicConfigContainer.0
mov qword [rbx], rax
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
lea rcx, [rbx + 0x20]
mov dword [rcx + 0xc], ebp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
xorps xmm0, xmm0
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
mov word [rbx + 0x48], r14w
lea rax, [sym.MpGear.dll_MpGearScanSubmitReport]
mov qword [rbx + 0x50], rax
lea rax, [0x1800231c0]
mov qword [rbx + 0x58], rax
lea rax, [0x1800231e0]
mov qword [rbx + 0x60], rax
lea rax, [0x180023200]
mov qword [rbx + 0x68], rax
lea rax, vtable.._AVMpGearDynjgsqgh.0
mov qword [rbx], rax
mov qword [rbx + 0x70], rdi
jmp 0x180004606
mov rbx, rbp
mov qword [rdi + 0x1a0], rbx
test rbx, rbx
je 0x180004659
lea rdx, [0x180090eda]
mov ecx, 0x60
call fcn.180062850
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18000463d
lfence
mov rdx, rdi
mov rcx, rax
call fcn.18001c550
jmp 0x180004640
mov rax, rbp
mov qword [rdi + 0x1a8], rax
test rax, rax
je 0x180004659
lfence
mov rcx, rdi
call fcn.180004690
jmp 0x180004665
mov eax, 0x80510004
jmp 0x180004665
call fcn.180035b20
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180040cc0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret