Function at 0x1800a2790
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x12b0]
mov eax, 0x13b0
call fcn.1801e6640
sub rsp, rax
mov rax, qword [0x1803320c0]
xor rax, rsp
mov qword [rbp + 0x12a0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
call fcn.18009e240
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rsi
lea rax, vtable.JPEGImage.0
mov qword [rdi], rax
lea rax, [0x1801c7ba0]
mov qword [rsp + 0x48], rax
lea rax, [0x1801c7bf0]
mov qword [rsp + 0x58], rax
lea rax, [0x1801c7d00]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x44], rsi
mov dword [rsp + 0x68], esi
lea rax, str.Bogus_message_code__d
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], 0x7f
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
lea rax, [rsp + 0x40]
mov qword [rbp - 0x10], rax
lea rax, [0x1800a25c0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
call fcn.1801c73b0
mov qword [rbp + 0x260], rsi
mov qword [rbp + 0x268], rsi
lea rax, [0x1800a2610]
mov qword [rbp + 0x270], rax
lea rax, [0x1800a2650]
mov qword [rbp + 0x278], rax
lea rax, [0x1800a26c0]
mov qword [rbp + 0x280], rax
lea rax, [0x1801c9980]
mov qword [rbp + 0x288], rax
lea rax, [sym.reaper_imgui_x64.dll_FT_Set_Default_Log_Handler]
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x298], rbx
lea rax, [rbp + 0x260]
mov qword [rbp + 0x18], rax
mov eax, dword [rbp + 0x14]
add eax, 0xffffff38
cmp eax, 1
jbe 0x1800a28e7
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rbp - 0x10]
mov eax, dword [rbp + 0x14]
mov dword [rcx + 0x2c], eax
lea rcx, [rbp - 0x10]
mov rax, qword [rbp - 0x10]
call qword [rax]
mov eax, dword [rbp + 0x14]
add eax, 0xffffff38
lea r14, [0x1801cd060]
cmp eax, 0xa
ja case.0x1800a2912.209
cdqe
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0xa2cd0]
add rcx, rdx
jmp rcx
lea rcx, [rbp - 0x10]
mov rax, qword [rbp + 0x228]
call qword [rax + 8]
lea rcx, [rbp - 0x10]
mov rax, qword [rbp + 0x18]
call qword [rax + 0x10]
mov dword [rbp + 0x14], 0xc9
lea rcx, [rbp - 0x10]
mov rax, qword [rbp + 0x228]
call qword [rax]
mov ebx, eax
cmp eax, 1
jne 0x1800a2969
lea rcx, [rbp - 0x10]
call fcn.1801c77a0
mov dword [rbp + 0x14], 0xca
jmp 0x1800a2969
lea rcx, [rbp - 0x10]
mov rax, qword [rbp + 0x228]
call qword [rax]
mov ebx, eax
sub ebx, 1
je case.0x1800a2912.202
cmp ebx, 1
jne case.0x1800a2912.202
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x28], 0x35
lea rcx, [rbp - 0x10]
mov rax, qword [rbp - 0x10]
call qword [rax]
mov rax, qword [rbp - 8]
test rax, rax
je case.0x1800a2912.202
mov edx, ebx
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
cmp byte [rbp + 0x10], 0
je 0x1800a29ba
mov dword [rbp + 0x14], 0xc8
mov qword [rbp + 0x160], rsi
mov dword [rbp + 0x30], 0xc
jmp 0x1800a2ab6
mov dword [rbp + 0x14], 0x64
jmp case.0x1800a2912.202
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rbp - 0x10]
mov eax, dword [rbp + 0x14]
mov dword [rcx + 0x2c], eax
lea rcx, [rbp - 0x10]
mov rax, qword [rbp - 0x10]
call qword [rax]
mov dword [rbp + 0x30], 0xc
cmp dword [rbp + 0x14], 0xca
jne 0x1800a2a33
mov rax, qword [rbp + 0x208]
lea rcx, [0x1801ccef0]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov byte [rax + 0x10], 0
mov byte [rax + 0x6c], 0
lea rcx, [rbp - 0x10]
call fcn.1801cc510
cmp byte [rbp + 0x48], 0
je 0x1800a2a2a
mov dword [rbp + 0x14], 0xcf
jmp 0x1800a2ade
mov dword [rbp + 0x14], 0xcb
jmp 0x1800a2a3c
cmp dword [rbp + 0x14], 0xcb
jne 0x1800a2aad
mov rax, qword [rbp + 0x228]
cmp byte [rax + 0x20], 0
je 0x1800a2a9f
mov rdx, qword [rbp]
nop dword [rax]
test rdx, rdx
je 0x1800a2a5b
lea rcx, [rbp - 0x10]
call qword [rdx]
lea rcx, [rbp - 0x10]
mov rax, qword [rbp + 0x228]
call qword [rax]
test eax, eax
je 0x1800a2ade
cmp eax, 2
je 0x1800a2a9f
mov rdx, qword [rbp]
test rdx, rdx
je 0x1800a2a5b
dec eax
test eax, 0xfffffffd
jne 0x1800a2a50
inc dword [rdx + 8]
mov eax, dword [rdx + 8]
mov rdx, qword [rbp]
mov ecx, dword [rdx + 0xc]
cmp eax, ecx
jl 0x1800a2a50
add ecx, dword [rbp + 0x178]
mov dword [rdx + 0xc], ecx
jmp 0x1800a2a49
mov eax, dword [rbp + 0x8c]
mov dword [rbp + 0x94], eax
jmp 0x1800a2ad5
cmp dword [rbp + 0x14], 0xcc
je 0x1800a2ad5
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rbp - 0x10]
mov eax, dword [rbp + 0x14]
mov dword [rcx + 0x2c], eax
lea rcx, [rbp - 0x10]
mov rax, qword [rbp - 0x10]
call qword [rax]
lea rcx, [rbp - 0x10]
call fcn.1801c7960
mov r9d, dword [rbp + 0x70]
mov r8d, dword [rbp + 0x68]
mov edx, dword [rbp + 0x64]
mov rcx, rdi
call fcn.1800a3770
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1800a3850
nop
mov ecx, dword [rbp + 0x88]
mov r8d, dword [rbp + 0x68]
cmp ecx, r8d
jae 0x1800a2b34
nop
sub r8d, ecx
mov rax, qword [rsp + 0x20]
lea rdx, [rax + rcx*8]
lea rcx, [rbp - 0x10]
call fcn.1801c7a60
mov ecx, dword [rbp + 0x88]
mov r8d, dword [rbp + 0x68]
cmp ecx, r8d
jb 0x1800a2b10
mov edx, dword [rbp + 0x14]
lea eax, [rdx - 0xcd]
cmp eax, 1
ja 0x1800a2ba1
cmp byte [rbp + 0x48], 0
jne 0x1800a2ba1
cmp ecx, r8d
jae 0x1800a2b62
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x28], 0x45
lea rcx, [rbp - 0x10]
mov rax, qword [rbp - 0x10]
call qword [rax]
mov rbx, qword [rbp + 0x208]
mov rax, qword [rbx + 8]
cmp rax, r14
jne 0x1800a2b92
cmp byte [rbp + 0x52], 0
je 0x1800a2b86
lea rcx, [rbp - 0x10]
mov rax, qword [rbp + 0x258]
call qword [rax + 0x10]
inc dword [rbx + 0x78]
mov dword [rbp + 0x14], 0xd2
jmp 0x1800a2bd9
lea rcx, [rbp - 0x10]
call rax
mov dword [rbp + 0x14], 0xd2
jmp 0x1800a2bd9
cmp edx, 0xcf
jne 0x1800a2bb2
mov dword [rbp + 0x14], 0xd2
jmp 0x1800a2bd9
cmp edx, 0xd2
je 0x1800a2bd9
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rbp - 0x10]
mov eax, dword [rbp + 0x14]
mov dword [rcx + 0x2c], eax
lea rcx, [rbp - 0x10]
mov rax, qword [rbp - 0x10]
call qword [rax]
mov rax, qword [rbp + 0x228]
cmp byte [rax + 0x21], 0
jne 0x1800a2bfd
lea rcx, [rbp - 0x10]
call qword [rax]
test eax, eax
je 0x1800a2c3a
mov rax, qword [rbp + 0x228]
cmp byte [rax + 0x21], 0
je 0x1800a2be6
lea rcx, [rbp - 0x10]
mov rax, qword [rbp + 0x18]
call qword [rax + 0x30]
mov rax, qword [rbp - 8]
test rax, rax
je 0x1800a2c3a
mov edx, 1
lea rcx, [rbp - 0x10]
call qword [rax + 0x48]
cmp byte [rbp + 0x10], 0
je 0x1800a2c33
mov dword [rbp + 0x14], 0xc8
mov qword [rbp + 0x160], rsi
jmp 0x1800a2c3a
mov dword [rbp + 0x14], 0x64
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1800a2c8c
mov rax, qword [rsp + 0x30]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a2c79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a2cc7
call fcn.1801e578c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov rax, qword [rbp - 8]
test rax, rax
je 0x1800a2c9d
lea rcx, [rbp - 0x10]
call qword [rax + 0x50]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x12a0]
xor rcx, rsp
call fcn.1801e5610
lea r11, [rsp + 0x13b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1801efd10
nop
nop dword [rax]
adc al, 0x29
or al, byte [rax]
xor al, 0x29
or al, byte [rax]
loop 0x1800a2d03
or al, byte [rax]
pop rdx
sub dword [rdx], ecx
add byte [rdx + 0x29], bl
or al, byte [rax]
pop rdx
sub dword [rdx], ecx
add byte [rdx + 0x29], bl
or al, byte [rax]
pop rdx
sub dword [rdx], ecx
add byte [rdx + 0x29], bl
or al, byte [rax]
ret
sub esp, 0x20
mov rbx, rcx
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800a2d24
call qword [rax + 0x50]
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x24], eax
add rsp, 0x20
pop rbx
ret
mov qword [rcx + 8], rax
mov dword [rcx + 0x24], eax
add rsp, 0x20
pop rbx
ret