Function at 0x180064a80
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
movaps xmmword [rsp + 0x410], xmm6
mov rax, qword [0x1800bf580]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov r14, r9
mov qword [rbp - 0x38], r9
mov r12, r8
mov qword [rbp - 0x50], r8
mov r9, rdx
mov qword [rsp + 0x70], rdx
mov rdx, rcx
mov qword [rbp - 0x68], rcx
xor r15d, r15d
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
mov r13d, dword [rbp + 0x380]
lea eax, [r13 + 0xc]
mov dword [rbp - 0x1c], eax
cmp r13d, eax
jae 0x180065eec
mov r8d, 0x69
lea r11d, [r8 - 0x28]
mov esi, 0x6544
lea ebx, [r8 - 8]
movabs rdi, 0x7ffffffffffffffe
lea r10, [0x180000000]
lea eax, [r13 - 0xbb]
cmp eax, 0x18
ja case.0x180064b3f.188
mov ecx, dword [r10 + rax*4 + 0x65fa4]
add rcx, r10
jmp rcx
mov rdi, qword [0x1800bf488]
lea rbx, [0x1800bf478]
cmp qword [0x1800bf490], 8
cmovae rbx, qword [0x1800bf478]
cmp rdi, 8
jae 0x180064b77
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x70], xmm0
mov esi, 7
mov r15, qword [rbp + 0x70]
jmp 0x180064bb6
mov rsi, rdi
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
cmova rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rbp + 0x70]
call fcn.1800497a0
mov r15, rax
mov qword [rbp + 0x70], rax
lea r8, [rdi*2 + 2]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x80], rdi
lea r14, [rbp + 0x70]
cmp rsi, 8
cmovae r14, r15
cmp rdi, 8
jae 0x180064be7
movups xmm6, xmmword [r14]
mov qword [rbp + 0xa8], 7
jmp 0x180064c37
mov rbx, rdi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x90]
call fcn.1800497a0
mov qword [rbp + 0x90], rax
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0xa8], rbx
movups xmm6, xmmword [rbp + 0x90]
mov qword [rbp + 0xa0], rdi
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x180064c7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180064c79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180065edb
call fcn.180093104
movups xmmword [rbp + 0x50], xmm6
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x60], xmm0
cmp rsi, 8
jb 0x180064cc8
lea rdx, [rsi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x180064cc0
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180065f2f
mov rcx, r15
call fcn.180093104
mov byte [rsp + 0x38], 1
xor r15d, r15d
jmp case.0x180064b3f.188
mov r8, qword [rbp + 0x390]
mov r10, qword [rbp + 0x388]
cmp dword [r8], 0
jne 0x180064d16
cmp dword [r9], 0
jne 0x180064d16
cmp dword [r10], 0
jne 0x180064d16
cmp dword [rdx], 0
jne 0x180064d16
mov qword [rsp + 0x20], r12
mov r9, r14
xor edx, edx
xor ecx, ecx
mov r8d, 0x12e
call fcn.180036810
jmp case.0x180064b3f.188
mov ecx, 0x3d
nop dword [rax + rax]
mov eax, ecx
sub eax, 0x3d
je 0x180065564
sub eax, 0x28
je 0x18006555a
sub eax, 0x28
je 0x180065536
cmp eax, 0x28
jne 0x18006556c
mov r10d, dword [rsp + 0x58]
lea r15d, [r10 - 1]
mov dword [rbp - 0x70], r15d
mov esi, dword [rbp - 0x28]
dec esi
mov dword [rsp + 0x50], esi
mov r11d, dword [rsp + 0x48]
test r11d, r11d
jle 0x18006556c
mov ebx, dword [rsp + 0x64]
test ebx, ebx
jle 0x18006556c
movsx eax, byte [r14 + 0x18]
add eax, 0xfffffffe
cmp eax, 7
ja case.default.0x180064da2
movsxd rdx, dword [rsp + 0x5c]
mov r13, rdx
cdqe
lea rdi, [0x180000000]
mov ecx, dword [rdi + rax*4 + 0x66008]
add rcx, rdi
jmp rcx
mov edi, 0x79
nop dword [rax]
cmp edi, 0x79
je 0x180064f3b
cmp edi, 0x466d
je 0x180064f2a
cmp edi, 0x8c61
jne 0x180064f7e
xor ecx, ecx
mov ebx, ecx
nop word [rax + rax]
mov r11d, 0x3e
nop word [rax + rax]
mov eax, r11d
sub eax, 0x3e
je 0x180064eca
cmp eax, 0x5f
jne 0x180064eef
mov r10d, ecx
mov r12, qword [rbp - 0x48]
nop dword [rax]
mov r9d, 0x4e
nop word [rax + rax]
mov eax, r9d
sub eax, 0x4d
je 0x180064eb7
cmp eax, 1
jne 0x180064ec4
mov eax, r10d
sub eax, dword [r8]
cmp eax, r15d
jle 0x180064e45
mov eax, r15d
jmp 0x180064e4a
test eax, eax
cmovs eax, ecx
imul eax, edx
movsxd rcx, eax
add rcx, r12
mov r14, qword [rbp - 0x80]
test r13, r13
jle 0x180064e8b
mov rdx, r14
sub rcx, r14
mov r8, r13
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
mov byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x180064e70
mov edx, dword [rsp + 0x5c]
mov r8, qword [rbp + 0x390]
xor ecx, ecx
dec r9d
cmp r9d, 0x4c
ja 0x180064e20
inc r10d
cmp r10d, dword [rsp + 0x48]
jl 0x180064e10
mov qword [rbp - 0x80], r14
mov rax, r12
mov r9, qword [rsp + 0x70]
mov r10d, dword [rsp + 0x58]
jmp 0x180064ef7
mov r14, qword [rbp - 0x80]
add r14, r13
mov qword [rbp - 0x80], r14
jmp 0x180064e8d
mov r14, qword [rbp - 0x80]
jmp 0x180064e8d
mov eax, ebx
sub eax, dword [r9]
cmp eax, esi
jle 0x180064ed7
mov eax, esi
jmp 0x180064edc
test eax, eax
cmovs eax, ecx
imul eax, edx
imul eax, r10d
cdqe
add rax, qword [rbp + 8]
mov qword [rbp - 0x48], rax
jmp 0x180064ef3
mov rax, qword [rbp - 0x48]
mov r14, qword [rbp - 0x80]
add r11d, 0x5f
cmp r11d, 0xfc
jb 0x180064df0
inc ebx
cmp ebx, dword [rsp + 0x64]
jl 0x180064de0
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x80], r14
mov ebx, dword [rsp + 0x64]
mov r14, qword [rbp - 0x38]
mov r12, qword [rbp - 0x50]
jmp 0x180064f79
mov rax, qword [r14]
mov qword [rbp + 8], rax
mov rax, qword [r12]
mov qword [rbp - 0x80], rax
jmp 0x180064f7e
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x40], r11d
movzx eax, byte [r14 + 0x18]
mov byte [rsp + 0x30], al
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
mov ecx, 0x94
call fcn.18007f890
mov r11d, dword [rsp + 0x48]
add edi, 0x45f4
cmp edi, 0xd1dc
mov edx, dword [rsp + 0x5c]
mov r8, qword [rbp + 0x390]
mov r9, qword [rsp + 0x70]
mov r10d, dword [rsp + 0x58]
jbe 0x180064db0
jmp 0x18006551f
mov edi, 0x2f
mov dword [rsp + 0x50], edi
cmp edi, 0x2f
je 0x180065158
cmp edi, 0x843
jne 0x1800651ab
xor ecx, ecx
mov ebx, ecx
mov edi, dword [rbp - 0x2c]
nop
mov r11d, 0xb4
nop word [rax + rax]
mov eax, r11d
sub eax, 0xb4
je 0x180065101
sub eax, 1
je 0x1800650d1
cmp eax, 1
jne 0x180065106
mov r10d, ecx
nop dword [rax]
nop word [rax + rax]
mov r9d, 0xec
cmp r9d, 0xec
je 0x180065089
mov r14d, dword [rsp + 0x60]
cmp r9d, 0x1ad
jne 0x180065094
cmp r14d, r15d
jle 0x180065037
mov eax, r15d
jmp 0x180065040
mov eax, r14d
test r14d, r14d
cmovs eax, ecx
imul eax, edx
cdqe
mov rcx, qword [rbp - 0x60]
lea rdx, [rcx + rax*2]
mov r12, qword [rsp + 0x78]
test r13, r13
jle 0x180065078
mov rcx, r12
sub rdx, r12
mov r8, r13
movzx eax, word [rdx + rcx]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub r8, 1
jne 0x180065060
mov r8, qword [rbp + 0x390]
lea r12, [r12 + r13*2]
mov qword [rsp + 0x78], r12
mov edx, dword [rsp + 0x5c]
xor ecx, ecx
jmp 0x180065099
mov r14d, r10d
sub r14d, dword [r8]
mov dword [rsp + 0x60], r14d
mov r12, qword [rsp + 0x78]
add r9d, 0xc1
cmp r9d, 0x26e
jb 0x180065016
inc r10d
cmp r10d, dword [rsp + 0x48]
jl 0x180065010
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x78], r12
mov r9, qword [rsp + 0x70]
mov r10d, dword [rsp + 0x58]
jmp 0x180065110
cmp edi, esi
jle 0x1800650d9
mov eax, esi
jmp 0x1800650e0
mov eax, edi
test edi, edi
cmovs eax, ecx
imul eax, edx
imul eax, r10d
cdqe
mov rcx, qword [rbp + 0x10]
lea rax, [rcx + rax*2]
mov qword [rbp - 0x60], rax
mov r14d, dword [rsp + 0x60]
mov r12, qword [rsp + 0x78]
jmp 0x180065114
mov edi, ebx
sub edi, dword [r9]
mov r12, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x60]
mov rax, qword [rbp - 0x60]
inc r11d
cmp r11d, 0xb7
mov ecx, 0
jb 0x180064fe0
inc ebx
cmp ebx, dword [rsp + 0x64]
jl 0x180064fd0
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x2c], edi
mov edi, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x64]
mov r14, qword [rbp - 0x38]
mov r12, qword [rbp - 0x50]
jmp 0x1800651a6
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x68], r11d
movzx eax, byte [r14 + 0x18]
mov byte [rsp + 0x30], al
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov ecx, 0x94
call fcn.18007f890
mov rax, qword [r14]
mov qword [rbp + 0x10], rax
mov rax, qword [r12]
mov qword [rsp + 0x78], rax
mov r11d, dword [rsp + 0x48]
add edi, 0x814
mov dword [rsp + 0x50], edi
cmp edi, 0x1028
mov edx, dword [rsp + 0x5c]
mov r8, qword [rbp + 0x390]
mov r9, qword [rsp + 0x70]
mov r10d, dword [rsp + 0x58]
jbe 0x180064fb3
jmp 0x18006551f
mov dword [rsp + 0x40], edx
mov dword [rbp - 0x58], ebx
mov dword [rsp + 0x68], r11d
movzx eax, byte [r14 + 0x18]
mov byte [rsp + 0x30], al
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x58]
mov ecx, 0x94
call fcn.18007f890
mov r14, qword [r14]
mov r11, qword [r12]
xor r8d, r8d
mov esi, r8d
mov ecx, dword [rbp - 0x78]
mov dword [rbp - 0x78], ecx
mov rdx, qword [rbp - 0x40]
mov qword [rbp - 0x40], rdx
mov r12d, dword [rsp + 0x50]
nop dword [rax]
mov edi, 0x121
nop word [rax + rax]
cmp edi, 0x121
je 0x180065351
cmp edi, 0x2783
jne 0x180065329
cmp ecx, r12d
jle 0x180065272
mov eax, r12d
jmp 0x18006527a
mov eax, ecx
test ecx, ecx
cmovs eax, r8d
mov ecx, dword [rsp + 0x5c]
imul eax, ecx
imul eax, dword [rsp + 0x58]
cdqe
lea rbx, [r14 + rax*4]
mov r10d, r8d
nop
mov r9d, 0x38
mov eax, r9d
sub eax, 0x37
je 0x1800652db
cmp eax, 1
jne 0x18006530b
mov eax, r10d
mov rdx, qword [rbp + 0x390]
sub eax, dword [rdx]
cmp eax, r15d
jle 0x1800652c6
mov eax, r15d
imul eax, ecx
cdqe
lea rdx, [rbx + rax*4]
mov qword [rbp - 0x40], rdx
jmp 0x18006530b
test eax, eax
cmovs eax, r8d
imul eax, ecx
cdqe
lea rdx, [rbx + rax*4]
mov qword [rbp - 0x40], rdx
jmp 0x18006530b
test r13, r13
jle 0x180065307
mov rcx, r11
sub rdx, r11
mov r8, r13
nop dword [rax]
mov eax, dword [rdx + rcx]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub r8, 1
jne 0x1800652f0
mov ecx, dword [rsp + 0x5c]
mov rdx, qword [rbp - 0x40]
lea r11, [r11 + r13*4]
dec r9d
cmp r9d, 0x36
ja 0x180065296
inc r10d
cmp r10d, dword [rsp + 0x48]
jl 0x180065290
mov qword [rbp - 0x40], rdx
mov ecx, dword [rbp - 0x78]
mov r9, qword [rsp + 0x70]
add edi, 0x2662
cmp edi, 0x4cc4
jbe 0x180065250
inc esi
cmp esi, dword [rsp + 0x64]
jl 0x180065240
jmp 0x180065518
mov ecx, esi
mov r9, qword [rsp + 0x70]
sub ecx, dword [r9]
mov dword [rbp - 0x78], ecx
jmp 0x18006532e
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x40], ebx
mov dword [rbp - 0x58], r11d
movzx eax, byte [r14 + 0x18]
mov byte [rsp + 0x30], al
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
mov ecx, 0x94
call fcn.18007f890
mov r12, qword [r14]
mov qword [rbp - 0x58], r12
mov rdi, qword [rbp - 0x50]
mov rdi, qword [rdi]
xor edx, edx
mov r15d, edx
mov dword [rsp + 0x40], edx
mov r14d, 0x9d
nop dword [rax]
cmp r14d, 0x9d
jne 0x1800654ec
mov eax, r15d
mov rcx, qword [rsp + 0x70]
sub eax, dword [rcx]
cmp eax, esi
jle 0x1800653df
mov eax, esi
jmp 0x1800653e4
test eax, eax
cmovs eax, edx
mov r15d, dword [rsp + 0x5c]
imul eax, r15d
imul eax, dword [rsp + 0x58]
cdqe
lea rsi, [r12 + rax*4]
mov ebx, edx
mov r12d, dword [rbp - 0x70]
nop
mov r11d, 0xc4
cmp r11d, 0xc4
je 0x180065425
cmp r11d, 0x152
jne 0x1800654ba
lea rdi, [rdi + r13*4]
jmp 0x1800654ba
mov eax, ebx
mov rcx, qword [rbp + 0x390]
sub eax, dword [rcx]
cmp eax, r12d
jle 0x18006543a
mov eax, r12d
jmp 0x18006543f
test eax, eax
cmovs eax, edx
imul eax, r15d
cdqe
lea r10, [rsi + rax*4]
mov r9, rdx
cmp r13, 4
jl 0x180065498
lea rcx, [rdi + 4]
mov r8, r10
sub r8, rdi
lea rdx, [r13 - 4]
shr rdx, 2
inc rdx
lea r9, [rdx*4]
nop
mov eax, dword [r8 + rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [r8 + rcx]
mov dword [rcx], eax
mov eax, dword [r8 + rcx + 4]
mov dword [rcx + 4], eax
mov eax, dword [r8 + rcx + 8]
mov dword [rcx + 8], eax
lea rcx, [rcx + 0x10]
sub rdx, 1
jne 0x180065470
cmp r9, r13
jge 0x1800654ba
lea rcx, [rdi + r9*4]
sub r10, rdi
mov rdx, r13
sub rdx, r9
mov eax, dword [rcx + r10]
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1800654aa
add r11d, 0x8e
cmp r11d, 0x1e0
mov edx, 0
jb 0x180065406
inc ebx
cmp ebx, dword [rsp + 0x48]
jl 0x180065400
mov r15d, dword [rsp + 0x40]
mov r12, qword [rbp - 0x58]
mov esi, dword [rsp + 0x50]
add r14d, 0x703b
cmp r14d, 0x703b
jbe 0x1800653c0
inc r15d
mov dword [rsp + 0x40], r15d
cmp r15d, dword [rsp + 0x64]
jl 0x1800653b3
mov r9, qword [rsp + 0x70]
mov r8, qword [rbp + 0x390]
mov rdx, qword [rbp - 0x68]
mov ecx, 0xb5
lea r13d, [rcx + 0x12]
mov r14, qword [rbp - 0x38]
mov r12, qword [rbp - 0x50]
jmp 0x18006556c
mov eax, dword [r14 + 0x10]
mov dword [rbp - 0x28], eax
mov r11d, dword [r10]
add r11d, dword [r8]
add r11d, dword [rsp + 0x58]
mov dword [rsp + 0x48], r11d
mov ebx, dword [r9]
add ebx, eax
add ebx, dword [rdx]
mov dword [rsp + 0x64], ebx
jmp 0x18006556c
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x58], eax
jmp 0x18006556c
mov eax, dword [r14 + 0x14]
mov dword [rsp + 0x5c], eax
add ecx, 0x28
cmp ecx, 0xdd
mov r10, qword [rbp + 0x388]
jb 0x180064d20
xor r15d, r15d
jmp case.0x180064b3f.188
cmp dword [rbp - 0x18], 0
jne case.0x180064b3f.188
mov dword [rsp + 0x28], 1
mov eax, dword [rbp - 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x20]
mov r8d, dword [rbp - 0x30]
mov edx, 1
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_SetTapePosition]
jmp case.0x180064b3f.188
xor edx, edx
cmp byte [0x1800bf659], dl
je 0x180065ee2
xor ecx, ecx
lea r8d, [rdx + 0x7b]
call fcn.180005970
jmp case.0x180064b3f.188
mov ecx, r15d
movzx eax, byte [rsp + 0x38]
cmp dword [rbp - 0x10], 0
cmovne ecx, eax
mov byte [rsp + 0x38], cl
lea rax, [rbp - 0x24]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetTapePosition]
mov dword [rbp - 0x18], eax
mov r8d, 0x104
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp byte [rsp + 0x38], 0
je case.0x180064b3f.188
mov r8d, dword [rbp - 0x14]
mov rdx, qword [rbp - 8]
lea rcx, [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
jmp case.0x180064b3f.188
mov rsi, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
cmp rsi, rdx
jae 0x18006567e
lea rax, [rsi + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdx, 8
cmovae rax, qword [rbp + 0x50]
mov dword [rax + rsi*2], 0x2e
mov qword [rbp - 8], r15
jmp case.0x180064b3f.188
mov rax, rdi
sub rax, rsi
cmp rax, 1
jb 0x180065f9b
lea r15, [rsi + 1]
mov r14, qword [rbp + 0x68]
mov rbx, r15
or rbx, 7
cmp rbx, rdi
jbe 0x1800656a7
mov rbx, rdi
jmp 0x1800656c8
mov rcx, r14
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp r14, rax
jbe 0x1800656bd
mov rbx, rdi
jmp 0x1800656c8
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x50]
call fcn.1800497a0
mov rdi, rax
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], rbx
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r14, 8
jb 0x180065747
mov rbx, qword [rbp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + rdi], 0x2e
xor r15d, r15d
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x180065732
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x180065f2f
mov rbx, rcx
mov rcx, rbx
call fcn.180093104
mov qword [rbp + 0x50], rdi
mov qword [rbp - 8], r15
jmp case.0x180064b3f.188
lea rdx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + rdi], 0x2e
xor r15d, r15d
mov qword [rbp + 0x50], rdi
mov qword [rbp - 8], r15
jmp case.0x180064b3f.188
mov rsi, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
cmp rsi, rdx
jae 0x180065799
lea rax, [rsi + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp rdx, 8
cmovae rax, qword [rbp + 0x50]
mov dword [rax + rsi*2], 0x64
mov rdi, qword [rbp + 0x50]
jmp 0x18006586e
mov rax, rdi
sub rax, rsi
cmp rax, 1
jb 0x180065f9b
lea r15, [rsi + 1]
mov r14, qword [rbp + 0x68]
mov rbx, r15
or rbx, 7
cmp rbx, rdi
jbe 0x1800657c2
mov rbx, rdi
jmp 0x1800657e3
mov rcx, r14
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp r14, rax
jbe 0x1800657d8
mov rbx, rdi
jmp 0x1800657e3
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x50]
call fcn.1800497a0
mov rdi, rax
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], rbx
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r14, 8
jb 0x180065857
mov rbx, qword [rbp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + rdi], 0x64
xor r15d, r15d
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x18006584d
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x180065f2f
mov rbx, rcx
mov rcx, rbx
call fcn.180093104
jmp 0x18006586a
lea rdx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + rdi], 0x64
xor r15d, r15d
mov qword [rbp + 0x50], rdi
mov rsi, qword [rbp + 0x60]
mov r14, qword [rbp + 0x68]
cmp rsi, r14
jae 0x18006589b
lea rax, [rsi + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp r14, 8
cmovae rax, rdi
mov dword [rax + rsi*2], 0x61
jmp 0x180065976
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, rsi
cmp rax, 1
jb 0x180065f9b
lea r15, [rsi + 1]
mov rbx, r15
or rbx, 7
cmp rbx, rdx
jbe 0x1800658ca
mov rbx, rdx
jmp 0x1800658eb
mov rcx, r14
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r14, rax
jbe 0x1800658e0
mov rbx, rdx
jmp 0x1800658eb
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x50]
call fcn.1800497a0
mov rdi, rax
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], rbx
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r14, 8
jb 0x18006595f
mov rbx, qword [rbp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rsi], 0x61
xor r15d, r15d
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x180065955
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x180065f2f
mov rbx, rcx
mov rcx, rbx
call fcn.180093104
jmp 0x180065972
lea rdx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rsi], 0x61
xor r15d, r15d
mov qword [rbp + 0x50], rdi
lea r8, [rbp - 0x14]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorOwner]
mov dword [rbp - 0x10], eax
mov rsi, qword [rbp + 0x60]
mov r14, qword [rbp + 0x68]
cmp rsi, r14
jae 0x1800659b9
lea rcx, [rsi + 1]
mov qword [rbp + 0x60], rcx
lea rcx, [rbp + 0x50]
cmp r14, 8
cmovae rcx, qword [rbp + 0x50]
mov dword [rcx + rsi*2], 0x74
jmp case.0x180064b3f.188
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, rsi
cmp rax, 1
jb 0x180065f9b
lea r15, [rsi + 1]
mov rbx, r15
or rbx, 7
cmp rbx, rdx
jbe 0x1800659e8
mov rbx, rdx
jmp 0x180065a09
mov rcx, r14
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r14, rax
jbe 0x1800659fe
mov rbx, rdx
jmp 0x180065a09
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x50]
call fcn.1800497a0
mov rdi, rax
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], rbx
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r14, 8
jb 0x180065a84
mov rbx, qword [rbp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rsi], 0x74
xor r15d, r15d
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x180065a73
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x180065f2f
mov rbx, rcx
mov rcx, rbx
call fcn.180093104
mov qword [rbp + 0x50], rdi
jmp case.0x180064b3f.188
lea rdx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + rsi], 0x74
xor r15d, r15d
mov qword [rbp + 0x50], rdi
jmp case.0x180064b3f.188
mov dword [rbp + 0xd8], 0x65004d
mov dword [rbp + 0xdc], 0x690064
mov word [rbp + 0xe0], bx
jmp case.0x180064b3f.188
mov rbx, r15
mov qword [rbp - 0x70], rbx
cmp qword [0x1800bf4a8], 0
jbe 0x180065ea0
nop word [rax + rax]
mov r13d, r15d
cmp r13d, 0xb
ja case.default.0x180065afb
mov eax, r13d
mov ecx, dword [r10 + rax*4 + 0x66028]
add rcx, r10
jmp rcx
mov eax, 0x74
mov word [rbp + 0x7b], ax
jmp case.default.0x180065afb
mov word [rbp + 0x81], r11w
jmp case.default.0x180065afb
mov eax, 0x43
mov word [rbp + 0x82], ax
jmp case.default.0x180065afb
mov qword [rbp + 0x20], r15
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x100
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rbp + 0x18], rax
mov r8d, 0x69
lea r10, [0x180000000]
lea r11d, [r8 - 0x28]
test rax, rax
jne case.default.0x180065afb
mov byte [rsp + 0x39], al
jmp case.default.0x180065afb
cmp byte [rsp + 0x39], 0
je 0x180065c89
lea r8, [rbp - 0xc]
lea rdx, [rbp + 0x90]
mov rdi, qword [rbp + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetCommConfig]
test eax, eax
je 0x180065c76
mov ebx, 0x7a
nop dword [rax + rax]
cmp ebx, 0x7a
je 0x180065c4f
cmp ebx, 0x4e28
je 0x180065c0b
cmp ebx, 0x9bd6
je 0x180065c02
cmp ebx, 0xe984
je 0x180065bf9
cmp ebx, 0x13732
jne 0x180065c60
mov r8d, 0x34
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
jmp 0x180065c60
mov byte [rbp + 0xd2], 0
jmp 0x180065c60
mov byte [rbp + 0xd1], 0x65
jmp 0x180065c60
mov word [rbp + 0xcc], si
mov byte [rbp + 0xce], 0
mov r8d, 1
lea rdx, [0x18009cf4f]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r8d, 2
lea rdx, [0x18009cf95]
lea rcx, [rbp + 0xcf]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x180065c60
mov dword [rbp + 0xc8], 0x656d614e
mov byte [rbp + 0xcc], 0
add ebx, 0x4dae
cmp ebx, 0x18466
jbe 0x180065bb0
mov rbx, qword [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs rdi, 0x7ffffffffffffffe
lea rcx, [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
lea rax, [0x1800bf498]
cmp qword [0x1800bf4b0], 0x10
cmovae rax, qword [0x1800bf498]
movsx r12d, byte [rax + rbx]
mov rsi, qword [rbp + 0x60]
mov r14, qword [rbp + 0x68]
cmp rsi, r14
jae 0x180065ce1
lea rax, [rsi + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp r14, 8
cmovae rax, qword [rbp + 0x50]
mov word [rax + rsi*2], r12w
mov word [rax + rsi*2 + 2], r15w
jmp 0x180065dbe
mov rax, rdi
sub rax, rsi
cmp rax, 1
jb 0x180065f95
lea r15, [rsi + 1]
mov rbx, r15
or rbx, 7
cmp rbx, rdi
jbe 0x180065d06
mov rbx, rdi
jmp 0x180065d27
mov rcx, r14
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp r14, rax
jbe 0x180065d1c
mov rbx, rdi
jmp 0x180065d27
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x50]
call fcn.1800497a0
mov rdi, rax
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], rbx
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r14, 8
jb 0x180065d9f
mov rbx, qword [rbp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + rdi], r12w
xor r15d, r15d
mov word [rsi + rdi + 2], r15w
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x180065d95
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x180065f36
mov rbx, rcx
mov rcx, rbx
call fcn.180093104
jmp 0x180065db6
lea rdx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + rdi], r12w
xor r15d, r15d
mov word [rsi + rdi + 2], r15w
mov qword [rbp + 0x50], rdi
mov rbx, qword [rbp - 0x70]
mov esi, 0x6544
mov r8d, 0x69
lea r10, [0x180000000]
lea r11d, [r8 - 0x28]
jmp case.default.0x180065afb
mov eax, 0x48
mov word [rbp + 0x70], ax
mov word [rbp + 0x71], r8w
jmp case.default.0x180065afb
mov dword [rbp + 0x7d], 0x206e6f
mov word [rbp + 0x80], r11w
jmp case.default.0x180065afb
mov word [rbp + 0x7a], r8w
jmp case.default.0x180065afb
mov word [rbp + 0x7c], r8w
jmp case.default.0x180065afb
mov byte [rsp + 0x39], 1
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x94], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa4], xmm1
movdqu xmmword [rbp + 0xb4], xmm0
mov dword [rbp + 0x90], 0x34
mov dword [rbp - 0xc], 0x34
jmp case.default.0x180065afb
mov eax, 0x6867
mov word [rbp + 0x72], ax
mov dword [rbp + 0x74], 0x654420
mov eax, 0x6966
mov word [rbp + 0x77], ax
jmp case.default.0x180065afb
mov eax, 0x6e
mov word [rbp + 0x79], ax
inc r13d
lea eax, [r13 + 0x9e]
cmp eax, 0xaa
movabs rdi, 0x7ffffffffffffffe
jb 0x180065ae3
inc rbx
mov qword [rbp - 0x70], rbx
cmp rbx, qword [0x1800bf4a8]
jb 0x180065ae0
mov r13d, dword [rbp + 0x380]
mov r12, qword [rbp - 0x50]
mov qword [rbp], 0xffffffffffffffff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rax
inc r13d
mov dword [rbp + 0x380], r13d
cmp r13d, dword [rbp - 0x1c]
jae 0x180065eec
mov r9, qword [rsp + 0x70]
mov r14, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x68]
jmp 0x180064b00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x10001
call fcn.18003cff0
movzx ebx, byte [rsp + 0x30]
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x180065f60
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180065f5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180065f5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov qword [rsp + 0x20], r12
mov r9d, 0xfe
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.1800210e0
mov rbx, rax
jmp 0x180065ef1
call fcn.180093104
movzx eax, bl
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1800938b0
mov rbx, qword [rsp + 0x460]
movaps xmm6, xmmword [rsp + 0x410]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18003a870
nop
call fcn.18003a870
int3