Function at 0x180205c10
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x708], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rcx
lea r14, [rcx + 0x88]
xor r15d, r15d
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 7
mov word [r14], r15w
mov byte [rcx + 0xa8], 1
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov dword [rcx + 0x20], r15d
add rcx, 0x24
xor edx, edx
lea r8d, [r15 + 0x60]
call fcn.18029c350
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180037a20
nop
lea rbx, [r15 - 1]
cmp qword [rsp + 0x50], r15
jne 0x180205ded
mov qword [rsp + 0x20], r15
lea rax, [0x18048a8b0]
mov qword [rsp + 0x20], rax
mov rcx, qword [0x18048a8b0]
test rcx, rcx
je 0x180205cdb
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r8, qword [0x180482368]
test r8, r8
je 0x180205d03
lea rdx, [0x180482358]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x180482358]
jmp 0x180205dbf
xor edx, edx
mov r8d, 0x20c
lea rcx, [rbp - 0x80]
call fcn.18029c350
lea rdx, [rbp - 0x80]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x180205dca
mov word [rbp + 0x18a], r15w
xor edx, edx
mov r8d, 0x412
lea rcx, [rbp + 0x190]
call fcn.18029c350
mov r8d, 0x208
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [rax - 1]
cmp ecx, 0x207
ja 0x180205da6
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x180205f12
mov word [rbp + rax + 0x190], r15w
lea rax, [rbp + 0x190]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x180205d92
lea rdx, [rbp + 0x190]
jmp 0x180205dbf
lea rax, [rbp - 0x80]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180205db0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.180033930
nop
mov rcx, qword [0x18048a8b0]
test rcx, rcx
je 0x180205ddc
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x20], r15
cmp qword [rsp + 0x50], 0
je 0x180205ed5
cmp qword [rdi + 0x10], 0
je 0x180205ed5
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1801daa90
mov rdi, rax
lea rax, [rsp + 0x40]
cmp rax, rdi
je 0x180205e42
lea rcx, [rsp + 0x40]
call fcn.1800338a0
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
lea rcx, [rsp + 0x60]
call fcn.1800338a0
mov dword [rsp + 0x60], 0x43002e
mov dword [rsp + 0x64], 0x650068
mov dword [rsp + 0x68], 0x6b0063
mov dword [rsp + 0x6c], 0x740053
mov dword [rsp + 0x70], 0x740061
mov dword [rsp + 0x74], 0x64002e
mov dword [rsp + 0x78], 0x740061
mov dword [rsp + 0x7c], 0x61
lea rax, [rsp + 0x60]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180205e91
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180033c20
lea rax, [rsp + 0x40]
cmp r14, rax
je 0x180205ed5
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, r14
call fcn.180033930
mov rcx, rsi
call fcn.180205fa0
nop
lea rcx, [rsp + 0x40]
call fcn.1800338a0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x708]
add rsp, 0x6c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.180299a68
nop
int3