Function at 0x18005c8e0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x63d8]
mov eax, 0x64d8
call fcn.1800c7f10
sub rsp, rax
mov edi, dword [rbp + 0x6440]
mov r10, r9
mov r9, r8
mov r11, rcx
mov r8d, dword [rbp + 0x6440]
mov rsi, rdx
lea ecx, [r8 + 0x192]
mov dword [rsp + 0x50], ecx
cmp r8d, ecx
jae 0x18005cf2f
mov r12d, dword [rbp + 0x6440]
mov eax, ecx
mov ebx, dword [rsp + 0x60]
mov dword [rsp + 0x78], edi
xor ecx, ecx
cmp r8d, 0xbf
ja 0x18005ca2e
je 0x18005ca1d
cmp r8d, 0x30
je 0x18005c9ed
cmp r8d, 0x73
je 0x18005cf2f
cmp r8d, 0x7c
jne 0x18005ceae
mov rax, qword [rbp + 0x6470]
mov r8d, dword [r10]
movzx edx, word [rax]
test r8d, r8d
je 0x18005c9a4
movzx r9d, dx
neg r9w
mov word [rsp + 0x54], r9w
jmp 0x18005c9a9
mov word [rsp + 0x54], dx
movzx ecx, word [rax + 2]
movzx eax, cx
neg ax
test r8d, r8d
cmove ax, cx
movsx ecx, ax
mov eax, ecx
and eax, 7
mov dword [rsp + 0x64], eax
movzx eax, dx
neg ax
test r8d, r8d
mov r8d, dword [rbp + 0x6440]
cmove ax, dx
and eax, 7
sar ecx, 3
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x68], eax
jmp 0x18005ceaa
mov rax, qword [rbp + 0x6468]
mov r9, rsi
mov r8, qword [rbp + 0x6460]
mov rcx, qword [rbp + 0x6448]
mov rdx, qword [rax]
mov rax, qword [0x180112060]
call qword [rax + 8]
mov edi, eax
mov dword [rsp + 0x78], eax
jmp 0x18005ce9c
movsx ecx, word [rsp + 0x54]
sar ecx, 3
mov dword [rsp + 0x5c], ecx
jmp 0x18005ceae
mov eax, r8d
sub eax, 0x102
je 0x18005ce0e
cmp eax, 0x43
jne 0x18005ceaa
cmp dword [0x1801143dc], 0
mov r13, qword [rbp + 0x6460]
je 0x18005cafb
mov edx, dword [r13]
cmp edx, 2
jle 0x18005cafb
mov eax, dword [r11]
mov r8, qword [rbp + 0x6448]
mov dword [rbp - 0x60], eax
mov rax, qword [rbp + 0x6488]
mov dword [rbp - 0x80], edx
lea rdx, [rsp + 0x70]
mov ecx, dword [rax]
mov eax, dword [r9]
lea r9, [rbp - 0x58]
mov dword [rbp - 0x70], eax
mov eax, dword [rsp + 0x64]
mov dword [rbp - 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x70], eax
mov eax, dword [rsi]
mov dword [rbp - 0x58], eax
mov dword [rbp - 0x78], ecx
imul ecx, dword [rsp + 0x58]
movsxd rax, ecx
add rax, qword [rbp + 0x6468]
movsxd rcx, dword [rsp + 0x5c]
add rcx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf8
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.180087460
jmp 0x18005ce9c
mov eax, dword [rsi]
mov r10, 0xffffffffffffffff
add eax, 2
cdqe
mov qword [rsp + 0x70], rax
cmp rax, r10
jle 0x18005cc72
movsxd r13, dword [r13]
mov r14d, dword [rsp + 0x58]
movsxd r15, dword [rsp + 0x68]
dec r14d
mov edi, dword [rbp - 0x50]
mov ebx, dword [rsp + 0x5c]
mov qword [rbp - 0x80], r13
mov r11, rcx
test r13, r13
jle 0x18005cc3f
mov esi, ebx
nop dword [rax]
nop word [rax + rax]
mov r13d, dword [rbp - 0x4c]
mov r9d, 0x11
nop word [rax + rax]
mov eax, r9d
sub eax, 0x11
je 0x18005cc11
sub eax, 1
je 0x18005cc09
sub eax, 1
je 0x18005cb98
cmp eax, 1
jne 0x18005cc14
lea rax, [r10 + r10*4]
shl rax, 4
add rax, r11
mov dword [rbp + rax*4 + 0x110], r12d
jmp 0x18005cc14
mov rax, qword [rbp + 0x6488]
lea rcx, [0x180112f40]
movsx r8d, word [rcx + r15*8 + 6]
movsx ecx, word [rcx + r15*8 + 4]
mov eax, dword [rax]
imul eax, edi
add eax, r13d
movsxd rdx, eax
add rdx, qword [rbp + 0x6468]
movzx eax, byte [rdx + 2]
imul r8d, eax
movzx eax, byte [rdx + 1]
imul ecx, eax
lea rax, [0x180112f40]
add r8d, ecx
movsx ecx, word [rax + r15*8]
movzx eax, byte [rdx - 1]
imul ecx, eax
lea rax, [0x180112f40]
add r8d, ecx
movsx ecx, word [rax + r15*8 + 2]
movzx eax, byte [rdx]
imul ecx, eax
add r12d, ecx
add r12d, r8d
xor ecx, ecx
jmp 0x18005cc14
mov edi, r14d
mov r13d, esi
jmp 0x18005cc14
mov r12d, ecx
inc r9d
cmp r9d, 0x15
jb 0x18005cb60
mov dword [rbp - 0x4c], r13d
inc esi
mov r13, qword [rbp - 0x80]
inc r11
mov dword [rbp - 0x50], edi
cmp r11, r13
jl 0x18005cb50
mov rax, qword [rsp + 0x70]
inc r14d
inc r10
cmp r10, rax
jl 0x18005cb33
mov ebx, dword [rsp + 0x60]
mov edi, dword [rsp + 0x78]
mov r9, qword [rbp + 0x6430]
mov r8d, dword [rbp + 0x6440]
mov r11, qword [rbp + 0x6420]
mov rsi, qword [rbp + 0x6428]
cmp dword [rsi], 0
mov r15d, ecx
jle 0x18005cea3
movsxd r8, dword [rsp + 0x64]
lea r13, [rbp + 0x110]
mov rax, qword [rbp + 0x6460]
mov qword [rsp + 0x70], r8
nop word [rax + rax]
cmp dword [rax], 0
mov r14d, ecx
jle 0x18005cdf6
mov rsi, r13
lea r10, [0x180112f40]
nop word [rax + rax]
movsx eax, word [r10 + r8*8 + 6]
mov edx, dword [rsi + 0x280]
mov ecx, dword [rsi - 0x140]
imul edx, eax
movsx eax, word [r10 + r8*8]
imul ecx, eax
movsx eax, word [r10 + r8*8 + 4]
add edx, ecx
mov ecx, dword [rsi + 0x140]
imul ecx, eax
movsx eax, word [r10 + r8*8 + 2]
imul eax, dword [rsi]
mov r8d, dword [r11]
mov dword [rbp - 0x80], r8d
add edx, ecx
mov ecx, 0xd0
add eax, 0x800
add eax, edx
sar eax, 0xc
mov dword [rbp - 0x48], eax
mov eax, ecx
sub eax, 0xca
je 0x18005cd4e
sub eax, 3
je 0x18005cd77
cmp eax, 3
jne 0x18005cd5f
mov ebx, dword [rbp - 0x48]
mov eax, 0
test ebx, ebx
mov ecx, r8d
mov edx, ebx
mov r8d, 1
cmovs edx, eax
shl r8d, cl
lea eax, [r8 - 1]
cmp eax, edx
jge 0x18005cd6b
lea ebx, [r8 - 1]
jmp 0x18005cdb7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x28], rax
movups xmmword [rbp - 0x38], xmm0
dec ecx
cmp ecx, 0xcd
ja 0x18005cd12
jmp 0x18005cdb7
test ebx, ebx
mov ecx, 0
cmovs ebx, ecx
jmp 0x18005cdb9
mov r8, qword [pe_dos_header]
lea rdx, [rbp - 0x80]
xor eax, eax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rax, qword [0x180112060]
mov qword [rsp + 0x20], r8
call qword [rax + 0x10]
mov r9, qword [rbp + 0x6430]
lea r10, [0x180112f40]
mov r11, qword [rbp + 0x6420]
mov ebx, eax
xor ecx, ecx
mov eax, dword [r9]
add rsi, 4
mov rdx, qword [rbp + 0x6448]
mov r8, qword [rsp + 0x70]
imul eax, r15d
add eax, r14d
inc r14d
cdqe
mov byte [rax + rdx], bl
mov rax, qword [rbp + 0x6460]
cmp r14d, dword [rax]
jl 0x18005ccc0
mov rsi, qword [rbp + 0x6428]
mov dword [rsp + 0x60], ebx
inc r15d
add r13, 0x140
cmp r15d, dword [rsi]
jl 0x18005cca0
jmp 0x18005ce9c
mov rax, qword [rbp + 0x6450]
mov rcx, qword [rbp + 0x6458]
mov edx, dword [rsi]
mov r13, qword [rbp + 0x6460]
mov eax, dword [rax]
sub eax, dword [rcx]
cmp dword [rsp + 0x58], eax
mov rcx, qword [rbp + 0x6480]
cmovl eax, dword [rsp + 0x58]
mov r8d, dword [r13]
mov ecx, dword [rcx]
lea r10d, [rdx + rcx]
neg r10d
cmp eax, r10d
cmovg r10d, eax
mov rax, qword [rbp + 0x6478]
mov dword [rsp + 0x58], r10d
mov esi, r10d
mov eax, dword [rax]
sub eax, ecx
cmp dword [rsp + 0x5c], eax
cmovl eax, dword [rsp + 0x5c]
add r8d, ecx
neg r8d
cmp eax, r8d
cmovg r8d, eax
cmp dword [rsp + 0x64], 0
mov dword [rsp + 0x5c], r8d
movsxd rax, r8d
jne 0x18005ce95
cmp dword [rsp + 0x68], 0
mov dword [rsp + 0x58], r10d
mov dword [rsp + 0x5c], eax
je 0x18005ced1
mov rsi, qword [rbp + 0x6428]
mov r8d, dword [rbp + 0x6440]
mov r10, qword [rbp + 0x6438]
mov eax, dword [rsp + 0x50]
add r8d, 0x43
mov dword [rbp + 0x6440], r8d
cmp r8d, eax
jae 0x18005cf2f
mov r9, qword [rbp + 0x6430]
mov r11, qword [rbp + 0x6420]
jmp 0x18005c953
test edx, edx
jle 0x18005cf2f
mov r15, qword [rbp + 0x6488]
mov rbx, rax
mov r12, qword [rbp + 0x6428]
xor r14d, r14d
nop dword [rax]
movsxd r8, dword [r13]
lea eax, [rsi + r14]
imul eax, dword [r15]
movsxd rdx, eax
mov eax, dword [r9]
add rdx, rbx
add rdx, qword [rbp + 0x6468]
imul eax, r14d
movsxd rcx, eax
add rcx, qword [rbp + 0x6448]
call fcn.1800c9d60
mov r9, qword [rbp + 0x6430]
inc r14d
cmp r14d, dword [r12]
jl 0x18005cef0
mov eax, edi
add rsp, 0x64d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret