Function at 0x180007710
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x180071748]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x2b0]
lea ebx, [r8 + 0xe]
mov qword [rbp - 0x70], rdx
mov r10, rcx
xor edx, edx
mov qword [rsp + 0x48], rcx
cmp r8d, ebx
mov dword [rsp + 0x40], ebx
mov ebx, dword [rsp + 0x50]
lea rcx, [0x180000000]
mov r11, r9
mov qword [rsp + 0x60], r9
mov r13d, r8d
mov dword [rsp + 0x6c], r8d
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x68], r8d
jae 0x180007fd0
mov r12d, dword [rsp + 0x74]
lea r14d, [r8 - 0x59]
mov r15d, dword [rsp + 0x70]
lea r8d, [rdx + 0x31]
mov rdi, qword [rbp - 0x78]
mov r9d, 0x5448
mov rsi, qword [rbp - 0x78]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x58], r14d
cmp r14d, 0x42
ja case.default.0x1800077d8
movzx eax, byte [rcx + r14 + 0x8694]
mov ecx, dword [rcx + rax*4 + 0x8658]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov dword [rsp + 0x54], edx
jmp case.0x1800077d8.14
mov eax, dword [str.GetSyscfgexOrderType]
mov dword [rbp - 0x20], eax
movzx eax, byte [0x180069abc]
mov byte [rbp - 0x1c], al
jmp case.0x1800077d8.14
mov r12d, 1
mov r15d, edx
mov dword [rsp + 0x74], r12d
jmp case.0x1800077d8.14
cmp dword [r11], 0x10000
jge 0x18000786b
mov ecx, 0xd6
nop dword [rax]
mov eax, ecx
sub eax, 0xd6
je 0x180007856
sub eax, 1
je 0x180007846
cmp eax, 1
jne 0x180007861
movzx eax, byte [r11]
and al, 0x3f
or al, 0x80
mov byte [r10 + 2], al
mov eax, 3
jmp 0x18000789a
mov eax, dword [r11]
sar eax, 6
and al, 0x3f
or al, 0x80
mov byte [r10 + 1], al
jmp 0x180007861
mov eax, dword [r11]
sar eax, 0xc
or al, 0xe0
mov byte [r10], al
inc ecx
cmp ecx, 0xd9
jb 0x180007820
cmp dword [r11], 0x110000
jge 0x18000790f
mov ecx, 0xff
nop dword [rax]
mov eax, ecx
sub eax, 0xff
je 0x1800078f5
sub eax, 0x41
je 0x1800078e5
sub eax, 0x41
je 0x1800078c4
cmp eax, 0x41
jne 0x180007900
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.180064e10
mov rbx, qword [rsp + 0x398]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [r11]
mov ebx, 4
sar eax, 6
and al, 0x3f
or al, 0x80
mov byte [r10 + 2], al
movzx eax, byte [r11]
and al, 0x3f
or al, 0x80
mov byte [r10 + 3], al
jmp 0x180007900
mov eax, dword [r11]
sar eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [r10 + 1], al
jmp 0x180007900
mov eax, dword [r11]
sar eax, 0x12
or al, 0xf0
mov byte [r10], al
add ecx, 0x41
cmp ecx, 0x203
jb 0x180007880
mov ebx, edx
mov dword [rsp + 0x50], edx
jmp case.0x1800077d8.14
mov byte [rbp - 0x12], 0
jmp case.0x1800077d8.14
mov dword [rbp - 0x50], 0x50545448
jmp case.0x1800077d8.14
mov r12d, 0xd1
mov eax, r12d
sub eax, 0xcf
je 0x18000795e
sub eax, 1
je 0x180007956
cmp eax, 1
jne 0x180007a6c
mov qword [rbp - 0x80], rdx
jmp 0x180007a6c
mov rsi, rdx
jmp 0x180007a6c
mov r13, qword [r11]
mov r11, qword [r13 + 0x28]
test r11, r11
je 0x180007a67
mov r14d, 0x5f
cmp r14d, 0x5f
je 0x180007a4c
cmp r14d, 0x474
je 0x180007a3f
cmp r14d, 0x889
je 0x180007a31
cmp r14d, 0xc9e
jne 0x180007a53
test rdi, rdi
je 0x180007a53
nop
mov r10d, 0x62
mov eax, r10d
sub eax, 0x62
je 0x1800079c9
cmp eax, 1
jne 0x180007a21
mov rdi, qword [rdi + 0x10]
jmp 0x180007a21
mov r8, qword [rdi]
mov rax, r8
and eax, 7
jne 0x1800079d9
mov rax, rdx
jmp 0x1800079df
neg rax
and eax, 7
lea rdx, [rax + r8]
cmp rdx, r8
jb 0x180007a1f
mov r9, qword [rdi + 8]
add r9, r8
nop
cmp rdx, r9
jae 0x180007a1f
cmp rdx, r11
je 0x180007a1f
mov rcx, qword [rdx + 8]
cmp rcx, 0xb
je 0x180007a1f
test cl, 2
jne 0x180007a13
mov rax, rcx
and rax, 0xfffffffffffffffc
sub rsi, rax
and rcx, 0xfffffffffffffffc
add rdx, rcx
cmp rdx, r8
jae 0x1800079f0
xor edx, edx
inc r10d
cmp r10d, 0x64
jb 0x1800079b6
test rdi, rdi
jne 0x1800079b0
jmp 0x180007a53
mov rsi, qword [rbp - 0x80]
sub rsi, qword [r13 + 0x10]
sub rsi, 0x48
jmp 0x180007a53
mov rax, qword [r13 + 0x350]
mov qword [rbp - 0x80], rax
jmp 0x180007a53
lea rdi, [r13 + 0x368]
add r14d, 0x415
cmp r14d, 0x1054
jbe 0x180007974
mov r11, qword [rsp + 0x60]
dec r12d
cmp r12d, 0xce
ja 0x180007935
mov r12d, dword [rsp + 0x74]
mov r8d, 0x31
mov r10, qword [rsp + 0x48]
mov r9d, 0x5448
mov r14d, dword [rsp + 0x58]
mov r13d, dword [rsp + 0x68]
jmp case.0x1800077d8.14
mov r8d, 4
mov byte [rbp - 0x1b], 0
lea rdx, [0x180069ae4]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov eax, dword [0x180069b46]
mov dword [rbp - 0x17], eax
movzx eax, byte [0x180069b4a]
mov byte [rbp - 0x13], al
mov r10, qword [rsp + 0x48]
mov r8d, 0x31
mov r9d, 0x5448
jmp case.0x1800077d8.14
mov word [rbp - 0x49], r8w
jmp case.0x1800077d8.14
mov eax, dword [r11]
test eax, eax
js 0x180007bcd
cmp eax, 0x80
jl 0x180007bc0
cmp eax, 0x800
jge case.0x1800077d8.14
mov ecx, 0x2e
cmp ecx, 0x2e
je 0x180007b3e
cmp ecx, 0x1d1c
je 0x180007b30
cmp ecx, 0x3a0a
jne 0x180007b49
mov eax, 2
jmp 0x18000789a
movzx eax, byte [r11]
and al, 0x3f
or al, 0x80
mov byte [r10 + 1], al
jmp 0x180007b49
mov eax, dword [r11]
sar eax, 6
or al, 0xc0
mov byte [r10], al
add ecx, 0x1cee
cmp ecx, 0x56ca
jbe 0x180007b11
jmp case.0x1800077d8.14
mov r8d, 4
lea rdx, [0x180069b77]
lea rcx, [rbp - 0x12]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp - 0xe], 0x75
jmp 0x180007acf
mov eax, 0x2f
mov word [rbp - 0x4c], ax
mov eax, 0x2e31
mov word [rbp - 0x4b], ax
mov eax, dword [rsp + 0x40]
lea rcx, [0x180000000]
inc r13d
inc r14d
xor edx, edx
mov dword [rsp + 0x68], r13d
mov dword [rsp + 0x58], r14d
cmp r13d, eax
jae 0x180007fcb
mov r11, qword [rsp + 0x60]
jmp 0x1800077b4
mov byte [r10], al
mov eax, 1
jmp 0x18000789a
mov eax, edx
jmp 0x18000789a
mov r8, qword [rbp - 0x70]
mov r9, qword [rsp + 0x78]
mov esi, dword [rsp + 0x54]
movsxd rbx, r15d
add r10, 2
mov eax, 0xd3
mov qword [rsp + 0x48], r10
cmp eax, 0xd3
jne 0x180007fb1
movzx ecx, byte [r10]
test cl, cl
jne 0x180007c15
movzx eax, byte [r10 + 1]
movzx eax, byte [rax + r11 + 0x90]
jmp 0x180007c58
movzx eax, byte [r10 + 1]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
mov r9d, 0x7b
mov qword [rsp + 0x20], rdx
xor edx, edx
mov byte [rsp + 0x30], cl
lea rcx, [rsp + 0x38]
mov byte [rsp + 0x38], al
call fcn.18005acc0
mov r10, qword [rsp + 0x48]
xor edx, edx
mov r8, qword [rbp - 0x70]
mov r9, qword [rsp + 0x78]
mov r11, qword [rsp + 0x60]
sub eax, 3
cmp eax, 0x1a
ja case.0x180007c77.4
lea rdi, [0x180000000]
cdqe
mov ecx, dword [rdi + rax*4 + 0x86d8]
add rcx, rdi
jmp rcx
mov ecx, 9
nop
mov eax, ecx
sub eax, 8
je case.0x180007c77.4
cmp eax, 1
jne 0x180007cb1
test r12d, r12d
jne 0x180007cb1
cmp r15d, dword [r8]
jge 0x180007cab
mov rax, rbx
shl rax, 5
mov qword [rax + r9], r10
mov byte [rax + r9 + 0x18], 1
mov r12d, 1
dec ecx
cmp ecx, 7
ja 0x180007c80
mov ecx, 0x9b
nop dword [rax]
mov eax, ecx
sub eax, 0x9b
je 0x180007ce3
sub eax, 1
je 0x180007cd9
cmp eax, 1
je case.0x180007c77.4
jmp 0x180007d04
inc r10
mov qword [rsp + 0x48], r10
jmp 0x180007d04
test r12d, r12d
jne 0x180007d04
cmp r15d, dword [r8]
jge 0x180007cfe
mov rax, rbx
shl rax, 5
mov qword [rax + r9], r10
mov byte [rax + r9 + 0x18], 1
mov r12d, 1
inc ecx
cmp ecx, 0x9e
jb 0x180007cc0
mov eax, 0x10e
cmp eax, 0x10e
je 0x180007d50
add eax, 0x7620
cmp eax, 0x7620
jbe 0x180007d13
test r12d, r12d
jne case.0x180007c77.4
cmp r15d, dword [r8]
jge 0x180007d45
mov rax, rbx
shl rax, 5
mov qword [rax + r9], r10
mov byte [rax + r9 + 0x18], 1
mov r12d, 1
jmp case.0x180007c77.4
test r12d, r12d
jne 0x180007d71
cmp r15d, dword [r8]
jge 0x180007d6b
mov rax, rbx
shl rax, 5
mov qword [rax + r9], r10
mov byte [rax + r9 + 0x18], 1
mov r12d, 1
add r10, 2
mov qword [rsp + 0x48], r10
jmp case.0x180007c77.4
cmp r12d, 2
je 0x180007dd1
mov edx, 0x19
nop word [rax + rax]
mov eax, edx
sub eax, 0x18
je 0x180007db9
cmp eax, 1
jne 0x180007dc1
cmp r15d, dword [r8]
jge 0x180007db1
mov rax, rbx
lea rcx, [r10 + 2]
shl rax, 5
mov qword [rax + r9 + 8], rcx
mov r12d, 2
jmp 0x180007dc1
mov dword [rsp + 0x54], ILRemoveLastID
dec edx
cmp edx, 0x17
ja 0x180007d90
mov esi, dword [rsp + 0x54]
jmp case.0x180007c77.4
cmp esi, 0xc
jne case.0x180007c77.4
mov rax, rbx
lea rdx, [r9 + 0x10]
shl rax, 5
lea ecx, [rsi + 0x2b]
add rdx, rax
nop dword [rax + rax]
mov eax, ecx
sub eax, 0x37
je 0x180007e17
sub eax, 1
je 0x180007e0d
cmp eax, 1
jne 0x180007e1a
inc r15d
inc rbx
add rdx, 0x20
jmp 0x180007e1a
cmp r15d, dword [r8]
jge 0x180007e1a
mov qword [rdx], r10
jmp 0x180007e1a
xor r12d, r12d
inc ecx
cmp ecx, 0x3a
jb 0x180007df0
jmp case.0x180007c77.4
cmp r12d, 2
je 0x180007e77
mov edx, 0x92
mov eax, edx
sub eax, 0x91
je 0x180007e5c
cmp eax, 1
jne 0x180007e64
cmp r15d, dword [r8]
jge 0x180007e54
mov rax, rbx
lea rcx, [r10 + 2]
shl rax, 5
mov qword [rax + r9 + 8], rcx
mov r12d, 2
jmp 0x180007e64
mov dword [rsp + 0x54], ILRemoveLastID
dec edx
cmp edx, 0x90
ja 0x180007e31
mov esi, dword [rsp + 0x54]
jmp case.0x180007c77.4
cmp esi, 0xd
jne case.0x180007c77.4
mov rax, rbx
lea rdx, [r9 + 0x10]
shl rax, 5
lea ecx, [rsi + 0x63]
add rdx, rax
cmp ecx, 0x70
je 0x180007eaa
cmp ecx, 0xa10
jne 0x180007eb5
inc r15d
inc rbx
add rdx, 0x20
jmp 0x180007eb5
xor r12d, r12d
cmp r15d, dword [r8]
jge 0x180007eb5
mov qword [rdx], r10
add ecx, 0x9a0
cmp ecx, 0x1340
jbe 0x180007e91
jmp case.0x180007c77.4
cmp r12d, 1
jne 0x180007ed6
mov r12d, edx
jmp case.0x180007c77.4
cmp r12d, 2
jne case.0x180007c77.4
cmp r15d, dword [r8]
jge case.0x180007c77.4
mov rdi, rbx
shl rdi, 5
add rdi, r9
cmp byte [rdi + 0x18], 0
je case.0x180007c77.4
cmp r10, qword [rdi + 8]
je 0x180007f79
cmp byte [r10], 0
jne 0x180007f79
cmp byte [r10 + 1], 0x20
jne 0x180007f79
movzx ecx, byte [r10 + 2]
test cl, cl
jne 0x180007f34
cmp byte [r10 + 3], 0x20
je 0x180007f79
test cl, cl
jne 0x180007f34
movzx eax, byte [r10 + 3]
movzx eax, byte [rax + r11 + 0x90]
jmp 0x180007f75
movzx eax, byte [r10 + 3]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov r9d, 0x7b
mov qword [rsp + 0x20], rdx
xor edx, edx
mov byte [rsp + 0x38], cl
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], al
call fcn.18005acc0
mov r10, qword [rsp + 0x48]
mov r8, qword [rbp - 0x70]
mov r9, qword [rsp + 0x78]
mov r11, qword [rsp + 0x60]
cmp eax, esi
jne case.0x180007c77.4
mov byte [rdi + 0x18], 0
jmp case.0x180007c77.4
cmp r12d, 1
jne 0x180007f8a
mov r12d, edx
jmp case.0x180007c77.4
cmp r12d, 2
jne case.0x180007c77.4
cmp r15d, dword [r8]
jge case.0x180007c77.4
mov rax, rbx
shl rax, 5
mov byte [rax + r9 + 0x18], 0
jmp case.0x180007c77.4
cmp r12d, 2
jne 0x180007fc3
mov eax, 0xd3
xor edx, edx
inc eax
cmp eax, 0xd4
jb 0x180007bf2
jmp 0x180007be4
mov eax, r15d
jmp 0x18000789a
mov r13d, dword [rsp + 0x6c]
movzx edi, byte [rsp + 0x38]
lea eax, [r13 - 0xe]
mov byte [rsp + 0x30], dil
cmp r13d, eax
jbe 0x18000821b
mov r14d, ILRemoveLastID
lea esi, [r13 - 0x54]
movabs r15, 0x6f697463656e6e
lea r12d, [r14 + 0x35]
jmp 0x180008017
lea rcx, [0x180000000]
cmp esi, 0x35
ja case.0x180008039.14
movzx eax, byte [rcx + rsi + 0x8780]
mov ecx, dword [rcx + rax*4 + 0x8744]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov r8d, 2
lea rdx, [0x180069788]
lea rcx, [rbp - 0x34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rcx, [rbp - 8]
mov word [rbp - 8], r12w
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180008060
movzx eax, word [0x180069b80]
mov word [rcx], ax
jmp case.0x180008039.14
movsd xmm0, qword [0x180069b92]
movzx eax, word [0x180069b9a]
movsd qword [rbp + 0x12], xmm0
mov word [rbp + 0x1a], ax
mov word [rbp + 0x1c], dx
jmp case.0x180008039.14
mov qword [rbp - 6], r15
mov word [rbp + 1], 0x6e
jmp case.0x180008039.14
lea rcx, [rbp - 0x40]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800080b0
movzx eax, word [0x1800695bc]
mov word [rcx], ax
mov eax, dword [str.clos]
mov dword [rbp - 0x38], eax
movzx eax, byte [0x180069ba8]
mov byte [rbp - 0x34], al
jmp case.0x180008039.14
mov r8d, 1
lea rdx, [0x180069bc8]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
jmp case.0x180008039.14
mov r8d, 3
mov byte [rbp - 0x40], 0
lea rdx, [0x180069c58]
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp case.0x180008039.14
movsd xmm0, qword [0x180069c76]
movzx eax, word [0x180069c7e]
movsd qword [rbp + 8], xmm0
mov word [rbp + 0x10], ax
mov word [rbp + 0x12], dx
jmp case.0x180008039.14
movzx eax, word [0x180069cdc]
mov rdx, qword [r10 + 0x18]
mov rcx, qword [r10 + 0x10]
mov word [rbp - 0x2b], ax
mov rax, rdx
sub rax, rcx
mov dword [rbp - 0x29], 0x746e65
cmp rax, 3
jb 0x180008197
lea rax, [rcx + 3]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x180008173
mov rax, qword [r10]
lea rdi, [rax + rcx]
mov r8d, 3
mov rcx, rdi
lea rdx, [0x18006945c]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 3], 0
movzx edi, byte [rsp + 0x30]
jmp case.0x180008039.14
xor r8d, r8d
mov qword [rsp + 0x20], 3
lea r9, [0x18006945c]
mov rcx, r10
lea edx, [r8 + 3]
call fcn.180002a60
jmp case.0x180008039.14
mov r8d, 1
lea rdx, [0x180069cf7]
lea rcx, [rbp - 0xd]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp case.0x180008039.14
mov dil, 1
mov byte [rsp + 0x30], dil
jmp case.0x180008039.14
mov dword [rbp - 0x2e], 0x2d7265
jmp case.0x180008039.14
movzx eax, word [0x180069d28]
mov word [rbp - 0x30], ax
movzx eax, byte [0x180069d2a]
mov byte [rbp - 0x2e], al
jmp case.0x180008039.14
mov byte [rbp - 0xc], 0
jmp case.0x180008039.14
mov byte [rbp - 0xd], 0
mov r10, qword [rsp + 0x48]
dec esi
mov edx, 0
sub r14, 1
jne 0x180008010
lea r15d, [r13 - 0x10]
cmp r13d, r15d
jbe case.0x1800077d8.13
mov r12, qword [rbp - 0x78]
lea r14d, [r13 - 0x54]
movzx r13d, byte [rsp + 0x38]
lea rdx, str.LLiLLiLLii
mov esi, dword [rsp + 0x70]
cmp r14d, 0x35
ja case.0x180008266.6
lea r8, [0x180000000]
movzx eax, byte [r8 + r14 + 0x87fc]
mov ecx, dword [r8 + rax*4 + 0x87b8]
add rcx, r8
jmp rcx
test r13b, r13b
je case.0x180008266.6
mov rcx, qword [rbp - 0x68]
call sub.RPCRT4.dll_MesHandleFree
jmp 0x180008619
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x38], 0x10
lea rdx, [rax + 0x20]
jb 0x180008293
mov rdx, qword [rax + 0x20]
mov r12, qword [rsp + 0x48]
mov r8, qword [rax + 0x30]
mov rcx, r12
call fcn.180032300
mov rcx, qword [r12 + 0x10]
mov rdx, qword [r12 + 0x18]
cmp rcx, rdx
jae 0x1800082d9
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 0x10
jb 0x1800082c9
mov rax, qword [r12]
mov word [rax + rcx], 0x20
xor eax, eax
mov r12d, eax
jmp 0x180008619
xor r8d, r8d
mov r9b, 0x20
mov rcx, r12
lea edx, [r8 + 1]
call fcn.180002900
xor eax, eax
mov r12d, eax
jmp 0x180008619
xor eax, eax
mov qword [rbp - 0x80], rax
jmp case.0x180008266.6
mov edx, dword [rsp + 0x58]
lea rax, [rbp + 0x30]
mov rcx, qword [rbp - 0x80]
mov r9d, esi
mov r8, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r8, qword [rsp + 0x60]
add r8, 0x40
mov dword [rsp + 0x6c], eax
cmp qword [r8 + 0x18], 0x10
jb 0x180008334
mov r8, qword [r8]
lea rax, [rbp - 0x30]
jmp 0x180008603
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x78]
call sub.RPCRT4.dll_MesEncodeDynBufferHandleCreate
lea rcx, [rbp - 0x60]
mov edi, eax
call qword [rsp + 0x78]
test eax, eax
je 0x180008635
test edi, edi
lea rdx, str.LLiLLiLLii
movzx edi, byte [rsp + 0x30]
je case.0x180008266.6
xor r13b, r13b
jmp case.0x180008266.6
lea rax, [rbp - 0x50]
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x180008390
mov r10, qword [rsp + 0x48]
mov rdx, qword [r10 + 0x18]
mov rcx, qword [r10 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1800083ea
lea rax, [rcx + rsi]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x1800083c5
mov rax, qword [r10]
lea rdi, [rax + rcx]
mov r8, rsi
mov rcx, rdi
lea rdx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
xor eax, eax
movzx edi, byte [rsp + 0x30]
mov esi, eax
jmp 0x180008619
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, r10
call fcn.180002a60
xor eax, eax
mov esi, eax
jmp 0x180008619
mov rax, qword [rsp + 0x60]
add rax, 0x20
cmp qword [rax + 0x18], 0x10
jb 0x18000841d
mov rax, qword [rax]
cmp byte [rax], 0x2f
je case.0x180008266.6
mov r10, qword [rsp + 0x48]
mov rcx, qword [r10 + 0x10]
mov rdx, qword [r10 + 0x18]
cmp rcx, rdx
jae 0x180008457
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x18000844c
mov rax, qword [r10]
mov word [rax + rcx], 0x2f
jmp 0x180008619
mov r9b, 0x2f
xor r8d, r8d
mov rcx, r10
lea edx, [r8 + 1]
call fcn.180002900
jmp 0x180008619
cmp qword [0x180071528], 0x10
lea rdx, [0x180071510]
mov r8, qword [0x180071520]
cmovae rdx, qword [0x180071510]
mov rcx, qword [rsp + 0x48]
call fcn.180032300
jmp 0x180008619
xor eax, eax
lea r8, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 8]
lea edx, [rax + 0x25]
call fcn.18002be80
mov qword [rsp + 0x78], rax
xor eax, eax
mov dword [rsp + 0x70], eax
mov qword [rbp - 0x68], rax
jmp 0x180008619
mov dword [rsp + 0x58], 0x36
jmp case.0x180008266.6
xor eax, eax
lea rdx, [0x180069d36]
lea rcx, [rbp + 8]
mov word [rbp + 0x1e], ax
lea r8d, [rax + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov r13b, 1
jmp 0x180008619
mov qword [rbp - 0x78], rdx
jmp case.0x180008266.6
mov r10, qword [rsp + 0x48]
mov rcx, qword [r10 + 0x10]
mov rdx, qword [r10 + 0x18]
cmp rcx, rdx
jae 0x180008533
lea rax, [rcx + 1]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x180008528
mov rax, qword [r10]
mov word [rax + rcx], 0x20
jmp 0x180008619
mov r9b, 0x20
xor r8d, r8d
mov rcx, r10
lea edx, [r8 + 1]
call fcn.180002900
jmp 0x180008619
mov r8, qword [0x180071520]
lea rdx, [0x180071510]
xor eax, eax
mov ecx, eax
movzx eax, dil
cmp dword [rsp + 0x6c], ecx
cmove ecx, eax
cmp qword [0x180071528], 0x10
movzx edi, cl
mov byte [rsp + 0x30], cl
cmovae rdx, qword [0x180071510]
mov rcx, qword [rsp + 0x48]
call fcn.180032300
test dil, dil
je 0x180008619
mov ecx, dword [rsp + 0x58]
lea r9, [rbp + 0x30]
mov r8d, esi
mov rdx, r12
call qword [sym.imp.SHELL32.dll_SHSetFolderPathW]
jmp 0x180008619
cmp qword [0x180071528], 0x10
lea rdx, [0x180071510]
mov r8, qword [0x180071520]
cmovae rdx, qword [0x180071510]
mov rcx, qword [rsp + 0x48]
call fcn.180032300
mov rax, qword [rsp + 0x60]
mov r8, rax
cmp qword [rax + 0x18], 0x10
jb 0x1800085e1
mov r8, qword [rax]
mov r9, qword [rsp + 0x48]
lea rax, [rbp - 0x40]
mov edx, 0xa5
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.180004220
lea rax, [rbp - 8]
lea r8, [rbp - 0x38]
mov r9, qword [rsp + 0x48]
mov edx, 0xa5
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.180004220
lea rdx, str.LLiLLiLLii
dec r14d
lea eax, [r14 + 0x54]
cmp eax, r15d
ja 0x180008241
jmp case.0x1800077d8.13
mov byte [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
jmp 0x18000789a
cmp byte [rbp - 0x60], 1
sete byte [rsp + 0x50]
mov eax, dword [rsp + 0x50]
jmp 0x18000789a