Function at 0x180016540
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov ebx, dword [rbp + 0x67]
lea r15d, [rcx + 0x226]
mov r12, r8
mov rdi, rdx
mov r14d, ecx
cmp ecx, r15d
jae case.0x1800165b6.13
xor r13d, r13d
lea rdx, [0x180000000]
cmp r14d, 0x10f
ja case.0x1800165b6.21
je 0x180016a0b
lea eax, [r14 - 0xb]
cmp eax, 0xd2
ja case.0x1800165b6.21
movzx eax, byte [rdx + rax + 0x16a8c]
mov ecx, dword [rdx + rax*4 + 0x16a60]
add rcx, rdx
jmp rcx
mov rax, qword [rdi]
lea rdx, [rbp + 0xf]
mov ecx, 0xf0
mov qword [rbp + 0xf], rax
call fcn.18000db00
jmp case.0x1800165b6.21
mov qword [rsp + 0x38], r13
mov r9, rdi
mov dword [rsp + 0x30], 0x18
xor r8d, r8d
mov qword [rsp + 0x28], r13
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r13
call fcn.18004a960
test eax, eax
je 0x180016a37
mov rax, qword [rdi]
mov byte [rax], 0xff
inc qword [rdi]
sub qword [rdi + 8], 1
jne 0x180016628
xor edx, edx
mov r9, rdi
xor r8d, r8d
lea ecx, [rdx + 0x77]
call fcn.18002eb80
test eax, eax
je 0x180016a37
movzx ecx, byte [r12]
mov rax, qword [rdi]
sub cl, 0x30
mov byte [rax], cl
inc qword [rdi]
sub qword [rdi + 8], 1
jne 0x180016657
xor edx, edx
mov r9, rdi
xor r8d, r8d
lea ecx, [rdx + 0x77]
call fcn.18002eb80
test eax, eax
je 0x180016a37
mov rax, qword [rdi + 0x28]
mov edx, r13d
cmp dword [rax + 0x17c], edx
jle 0x180016685
lea rcx, [rdi + 0x18]
nop word [rax + rax]
mov dword [rcx], r13d
lea rcx, [rcx + 4]
mov rax, qword [rdi + 0x28]
inc edx
cmp edx, dword [rax + 0x17c]
jl 0x180016670
mov ebx, 1
jmp case.0x1800165b6.21
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je case.0x1800165b6.21
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x1800165b6.21
mov esi, 0xe8
nop dword [rax]
mov eax, esi
sub eax, 0xe8
je 0x1800166ec
sub eax, 0x64
je 0x1800166e4
cmp eax, 0x64
jne 0x180016775
mov eax, ebx
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, r13d
jmp 0x180016775
mov rcx, qword [0x1800c7e70]
lea rax, [rdi + 0x60]
mov dword [rsp + 0x28], 0xd
lea r9, [rbp + 0x67]
lea r8, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x51], 1
mov dword [rbp + 0x7f], 0xc
mov dword [rbp + 0x67], r13d
call fcn.180035030
mov rcx, qword [0x1800c7e70]
lea rax, [rdi + 0x6d]
mov dword [rsp + 0x28], 0xd
lea r9, [rbp - 0x49]
lea r8, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x59], 1
mov dword [rbp - 0x41], 0xf
mov dword [rbp - 0x49], r13d
call fcn.180035030
mov rcx, qword [0x1800c7e70]
lea rdx, [0x1800a5db0]
call fcn.180075910
add esi, 0x64
cmp esi, 0x214
jb 0x1800166b0
mov eax, dword [r12]
lea r9, [rbp + 0x67]
mov qword [rsp + 0x28], r13
lea rcx, [rbp + 0x7f]
xor edx, edx
mov dword [rbp + 0x67], eax
mov r8d, 0xae
mov qword [rsp + 0x20], r13
mov qword [0x1800c7e70], r13
mov dword [rbp + 0x7f], 2
call fcn.180055e50
mov ecx, dword [rdi]
lea r8, [rbp - 0x31]
mov dword [rbp - 0x29], ecx
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x39]
mov dword [rsp + 0x28], 0xc1
mov qword [rsp + 0x20], rcx
mov r9, rax
lea rcx, [rbp - 0x21]
mov qword [0x1800c7e70], rax
mov dword [rbp - 0x39], 1
mov dword [rbp - 0x31], r13d
mov dword [rbp - 0x21], 2
call fcn.18003c470
jmp case.0x1800165b6.21
mov rcx, qword [0x1800c7e70]
lea rax, [rdi + 4]
mov dword [rsp + 0x28], 0xd
lea r9, [rbp + 0x67]
lea r8, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x59], 1
mov dword [rbp + 0x7f], 0x19
mov dword [rbp + 0x67], r13d
call fcn.180035030
cmp dword [0x1800c6ab0], r13d
je 0x180016857
movsd xmm0, qword [0x1800ab2d8]
call fcn.18008a500
cvttsd2si eax, xmm0
jmp 0x18001685a
mov eax, dword [rdi + 0x38]
mov rcx, qword [0x1800c7e70]
lea r9, [rbp - 0x19]
mov dword [rbp - 0x11], eax
lea r8, [rbp - 0x11]
lea rax, [rdi + 0x1e]
mov dword [rsp + 0x28], 0xd
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rax
mov dword [rbp - 9], 1
mov dword [rbp - 0x19], r13d
call fcn.180035030
jmp case.0x1800165b6.21
mov rcx, qword [rdi]
cmp dword [rcx + 0x24], 0xca
jne 0x1800168cd
mov qword [rbp + 0x17], rcx
lea r8, [rbp + 0x17]
xor ecx, ecx
mov edx, 0x9b
call fcn.180016e90
mov rax, qword [rdi]
cmp dword [rax + 0x58], r13d
jne 0x180016a26
mov dword [rax + 0x24], 0xcb
mov rcx, qword [rdi]
mov eax, dword [rcx + 0x24]
cmp eax, 0xcb
jne 0x180016965
mov rax, qword [rcx + 0x278]
cmp dword [rax + 0x20], r13d
je 0x180016954
nop dword [rax + rax]
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x180016901
call qword [rax]
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x278]
call qword [rax]
test eax, eax
je 0x180016a37
mov rcx, qword [rdi]
cmp eax, 2
je 0x18001694e
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1800168f0
dec eax
test eax, 0xfffffffd
jne 0x1800168f0
inc dword [rcx + 8]
mov rax, qword [rdi]
mov rdx, qword [rax + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1800168f0
mov ecx, dword [rax + 0x1dc]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1800168f0
mov r14d, 0x9d
mov eax, dword [rcx + 0xac]
mov dword [rcx + 0xb4], eax
jmp case.0x1800165b6.21
cmp eax, 0xcc
je case.0x1800165b6.21
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x14
mov rax, qword [rdi]
mov rcx, qword [rax]
mov eax, dword [rax + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax]
jmp case.0x1800165b6.21
mov rcx, qword [0x1800c7e70]
lea rax, [rdi + 0x3c]
mov dword [rsp + 0x28], 0xd
lea r9, [rbp + 0x67]
lea r8, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x59], 1
mov dword [rbp + 0x7f], 0xa
mov dword [rbp + 0x67], r13d
call fcn.180035030
mov rcx, qword [0x1800c7e70]
lea rax, [rdi + 0x4c]
mov dword [rsp + 0x28], 0xd
lea r9, [rbp + 0x1f]
lea r8, [rbp - 1]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 7]
mov dword [rbp + 7], 1
mov dword [rbp - 1], 0xf
mov dword [rbp + 0x1f], r13d
call fcn.180035030
jmp case.0x1800165b6.21
mov rcx, qword [rdi + 0x10]
call fcn.180077954
add r14d, 0x32
cmp r14d, r15d
jae case.0x1800165b6.13
jmp 0x18001657b
mov dword [rax + 0x24], 0xcf
mov eax, 1
jmp 0x1800166c9
mov eax, r13d
jmp 0x1800166c9
mov rax, qword [rdi]
lea r9, [rbp + 0x7f]
xor r8d, r8d
mov qword [rbp + 0x7f], rax
mov edx, 0xaf
xor ecx, ecx
call fcn.18002fde0
jmp 0x1800166c9