Function at 0x180006880
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x14458]
mov eax, 0x14558
call fcn.1800c7f10
sub rsp, rax
imul eax, edx, 0x41d
mov r10, r9
movaps xmmword [rsp + 0x14540], xmm6
movsd xmm6, qword [rbp - 0x20]
movaps xmmword [rsp + 0x14530], xmm7
mov dword [rsp + 0x64], edx
mov dword [rbp - 0x28], eax
cmp edx, eax
ja 0x180006ad3
movzx r11d, word [rbp + 0x144a8]
lea r14, [0x180112f00]
movsd xmm7, qword [0x1800f79b8]
xor r9d, r9d
mov ebx, dword [rbp - 0x74]
mov edi, dword [rsp + 0x7c]
mov rsi, qword [rbp + 0x144e0]
mov r15d, dword [rsp + 0x60]
mov r12d, dword [rsp + 0x6c]
mov qword [rbp - 0x18], r9
mov dword [rsp + 0x68], r11d
nop dword [rax]
cmp edx, 0x8a9d
ja 0x180006aab
je 0x180006a26
mov eax, edx
sub eax, 0x97
je 0x1800069c7
sub eax, 0x56
je 0x1800069a8
sub eax, 0x44ad
je 0x180006983
cmp eax, 0x27a4
jne 0x18000722d
mov rcx, qword [rbp + 0x144d0]
mov rax, qword [rbp + 0x144c8]
mov qword [rbp + 0x10], r9
mov r8, qword [rcx + 8]
sub r8, qword [rax + 8]
mov rcx, qword [rcx]
sub rcx, qword [rax]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x28], r8
jmp 0x180007226
movsx eax, word [rsp + 0x70]
mov ecx, eax
and ecx, 3
mov dword [rsp + 0x60], ecx
movsx ecx, r11w
sar ecx, 2
sar eax, 2
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x78], ecx
jmp 0x180007221
mov rax, qword [rbp + 0x144d0]
mov rcx, qword [rax + 0x10]
mov rax, qword [rbp + 0x144c8]
sub rcx, qword [rax + 0x10]
mov qword [rbp + 0x20], rcx
jmp 0x180007226
mov rax, qword [rbp + 0x144d8]
mov edx, dword [rax]
mov rax, qword [rbp + 0x144f0]
test edx, edx
je 0x1800069eb
movzx r8d, word [rax]
neg r8w
mov word [rsp + 0x70], r8w
jmp 0x1800069fa
movzx eax, word [rax]
mov word [rsp + 0x70], ax
mov rax, qword [rbp + 0x144f0]
movzx r11d, word [rax + 2]
neg r11w
test edx, edx
mov edx, dword [rsp + 0x64]
cmove r11w, word [rax + 2]
mov ecx, r11d
mov dword [rsp + 0x68], r11d
and ecx, 3
mov dword [rsp + 0x6c], ecx
mov r12d, ecx
jmp 0x180007226
mov eax, dword [rcx]
mov rcx, qword [rbp + 0x14510]
mov rsi, qword [rbp + 0x144e0]
mov r11d, dword [r8]
sub eax, dword [rcx]
cmp dword [rsp + 0x78], eax
mov rcx, qword [rbp + 0x144f8]
cmovl eax, dword [rsp + 0x78]
mov edx, dword [rsi]
mov ecx, dword [rcx]
lea r14d, [rcx + rdx]
neg r14d
cmp eax, r14d
cmovg r14d, eax
mov rax, qword [rbp + 0x144e8]
mov dword [rsp + 0x78], r14d
mov eax, dword [rax]
sub eax, ecx
cmp dword [rsp + 0x74], eax
cmovl eax, dword [rsp + 0x74]
add r11d, ecx
neg r11d
cmp eax, r11d
cmovg r11d, eax
mov dword [rsp + 0x74], r11d
test r12d, r12d
jne 0x180006a96
test r15d, r15d
je 0x180007259
mov edx, dword [rsp + 0x64]
lea r14, [0x180112f00]
mov r11d, dword [rsp + 0x68]
jmp 0x180007226
cmp edx, 0xcfa0
je 0x180006b56
cmp edx, 0xd98f
je 0x180006b3a
cmp edx, 0x145e0
je 0x180006afc
cmp edx, 0x1b231
jne 0x18000722d
movq rax, xmm6
movaps xmm6, xmmword [rsp + 0x14540]
movaps xmm7, xmmword [rsp + 0x14530]
add rsp, 0x14558
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.GDI32.dll_UnrealizeObject]
mov rcx, qword [rbp - 0x20]
xorps xmm1, xmm1
mov edx, dword [rsp + 0x64]
mov rax, rcx
sub rax, qword [rbp + 0x18]
xorps xmm0, xmm0
mov r11d, dword [rsp + 0x68]
cvtsi2sd xmm0, rcx
cvtsi2sd xmm1, rax
mulsd xmm1, xmm7
divsd xmm1, xmm0
movaps xmm6, xmm1
jmp 0x180007226
mov rcx, qword [rbp + 0x28]
add rcx, qword [rbp + 0x20]
mov qword [rbp - 0x20], rcx
jne 0x180007226
xorps xmm0, xmm0
movq rax, xmm0
jmp 0x180006ad8
cmp dword [0x1801143dc], 0
je 0x180006c17
mov ecx, dword [r10]
lea r9, [rbp - 0x50]
mov rax, qword [rbp + 0x14508]
movsxd rdx, dword [rsp + 0x74]
mov dword [rbp - 0x60], ecx
imul ecx, dword [rsp + 0x78]
mov eax, dword [rax]
mov dword [rbp - 0x30], eax
mov rax, qword [rbp + 0x14500]
mov dword [rbp - 0x48], r12d
mov dword [rbp - 0x38], r15d
mov eax, dword [rax]
mov dword [rbp - 0x80], eax
mov rax, qword [rbp + 0x144c0]
mov eax, dword [rax]
mov dword [rbp - 0x50], eax
mov eax, dword [rsi]
mov dword [rbp - 0x40], eax
mov eax, dword [r8]
lea r8, [rbp - 0x60]
mov dword [rbp - 0x70], eax
movsxd rax, ecx
lea rcx, [rbp - 0x70]
add rax, qword [rbp + 0x144c8]
add rdx, rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x144d0]
mov dword [rsp + 0x40], 0x7b
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.180022360
mov edx, dword [rsp + 0x64]
mov r11d, dword [rsp + 0x68]
jmp 0x180007226
movsxd rcx, dword [rsp + 0x6c]
cmp ecx, 2
jne 0x180006e8d
cmp dword [rsp + 0x60], ecx
jne 0x180006e8d
mov rax, qword [rbp + 0x14500]
cmp dword [rax], ecx
jge 0x180006e8d
mov rsi, qword [rbp + 0x144e0]
cmp dword [rsi], 0
jle 0x18000721c
mov eax, dword [rsp + 0x78]
mov ecx, 1
mov edi, dword [rbp - 0x68]
sub ecx, eax
mov dword [rbp - 0x80], ecx
lea r13d, [rax - 1]
cmp dword [r8], 0
jle 0x180006e75
mov r15d, dword [rsp + 0x74]
mov r12d, r15d
neg r12d
nop dword [rax + rax]
mov esi, 0xbd
nop word [rax + rax]
cmp esi, 0xbd
je 0x180006e0c
cmp esi, 0x3ec1
je 0x180006da6
cmp esi, 0x7cc5
jne 0x180006e38
mov eax, dword [rbp - 0x78]
mov r14, qword [rbp + 0x144c8]
add eax, 2
imul eax, dword [r10]
add eax, dword [rbp - 0x64]
cdqe
movzx ecx, byte [rax + r14 + 1]
movzx eax, byte [rax + r14]
add edi, eax
mov rax, qword [rbp + 0x14508]
add edi, ecx
mov ecx, 0xd0
mov r8d, dword [rax]
lea eax, [rdi + 8]
mov dword [rbp - 0x70], r8d
sar eax, 4
mov dword [rbp - 0x10], eax
mov eax, ecx
sub eax, 0xca
je 0x180006d2d
sub eax, 3
je 0x180006d52
cmp eax, 3
jne 0x180006d3e
mov ebx, dword [rbp - 0x10]
mov ecx, r8d
test ebx, ebx
mov edx, ebx
mov r8d, 1
cmovs edx, r9d
shl r8d, cl
lea eax, [r8 - 1]
cmp eax, edx
jge 0x180006d4a
lea ebx, [r8 - 1]
jmp 0x180006d7e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp + 0x10], rax
movups xmmword [rbp], xmm0
dec ecx
cmp ecx, 0xcd
ja 0x180006cf5
jmp 0x180006d7e
test ebx, ebx
cmovs ebx, r9d
jmp 0x180006d7e
mov r8, qword [pe_dos_header]
lea rdx, [rbp - 0x70]
mov rax, qword [0x180112060]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x28], r9
xor r9d, r9d
mov qword [rsp + 0x20], r8
call qword [rax + 0x10]
mov ebx, eax
xor r9d, r9d
mov rdx, qword [rbp + 0x144c0]
mov ecx, dword [rbp - 0x80]
lea eax, [rcx + r13]
imul eax, dword [rdx]
mov rdx, qword [rbp + 0x144d0]
add eax, r15d
add eax, r12d
cdqe
mov byte [rax + rdx], bl
jmp 0x180006e38
mov r14, qword [rbp + 0x144c8]
mov ecx, dword [r10]
mov r10d, dword [rbp - 0x78]
lea eax, [r10 + 1]
imul eax, ecx
imul ecx, r10d
add eax, dword [rbp - 0x64]
add ecx, dword [rbp - 0x64]
movsxd rdx, ecx
movsxd r8, eax
movzx ecx, byte [rdx + r14 + 1]
movzx eax, byte [r8 + r14 + 1]
add ecx, eax
movzx eax, byte [r8 + r14]
add ecx, eax
movzx eax, byte [rdx + r14]
add ecx, eax
movzx eax, byte [rdx + r14 + 2]
lea ecx, [rax + rcx*2]
movzx eax, byte [rdx + r14 - 1]
add ecx, eax
movzx eax, byte [r8 + r14 + 2]
add ecx, eax
movzx eax, byte [r8 + r14 - 1]
add edi, eax
add edi, ecx
jmp 0x180006e35
mov rcx, qword [rbp + 0x144c8]
lea eax, [r13 + 1]
mov dword [rbp - 0x78], eax
mov eax, r13d
imul eax, dword [r10]
mov dword [rbp - 0x64], r15d
add eax, r15d
cdqe
movzx edi, byte [rax + rcx + 1]
movzx eax, byte [rax + rcx]
add edi, eax
mov ecx, dword [rbp - 0x80]
mov r10, qword [rbp + 0x144b8]
add esi, 0x3e04
cmp esi, 0xba0c
jbe 0x180006c90
mov r8, qword [rbp + 0x144b0]
inc r15d
mov dword [rbp - 0x68], edi
mov dword [rbp - 0x74], ebx
lea eax, [r15 + r12]
cmp eax, dword [r8]
jl 0x180006c80
mov rsi, qword [rbp + 0x144e0]
inc r13d
lea eax, [rcx + r13]
cmp eax, dword [rsi]
jl 0x180006c63
mov edi, dword [rsp + 0x7c]
jmp 0x180007205
mov r10, qword [rbp + 0x14500]
lea rax, [0x180112ec0]
cmp dword [r10], 0
cmovne rax, r14
mov r14, rcx
shl r14, 4
add r14, rax
mov qword [rbp - 0x38], rax
mov eax, dword [r8]
add eax, 3
movsxd rcx, eax
cmp rcx, 0xfffffffffffffffe
jle 0x180007079
mov rax, qword [rbp + 0x144e0]
lea r12, [rbp + 0x30]
mov r11d, dword [rsp + 0x74]
mov edi, dword [rbp - 0x78]
add r11d, 0xfffffffe
mov ebx, dword [rbp - 0x58]
movsxd r13, dword [rax]
lea rax, [rcx + 2]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x60], r12
test r13, r13
jle 0x18000703f
mov r10d, dword [rsp + 0x78]
mov rsi, r12
add r10d, 2
mov qword [rbp - 0x70], r13
mov r13, qword [rbp + 0x144c8]
xor r12d, r12d
nop dword [rax]
nop dword [rax + rax]
mov r9d, 0xcf
nop word [rax + rax]
cmp r9d, 0xcf
je 0x180006ffe
cmp r9d, 0x4da
jne 0x180007004
mov rax, qword [rbp + 0x144b8]
lea r15d, [r10 - 2]
mov dword [rbp - 0x64], r15d
mov edx, dword [rax]
lea eax, [r10 + 1]
imul eax, edx
add eax, edi
cdqe
movzx r8d, byte [rax + r13]
movsx eax, word [r14 + 0xa]
imul r8d, eax
lea eax, [r10 - 1]
imul eax, edx
add eax, edi
cdqe
movzx ecx, byte [rax + r13]
movsx eax, word [r14 + 6]
imul ecx, eax
lea eax, [r10 - 3]
imul eax, edx
add r8d, ecx
add eax, edi
cdqe
movzx ecx, byte [rax + r13]
movsx eax, word [r14 + 2]
imul ecx, eax
mov eax, edx
imul eax, r15d
add r8d, ecx
add eax, edi
cdqe
movzx ecx, byte [rax + r13]
movsx eax, word [r14 + 4]
imul ecx, eax
mov eax, r10d
imul eax, edx
add r8d, ecx
add eax, edi
cdqe
movzx ecx, byte [rax + r13]
movsx eax, word [r14 + 8]
imul ecx, eax
lea eax, [r10 - 4]
imul eax, edx
add r8d, ecx
add eax, edi
cdqe
movzx ecx, byte [rax + r13]
movsx eax, word [r14]
imul ecx, eax
add ebx, ecx
add ebx, r8d
mov dword [rsi], ebx
jmp 0x180007004
mov ebx, r12d
mov edi, r11d
add r9d, 0x40b
cmp r9d, 0x816
jbe 0x180006f30
inc r10d
mov dword [rbp - 0x58], ebx
add rsi, 0x240
mov dword [rbp - 0x78], edi
sub qword [rbp - 0x70], 1
jne 0x180006f20
mov r12, qword [rbp - 0x60]
mov r13, qword [rbp - 0x30]
mov rax, qword [rbp - 0x50]
add r12, 4
inc r11d
sub rax, 1
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], rax
jne 0x180006ef1
mov ebx, dword [rbp - 0x74]
xor r9d, r9d
mov edi, dword [rsp + 0x7c]
mov r8, qword [rbp + 0x144b0]
mov rsi, qword [rbp + 0x144e0]
mov edx, dword [rsp + 0x64]
mov r11d, dword [rsp + 0x68]
movsxd r15, dword [rsp + 0x60]
mov r12d, r9d
shl r15, 4
add r15, qword [rbp - 0x38]
cmp dword [r8], 0
jle 0x180007215
mov rax, qword [rbp + 0x144e0]
lea r13, [rbp + 0x40]
mov qword [rbp - 0x60], r13
mov eax, dword [rax]
mov r14d, r9d
test eax, eax
jle 0x1800071f1
mov rsi, r13
mov r13, qword [rbp + 0x144d0]
nop dword [rax]
movsx eax, word [r15 + 4]
mov edx, dword [rsi - 8]
mov ecx, dword [rsi - 4]
imul edx, eax
movsx eax, word [r15 + 6]
imul ecx, eax
movsx eax, word [r15 + 0xa]
add edx, ecx
mov ecx, dword [rsi + 4]
imul ecx, eax
movsx eax, word [r15]
add edx, ecx
mov ecx, dword [rsi - 0x10]
imul ecx, eax
movsx eax, word [r15 + 2]
add edx, ecx
mov ecx, dword [rsi - 0xc]
imul ecx, eax
movsx eax, word [r15 + 8]
imul eax, dword [rsi]
add edx, ecx
mov ecx, 0xd0
add edx, eax
mov rax, qword [rbp + 0x14508]
mov r8d, dword [rax]
lea eax, [rdx + 0x800]
sar eax, 0xc
mov dword [rbp], eax
mov dword [rbp - 0x70], r8d
mov eax, ecx
sub eax, 0xca
je 0x18000715f
sub eax, 3
je 0x180007184
cmp eax, 3
jne 0x180007170
mov edi, dword [rbp]
mov ecx, r8d
test edi, edi
mov edx, edi
mov r8d, 1
cmovs edx, r9d
shl r8d, cl
lea eax, [r8 - 1]
cmp eax, edx
jge 0x18000717c
lea edi, [r8 - 1]
jmp 0x1800071b0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
mov qword [rbp + 0x20], rax
movups xmmword [rbp + 0x10], xmm0
dec ecx
cmp ecx, 0xcd
ja 0x180007127
jmp 0x1800071b0
test edi, edi
cmovs edi, r9d
jmp 0x1800071b0
mov r8, qword [pe_dos_header]
lea rdx, [rbp - 0x70]
mov rax, qword [0x180112060]
lea rcx, [rbp]
mov qword [rsp + 0x28], r9
xor r9d, r9d
mov qword [rsp + 0x20], r8
call qword [rax + 0x10]
mov edi, eax
xor r9d, r9d
mov rax, qword [rbp + 0x144c0]
add rsi, 0x240
mov eax, dword [rax]
imul eax, r14d
inc r14d
add eax, r12d
cdqe
mov byte [rax + r13], dil
mov rax, qword [rbp + 0x144e0]
mov eax, dword [rax]
cmp r14d, eax
jl 0x1800070c0
mov r13, qword [rbp - 0x60]
mov r8, qword [rbp + 0x144b0]
mov dword [rsp + 0x7c], edi
add r13, 4
inc r12d
mov qword [rbp - 0x60], r13
cmp r12d, dword [r8]
jl 0x1800070a4
mov r11d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x64]
mov rsi, qword [rbp + 0x144e0]
lea r14, [0x180112f00]
mov r12d, dword [rsp + 0x6c]
mov r15d, dword [rsp + 0x60]
mov rcx, qword [rbp + 0x144a0]
imul eax, dword [rbp + 0x144a8], 0x75
add edx, eax
mov dword [rsp + 0x64], edx
cmp edx, dword [rbp - 0x28]
ja 0x180006ad3
mov r10, qword [rbp + 0x144b8]
xor r9d, r9d
mov r8, qword [rbp + 0x144b0]
jmp 0x180006920
test edx, edx
jle 0x180006ad3
movsxd rbx, r11d
nop dword [rax]
nop dword [rax + rax]
movsxd r8, dword [r8]
lea eax, [r14 + r9]
imul eax, dword [r10]
movsxd rdx, eax
mov rax, qword [rbp + 0x144c0]
add rdx, rbx
add rdx, qword [rbp + 0x144c8]
mov eax, dword [rax]
imul eax, r9d
movsxd rcx, eax
add rcx, qword [rbp + 0x144d0]
call fcn.1800c9d60
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp + 0x144b8]
inc r9d
mov r8, qword [rbp + 0x144b0]
mov qword [rbp - 0x18], r9
cmp r9d, dword [rsi]
jl 0x180007270
jmp 0x180006ad3