Function at 0x180065d70
Capabilities:
Check for software breakpoints

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 - 0x37]
sub rsp, 0xb0
mov rax, qword [0x180112020]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor edi, edi
mov word [rbp - 0x29], 0x15ff
xor r11b, r11b
mov dword [rbp - 0x27], 2
xor r15b, r15b
mov word [rbp - 0x23], 0x8eb
mov byte [rbp - 0x59], r15b
mov r14, rcx
mov qword [rbp - 0x21], rdi
mov r12d, edi
mov word [rbp - 0x49], 0x25ff
mov r13d, edi
mov dword [rbp - 0x47], edi
mov qword [rbp - 0x43], rdi
mov qword [rbp - 0x39], 0x25ff0e70
mov qword [rbp - 0x31], rdi
mov byte [rbp - 0x58], r11b
mov qword [rcx + 0x20], rdi
nop
movzx esi, r15b
lea rdx, [rbp - 0x19]
mov r15, qword [r14 + 0x10]
movzx ebx, r11b
add r15, rsi
add rbx, qword [r14]
mov rcx, rbx
mov qword [rbp - 0x51], rsi
call fcn.180064730
mov r9d, dword [rbp + 8]
mov r8d, eax
bt r9d, 0xc
jb 0x18006615a
movzx r11d, byte [rbp - 0x58]
mov r10, rbx
cmp r11b, 5
jb 0x180065e49
mov r8d, 0xe
mov qword [rbp - 0x43], rbx
lea r10, [rbp - 0x49]
lea r13d, [r8 - 0xd]
jmp 0x180065fcc
movzx eax, byte [rbp - 0xc]
and al, 0xc7
cmp al, 5
jne 0x180065e9f
movzx eax, byte [rbp - 0x19]
lea rdi, [rbp + 0x17]
mov rcx, r8
lea r10, [rbp + 0x17]
mov rsi, rbx
mov edx, ebx
rep movsb byte [rdi], byte [rsi]
sub edx, r15d
mov ecx, r9d
add edx, dword [rbp + 4]
shr rcx, 2
and ecx, 0xf
sub rax, rcx
mov dword [rbp + rax + 0x13], edx
cmp byte [rbp - 0xe], 0xff
jne 0x180065fc8
cmp byte [rbp - 0xa], 4
jne 0x180065fc8
mov r13d, 1
jmp 0x180065fc8
movzx ecx, byte [rbp - 0xe]
cmp cl, 0xe8
jne 0x180065ec9
movsxd rax, dword [rbp - 4]
lea r10, [rbp - 0x29]
movzx ecx, byte [rbp - 0x19]
add rax, rbx
add rcx, rax
mov r8d, 0x10
mov qword [rbp - 0x21], rcx
jmp 0x180065fcc
movzx eax, cl
and al, 0xfd
cmp al, 0xe9
jne 0x180065f28
movzx edx, byte [rbp - 0x19]
movsx rax, byte [rbp - 4]
add rdx, rbx
cmp cl, 0xeb
je 0x180065ee7
movsxd rax, dword [rbp - 4]
lea rcx, [rax + rdx]
mov rax, qword [r14]
cmp rax, rcx
ja 0x180065f0b
add rax, 5
cmp rcx, rax
jae 0x180065f0b
cmp r12, rcx
cmovae rcx, r12
mov r12, rcx
jmp 0x180065fcc
cmp rbx, r12
mov qword [rbp - 0x43], rcx
mov r13d, edi
lea r10, [rbp - 0x49]
setae r13b
mov r8d, 0xe
jmp 0x180065fcc
movzx esi, byte [rbp - 0xd]
movzx edx, cl
and dl, 0xf0
cmp dl, 0x70
je 0x180065f5e
movzx eax, cl
and al, 0xfc
cmp al, 0xe0
je 0x180065f5e
movzx eax, sil
and al, 0xf0
cmp al, 0x80
je 0x180065f5e
and cl, 0xfe
cmp cl, 0xc2
jne 0x180065fc8
cmp rbx, r12
mov r13d, edi
setae r13b
jmp 0x180065fc8
movzx edi, byte [rbp - 0x19]
add rdi, rbx
cmp dl, 0x70
je 0x180065f77
movzx eax, cl
and al, 0xfc
cmp al, 0xe0
movsxd rax, dword [rbp - 4]
jne 0x180065f7c
movsx rax, byte [rbp - 4]
lea rdx, [rax + rdi]
mov rax, qword [r14]
cmp rax, rdx
ja 0x180065f9d
add rax, 5
cmp rdx, rax
jae 0x180065f9d
cmp r12, rdx
cmovae rdx, r12
mov r12, rdx
jmp 0x180065fc8
movzx eax, cl
and al, 0xfc
cmp al, 0xe0
je 0x18006615a
mov eax, ecx
cmp cl, 0xf
jne 0x180065fb3
mov eax, esi
and al, 0xf
mov qword [rbp - 0x31], rdx
xor al, 0x71
lea r10, [rbp - 0x39]
mov byte [rbp - 0x39], al
mov r8d, 0x10
mov rsi, qword [rbp - 0x51]
cmp rbx, r12
jae 0x180065fde
movzx eax, byte [rbp - 0x19]
cmp r8d, eax
jne 0x18006615a
movzx r15d, byte [rbp - 0x59]
lea eax, [r8 + r15]
cmp eax, 0x32
ja 0x18006615a
mov eax, dword [r14 + 0x24]
cmp eax, 8
jae 0x18006615a
mov byte [rax + r14 + 0x28], r11b
mov eax, dword [r14 + 0x24]
mov ecx, r8d
mov byte [rax + r14 + 0x30], r15b
add r15b, r8b
mov rdi, qword [r14 + 0x10]
inc dword [r14 + 0x24]
add rdi, rsi
mov rsi, r10
mov byte [rbp - 0x59], r15b
rep movsb byte [rdi], byte [rsi]
add r11b, byte [rbp - 0x19]
mov edi, 0
mov byte [rbp - 0x58], r11b
test r13d, r13d
je 0x180065df0
cmp r11b, 5
jae 0x180066128
mov r9, qword [r14]
movzx edi, r11b
add rdi, r9
movzx edx, byte [rdi]
test dl, dl
je 0x180066066
cmp dl, 0x90
je 0x180066066
cmp dl, 0xcc
je 0x180066066
movzx eax, r11b
jmp 0x180066095
movzx r8d, r11b
mov esi, 5
sub esi, r8d
mov ecx, 1
cmp esi, ecx
jbe 0x180066128
nop
mov eax, ecx
cmp byte [rax + rdi], dl
jne 0x180066092
inc ecx
cmp ecx, esi
jb 0x180066080
jmp 0x180066128
mov eax, r8d
cmp r11b, 2
jae 0x1800660d1
test dl, dl
je 0x1800660ad
cmp dl, 0x90
je 0x1800660ad
cmp dl, 0xcc
jne 0x18006615a
mov esi, 2
mov ecx, 1
sub esi, eax
cmp esi, ecx
jbe 0x1800660d1
nop dword [rax]
mov eax, ecx
cmp byte [rax + rdi], dl
jne 0x18006615a
inc ecx
cmp ecx, esi
jb 0x1800660c0
lea rcx, [r9 - 5]
mov r8d, 0x30
lea rdx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [rbp + 7], 0x1000
jne 0x18006615a
test byte [rbp + 0xb], 0xf0
je 0x18006615a
mov rax, qword [r14]
movzx edx, byte [rax - 5]
test dl, dl
je 0x180066109
cmp dl, 0x90
je 0x180066109
cmp dl, 0xcc
jne 0x18006615a
mov ecx, 1
add rax, 0xfffffffffffffffc
cmp byte [rax], dl
jne 0x18006615a
inc ecx
inc rax
cmp ecx, 5
jb 0x180066112
mov dword [r14 + 0x20], 1
mov rcx, qword [r14 + 8]
mov eax, 1
mov qword [rbp - 0x43], rcx
mov ecx, dword [rbp - 0x41]
movsd xmm0, qword [rbp - 0x49]
movzx edx, r15b
add rdx, qword [r14 + 0x10]
mov qword [r14 + 0x18], rdx
movsd qword [rdx], xmm0
mov dword [rdx + 8], ecx
movzx ecx, word [rbp - 0x3d]
mov word [rdx + 0xc], cx
jmp 0x18006615c
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800b7800
lea r11, [rsp + 0xb0]
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