Function at 0x18005b2c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
test rdx, rdx
je 0x18005cb4b
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x378]
sub rsp, 0x440
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x180196010]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r13, rdx
mov r12, rcx
mov qword [rbp + 0xa0], rcx
xor r15d, r15d
mov rdx, qword [0x1801a84c8]
add rdx, qword [0x1801a7418]
call rdx
mov dword [rsp + 0x48], eax
mov rdx, qword [0x1801a84c8]
add rdx, qword [0x1801a7420]
call rdx
mov dword [rbp - 0x68], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x230], xmm0
mov qword [rbp + 0x240], rax
lea rdx, [rbp + 0x230]
call fcn.18005dab0
nop
mov r14, qword [rbp + 0x230]
cmp r14, qword [rbp + 0x238]
je 0x18005cade
lea rdi, [0x1801a8528]
cmp qword [0x1801a8540], 0x10
setae sil
mov rcx, rdi
cmovae rcx, qword [0x1801a8528]
mov rbx, qword [0x1801a8538]
cmp rbx, 9
jne 0x18005b3e5
mov r8, rbx
lea rdx, str.Spectator
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005b3f2
cmp byte [0x1801a731e], 0
jne 0x18005cade
xorps xmm6, xmm6
movss dword [rsp + 0x40], xmm6
movss xmm12, dword [0x18018a7d0]
movaps xmm15, xmm12
movss dword [rsp + 0x50], xmm12
movaps xmm14, xmm12
movss dword [rsp + 0x54], xmm12
movaps xmm11, xmm12
movss dword [rsp + 0x44], xmm12
xorps xmm7, xmm7
movups xmmword [rsp + 0x58], xmm7
test sil, sil
cmovne rdi, qword [0x1801a8528]
mov qword [rsp + 0x70], rdi
mov rbx, qword [0x1801a8538]
mov qword [rsp + 0x78], rbx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
movabs r9, 0xcbf29ce484222325
mov rcx, r15
movabs rdx, 0x100000001b3
test rbx, rbx
je 0x18005b487
nop
movzx eax, byte [rdi + rcx]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, qword [0x1801a8538]
jb 0x18005b470
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
call fcn.18005d530
mov rcx, qword [rax + 8]
lea rdx, str.SCP_
test rcx, rcx
je 0x18005b4b4
cmp rcx, qword [0x1801a8608]
je 0x18005b4b4
movups xmm0, xmmword [rcx + 0x20]
jmp 0x18005b4f6
cmp rbx, 4
jb 0x18005b4ef
mov rcx, r15
nop dword [rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x18005b4d8
cmp rcx, 4
jne 0x18005b4c0
mov eax, r15d
jmp 0x18005b4dd
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x18005b4ef
movaps xmm0, xmmword [0x18018aa70]
jmp 0x18005b4f6
movaps xmm0, xmmword [0x18018acd0]
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1c8], r15
mov qword [rbp + 0x1dc], r15
mov qword [rbp + 0x1e4], r15
mov qword [rbp + 0x1ec], r15
mov qword [rbp + 0x1f4], r15
mov qword [rbp + 0x1fc], r15
mov qword [rbp + 0x204], r15
mov dword [rbp + 0x20c], r15d
mov qword [rbp + 0x1d0], 0
mov dword [rbp + 0x1d8], 0
cmp byte [0x1801a8016], 0
jne 0x18005b61c
mov ebx, r15d
mov rax, qword [0x1801a7380]
lea rcx, str.Default
call rax
mov r8, qword [0x1801a73d0]
add r8, qword [0x1801a84c8]
mov rcx, rax
call r8
cmp eax, 0xffffffff
je 0x18005b58b
bts ebx, eax
mov rax, qword [0x1801a7380]
lea rcx, str.CCTV
call rax
mov r8, qword [0x1801a73d0]
add r8, qword [0x1801a84c8]
mov rcx, rax
call r8
cmp eax, 0xffffffff
je 0x18005b5b7
bts ebx, eax
mov rax, qword [0x1801a7380]
lea rcx, str.Door
call rax
mov r8, qword [0x1801a73d0]
add r8, qword [0x1801a84c8]
mov rcx, rax
call r8
cmp eax, 0xffffffff
je 0x18005b5e3
bts ebx, eax
mov rax, qword [0x1801a7380]
lea rcx, str.Locker
call rax
mov r8, qword [0x1801a73d0]
add r8, qword [0x1801a84c8]
mov rcx, rax
call r8
cmp eax, 0xffffffff
je 0x18005b60f
bts ebx, eax
mov dword [0x1801a8064], ebx
mov byte [0x1801a8016], 1
movss xmm8, dword [0x18018a648]
movss xmm13, dword [0x18018a6e8]
nop
lea rsi, [r14 + 0x50]
mov rbx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18005b641
mov rbx, qword [rsi]
mov rdi, qword [rsi + 0x10]
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rdi
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x210], xmm0
movabs r9, 0xcbf29ce484222325
mov rcx, r15
test rdi, rdi
je 0x18005b69a
movabs r12, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, rdi
jb 0x18005b680
mov r12, qword [rbp + 0xa0]
lea r8, [rbp + 0x210]
lea rdx, [rbp + 0x110]
call fcn.18005d530
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18005b6c6
cmp rcx, qword [0x1801a8608]
je 0x18005b6c6
movups xmm10, xmmword [rcx + 0x20]
jmp 0x18005b718
cmp rdi, 4
jb 0x18005b710
mov rcx, r15
lea rdx, str.SCP_
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x18005b6f8
cmp rcx, 4
jne 0x18005b6e0
mov eax, r15d
jmp 0x18005b6fd
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x18005b710
movaps xmm10, xmmword [0x18018aa70]
jmp 0x18005b718
movaps xmm10, xmmword [0x18018acd0]
movups xmmword [rbp + 0x210], xmm10
cmp byte [0x1801a72f4], 0
je 0x18005ba87
movss xmm1, dword [r14 + 0x1c]
lea rcx, [rbp + 0x20]
call fcn.18005a990
mov rbx, rax
lea r9, [r14 + 0x30]
mov rdx, qword [r9 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 5
jb 0x18005cb89
cmp qword [r9 + 0x18], 0x10
jb 0x18005b768
mov r9, qword [r9]
mov qword [rsp + 0x30], 5
lea rdi, [0x18018a398]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0xc0]
call fcn.180058820
nop
mov rdx, rsi
lea rcx, [rbp + 0xc0]
call fcn.180056b50
mov qword [rbp + 0x270], r15
mov qword [rbp + 0x280], r15
mov qword [rbp + 0x288], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x270], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x280], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 5
mov rdx, rdi
lea rcx, [rbp + 0x270]
call fcn.180056dd0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rbp + 0xe0]
lea rcx, [rbp + 0x248]
call fcn.180058630
nop
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x18005b869
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b863
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005cb5f
call fcn.18006004c
nop
mov rdx, qword [rbp + 0x288]
cmp rdx, 0x10
jb 0x18005b8aa
inc rdx
mov rcx, qword [rbp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b8a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005cb66
call fcn.18006004c
mov qword [rbp + 0x280], r15
mov qword [rbp + 0x288], 0xf
mov byte [rbp + 0x270], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x18005b904
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b8ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005cb6d
call fcn.18006004c
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], 0xf
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x18005b958
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005b953
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005cb74
call fcn.18006004c
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
lea rcx, [rbp + 0x248]
mov rdx, qword [rbp + 0x248]
mov r8, qword [rbp + 0x260]
cmp r8, 0x10
cmovae rcx, rdx
mov rax, qword [0x1801a7fd0]
movss xmm0, dword [rax + 0x3d60]
test rcx, rcx
je 0x18005b9fa
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rcx
movss xmm1, dword [0x18018a7e8]
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm12
movaps xmm2, xmm0
lea rdx, [rbp - 0x60]
mov rcx, qword [rax + 0x3d58]
call fcn.180033f80
movss xmm0, dword [rbp - 0x60]
addss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x60], xmm0
movss xmm0, dword [rbp - 0x5c]
mov r8, qword [rbp + 0x260]
mov rdx, qword [rbp + 0x248]
addss xmm6, xmm0
movss dword [rsp + 0x40], xmm6
lea r9, [rbp + 0x248]
cmp r8, 0x10
cmovae r9, rdx
lea rcx, [rbp + 0x210]
call fcn.180003fc0
mov dword [rbp + 0x18], 0
movaps xmm0, xmm6
addss xmm0, dword [0x18018a6b4]
movss dword [rbp + 0x1c], xmm0
mov r8d, eax
lea rdx, [rbp + 0x18]
mov rcx, r13
call fcn.18002c590
nop
mov rdx, qword [rbp + 0x260]
cmp rdx, 0x10
jb 0x18005ba87
inc rdx
mov rcx, qword [rbp + 0x248]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005ba82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005cb7b
call fcn.18006004c
movsd xmm0, qword [r14 + 0x18]
mov r15d, dword [r14 + 0x20]
mov dword [rbp - 0x40], r15d
movaps xmm9, xmm0
shufps xmm9, xmm9, 0x55
movsd qword [rbp - 0x48], xmm0
addss xmm9, dword [0x1801a7360]
movss dword [rbp - 0x44], xmm9
lea rcx, [0x1801a8528]
cmp qword [0x1801a8540], 0x10
cmovae rcx, qword [0x1801a8528]
mov rbx, qword [0x1801a8538]
cmp rbx, 2
jne 0x18005baf0
mov r8, rbx
lea rdx, [0x18018a354]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005baf0
mov edi, 0x3e8
jmp 0x18005bb40
mov r8, qword [0x1801a73e8]
add r8, qword [0x1801a84c8]
movsd xmm0, qword [0x1801a84f0]
movsd qword [rbp + 0xb0], xmm0
mov eax, dword [0x1801a84f8]
mov dword [rbp + 0xb8], eax
movsd xmm0, qword [r14 + 0x18]
movsd qword [rbp + 0x40], xmm0
mov dword [rbp + 0x48], r15d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x40]
call r8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si edi, xmm0
cmp byte [0x1801a8548], 0
je 0x18005bb55
cmp edi, 0x1f4
jg 0x18005c82e
movsd xmm8, qword [rbp - 0x48]
movsd qword [rbp + 0x50], xmm8
mov dword [rbp + 0x58], r15d
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x70]
call fcn.18005e500
test al, al
jne 0x18005bfb0
cmp byte [0x1801a8548], al
je 0x18005c825
cmp byte [0x1801a7352], al
je 0x18005c825
movss xmm8, dword [0x1801a84f0]
subss xmm8, dword [r14 + 0x18]
movss xmm6, dword [0x1801a84f8]
subss xmm6, dword [r14 + 0x20]
mov rax, qword [0x1801a84c8]
add rax, 0x21f05d0
mov rdx, qword [0x1801a84e8]
lea rcx, [rbp + 0x100]
call rax
movsd xmm7, qword [rax]
mov eax, dword [rax + 8]
mov dword [rbp + 0x278], eax
movaps xmm1, xmm6
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm8, xmm0
mulss xmm8, dword [0x18018a70c]
subss xmm8, dword [0x18018a748]
movaps xmm1, xmm7
shufps xmm1, xmm1, 0x55
movsd qword [rbp + 0x270], xmm7
subss xmm8, xmm1
mov eax, dword [rbp - 0x68]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [rsp + 0x48]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
movaps xmm0, xmm8
addss xmm0, dword [0x18018a700]
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x18018a660]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movss xmm11, dword [0x18018a6a8]
mulss xmm0, xmm11
movaps xmm1, xmm7
mulss xmm1, xmm11
movaps xmm2, xmm0
subss xmm2, xmm1
xorps xmm7, xmmword [0x18018acf0]
mulss xmm7, xmm11
subss xmm7, xmm0
movss xmm12, dword [0x18018a7f8]
divss xmm2, xmm12
mulss xmm2, dword [0x18018a734]
cvttss2si eax, xmm2
mov edx, ebx
sub edx, eax
divss xmm7, xmm12
mulss xmm7, dword [0x18018a734]
cvttss2si eax, xmm7
mov ecx, edi
sub ecx, eax
movd xmm9, edx
cvtdq2ps xmm9, xmm9
movd xmm10, ecx
cvtdq2ps xmm10, xmm10
movaps xmm0, xmm8
addss xmm0, dword [0x18018a688]
addss xmm0, dword [0x18018a700]
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x18018a660]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm11
movaps xmm1, xmm7
mulss xmm1, xmm11
movaps xmm2, xmm0
subss xmm2, xmm1
xorps xmm7, xmmword [0x18018acf0]
mulss xmm7, xmm11
subss xmm7, xmm0
divss xmm2, xmm12
mulss xmm2, dword [0x18018a730]
cvttss2si eax, xmm2
mov edx, ebx
sub edx, eax
divss xmm7, xmm12
mulss xmm7, dword [0x18018a730]
cvttss2si eax, xmm7
mov ecx, edi
sub ecx, eax
movd xmm11, edx
cvtdq2ps xmm11, xmm11
movd xmm12, ecx
cvtdq2ps xmm12, xmm12
subss xmm8, dword [0x18018a688]
addss xmm8, dword [0x18018a700]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm8
mulsd xmm0, qword [0x18018a660]
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movss xmm3, dword [0x18018a6a8]
mulss xmm0, xmm3
movaps xmm1, xmm7
mulss xmm1, xmm3
movaps xmm2, xmm0
subss xmm2, xmm1
xorps xmm7, xmmword [0x18018acf0]
mulss xmm7, xmm3
subss xmm7, xmm0
divss xmm2, dword [0x18018a7f8]
mulss xmm2, dword [0x18018a730]
cvttss2si eax, xmm2
sub ebx, eax
divss xmm7, dword [0x18018a7f8]
mulss xmm7, dword [0x18018a730]
cvttss2si eax, xmm7
sub edi, eax
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
movd xmm7, edi
cvtdq2ps xmm7, xmm7
mov rbx, qword [0x1801a7fd0]
cmp dword [rbx + 0x4af8], 0
jg 0x18005be28
mov r8d, 0x76a
lea rdx, str.D:HydroGen_SCPSL_SrcImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4b00]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.180007cf0
mov rdi, rax
lea rcx, [rbp + 0x210]
call fcn.180003fc0
mov esi, eax
movss dword [rbp - 0x28], xmm6
movss dword [rbp - 0x24], xmm7
movss dword [rbp - 0x30], xmm11
movss dword [rbp - 0x2c], xmm12
movss dword [rbp - 0x38], xmm9
movss dword [rbp - 0x34], xmm10
test eax, 0xff000000
je 0x18005c80a
mov ecx, dword [rdi + 0x7c]
mov r8d, dword [rdi + 0x78]
cmp r8d, ecx
jne 0x18005beb4
inc r8d
test ecx, ecx
je 0x18005be9c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005bea1
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
lea rcx, [rdi + 0x78]
call fcn.18001fb30
movsxd rdx, dword [rdi + 0x78]
mov rcx, qword [rdi + 0x80]
mov rax, qword [rbp - 0x38]
mov qword [rcx + rdx*8], rax
mov r8d, dword [rdi + 0x78]
inc r8d
mov dword [rdi + 0x78], r8d
mov ecx, dword [rdi + 0x7c]
cmp r8d, ecx
jne 0x18005bf04
inc r8d
test ecx, ecx
je 0x18005beec
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005bef1
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
lea rcx, [rdi + 0x78]
call fcn.18001fb30
movsxd rdx, dword [rdi + 0x78]
mov rcx, qword [rdi + 0x80]
mov rax, qword [rbp - 0x30]
mov qword [rcx + rdx*8], rax
mov r8d, dword [rdi + 0x78]
inc r8d
mov dword [rdi + 0x78], r8d
mov ecx, dword [rdi + 0x7c]
cmp r8d, ecx
jne 0x18005bf54
inc r8d
test ecx, ecx
je 0x18005bf3c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005bf41
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
lea rcx, [rdi + 0x78]
call fcn.18001fb30
movsxd rdx, dword [rdi + 0x78]
mov rcx, qword [rdi + 0x80]
mov rax, qword [rbp - 0x28]
mov qword [rcx + rdx*8], rax
inc dword [rdi + 0x78]
mov r9d, esi
mov r8d, dword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
call fcn.18002ab00
xor r15d, r15d
mov dword [rdi + 0x78], r15d
movss xmm12, dword [0x18018a7d0]
movss xmm11, dword [rsp + 0x44]
movss xmm6, dword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x58]
movss xmm8, dword [0x18018a648]
jmp 0x18005c831
movsd xmm0, qword [r14 + 0x18]
movsd qword [rbp + 0x60], xmm0
mov eax, dword [r14 + 0x20]
mov dword [rbp + 0x68], eax
lea r8, [rbp + 0x60]
lea rdx, [rbp - 0x50]
call fcn.18005e500
test al, al
je 0x18005c825
cmp byte [0x1801a731e], 0
je 0x18005c282
mov rbx, qword [0x1801a7fd0]
cmp dword [rbx + 0x4af8], 0
jg 0x18005c00e
mov r8d, 0x76a
lea rdx, str.D:HydroGen_SCPSL_SrcImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4b00]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.180007cf0
mov rbx, rax
movaps xmm0, xmmword [0x18018acd0]
movups xmmword [rbp + 0x210], xmm0
lea rcx, [rbp + 0x210]
call fcn.180003fc0
movss xmm11, dword [rbp - 0x70]
movaps xmm9, xmm11
addss xmm9, xmm13
movss dword [rbp - 0x20], xmm9
movss xmm10, dword [rbp - 0x6c]
movaps xmm7, xmm10
subss xmm7, xmm13
movss dword [rbp - 0x1c], xmm7
movaps xmm8, xmm11
subss xmm8, xmm13
movss dword [rbp - 0x18], xmm8
movss dword [rbp - 0x14], xmm7
movss xmm0, dword [0x18018a678]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.18002bee0
movaps xmm0, xmmword [0x18018acd0]
movups xmmword [rbp + 0x210], xmm0
lea rcx, [rbp + 0x210]
call fcn.180003fc0
movss dword [rbp - 0x10], xmm8
movaps xmm6, xmm10
addss xmm6, xmm13
movss dword [rbp - 0xc], xmm6
movss dword [rbp - 8], xmm8
movss dword [rbp - 4], xmm7
movss xmm0, dword [0x18018a678]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp - 0x10]
lea rdx, [rbp - 8]
mov rcx, rbx
call fcn.18002bee0
movaps xmm0, xmmword [0x18018acd0]
movups xmmword [rbp + 0x210], xmm0
lea rcx, [rbp + 0x210]
call fcn.180003fc0
movss dword [rbp], xmm9
movss dword [rbp + 4], xmm7
movss dword [rbp + 0x10], xmm9
movss dword [rbp + 0x14], xmm6
movss xmm7, dword [0x18018a678]
movss dword [rsp + 0x20], xmm7
mov r9d, eax
lea r8, [rbp]
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.18002bee0
movaps xmm0, xmmword [0x18018acd0]
movups xmmword [rbp + 0x210], xmm0
lea rcx, [rbp + 0x210]
call fcn.180003fc0
movss dword [rbp + 8], xmm8
movss dword [rbp + 0xc], xmm6
movss dword [rsp + 0x68], xmm9
movss dword [rsp + 0x6c], xmm6
movss dword [rsp + 0x20], xmm7
mov r9d, eax
lea r8, [rbp + 8]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.18002bee0
lea rcx, [r14 + 0x30]
mov rbx, rcx
movaps xmm6, xmmword [0x18018acd0]
cmp qword [rcx + 0x18], 0x10
jb 0x18005c1b6
mov rbx, qword [rcx]
mov rcx, rbx
mov rax, qword [0x1801a7fd0]
movss xmm0, dword [rax + 0x3d60]
xor r15d, r15d
test rcx, rcx
jne 0x18005c1d8
movss xmm8, dword [0x18018a648]
jmp 0x18005c234
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rcx
movss xmm1, dword [0x18018a7e8]
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm12
movaps xmm2, xmm0
lea rdx, [rbp - 0x58]
mov rcx, qword [rax + 0x3d58]
call fcn.180033f80
movss xmm0, dword [rbp - 0x58]
movss xmm8, dword [0x18018a648]
addss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x58], xmm0
movss xmm0, dword [rbp - 0x54]
subss xmm10, dword [0x18018a708]
subss xmm10, xmm0
movdqa xmmword [rbp + 0x210], xmm6
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x210]
movaps xmm0, xmm11
unpcklps xmm0, xmm10
movq r8, xmm0
mov rdx, r13
call fcn.18005a6d0
movss xmm11, dword [rsp + 0x44]
movss xmm6, dword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x58]
jmp 0x18005c831
cmp byte [0x1801a72f6], 0
je 0x18005c2c4
mov rax, qword [0x1801a7378]
call rax
mov rcx, rax
call qword [0x1801a7370]
mov rdx, r14
lea rcx, [rbp + 0x130]
call fcn.18005cb90
movdqa xmmword [rbp + 0x210], xmm10
lea rdx, [rbp + 0x210]
mov rcx, rax
call fcn.18005a230
movss xmm7, dword [rbp - 0x4c]
movss xmm6, dword [rbp - 0x50]
cmp byte [0x1801a72f8], 0
je 0x18005c31d
lea rax, [r14 + 0x30]
cmp qword [rax + 0x18], 0x10
jb 0x18005c2e5
mov rax, qword [rax]
movaps xmm1, xmm7
subss xmm1, dword [0x18018a6e0]
movaps xmm0, xmmword [0x18018acd0]
movaps xmmword [rbp + 0x210], xmm0
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x210]
movaps xmm0, xmm6
unpcklps xmm0, xmm1
movq r8, xmm0
mov rdx, r13
call fcn.18005a6d0
cmp byte [0x1801a72f9], 0
je 0x18005c360
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18005c333
mov rax, qword [rsi]
movdqa xmmword [rbp + 0x210], xmm10
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x210]
movaps xmm0, xmm6
unpcklps xmm0, xmm7
movsd qword [rbp - 0x50], xmm0
movq r8, xmm0
mov rdx, r13
call fcn.18005a6d0
cmp byte [0x1801a8548], 0
je 0x18005c510
cmp byte [0x1801a72f7], 0
je 0x18005c490
lea r9, [rbp + 0x285]
mov r8d, edi
test edi, edi
jns 0x18005c3d0
neg r8d
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x18005c390
dec r9
mov byte [r9], 0x2d
jmp 0x18005c3fa
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x18005c3d0
lea r8, [rbp + 0x285]
mov rdx, r9
lea rcx, [rbp + 0x20]
call fcn.180058950
nop
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rax, qword [rbp + 0x20]
movaps xmm1, xmm7
addss xmm1, dword [0x18018a6e0]
movaps xmm0, xmmword [0x18018acd0]
movaps xmmword [rbp + 0x210], xmm0
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x210]
movaps xmm0, xmm6
unpcklps xmm0, xmm1
movq r8, xmm0
mov rdx, r13
call fcn.18005a6d0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x18005c490
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005c48b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005cb82
call fcn.18006004c
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x18005c49e
mov rsi, qword [rsi]
cmp r8, 7
jne 0x18005c510
lea rdx, str.SCP_173
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005c510
cmp edi, 0xf
jg 0x18005c510
movaps xmm1, xmm7
lea r9, [rbp + 0x210]
mov rdx, r13
addss xmm1, dword [0x18018a6fc]
cmp edi, 0xa
jl 0x18005c4e6
movaps xmm0, xmmword [0x18018aae0]
lea rax, str.In_Safe
jmp 0x18005c4f4
movaps xmm0, xmmword [0x18018aa70]
lea rax, str.Run_
movaps xmmword [rbp + 0x210], xmm0
movaps xmm0, xmm6
unpcklps xmm0, xmm1
mov qword [rsp + 0x20], rax
movq r8, xmm0
call fcn.18005a6d0
cmp byte [0x1801a731c], 0
je 0x18005c81a
mov rcx, qword [0x1801a84c8]
add rcx, qword [0x1801a7418]
call rcx
mov ebx, eax
mov rdx, qword [0x1801a84c8]
add rdx, qword [0x1801a7420]
call rdx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cvtdq2ps xmm0, xmm0
subss xmm0, dword [rbp - 0x70]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm1, dword [rbp - 0x6c]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x18005c584
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x18005c58c
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, dword [0x1801a7320]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jb 0x18005c81a
movdqa xmmword [rbp + 0x210], xmm10
movups xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x270], xmm0
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x270]
call fcn.18005b100
test al, al
je 0x18005c81a
cmp byte [0x1801a8548], 0
je 0x18005c81a
mov r9, qword [0x1801a73c8]
add r9, qword [0x1801a84c8]
movsd qword [rbp + 0x70], xmm8
mov dword [rbp + 0x78], r15d
movsd xmm0, qword [0x1801a84f0]
movsd qword [rbp + 0x80], xmm0
mov eax, dword [0x1801a84f8]
mov dword [rbp + 0x88], eax
mov r8d, dword [0x1801a8064]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x80]
call r9
test al, al
jne 0x18005c81a
comiss xmm15, xmm6
jae 0x18005c63f
comiss xmm14, xmm7
jb 0x18005c81a
movd xmm13, edi
cvtdq2ps xmm13, xmm13
comiss xmm11, xmm13
jb 0x18005cb4c
mov rax, qword [0x1801a84c8]
add rax, 0x431b20
mov rcx, qword [r14 + 0x80]
call rax
mov r15, qword [rax + 0x60]
movss xmm11, dword [rbp - 0x48]
movaps xmm6, xmm11
movaps xmm7, xmm9
movss xmm12, dword [rbp - 0x40]
movaps xmm8, xmm12
xor edi, edi
cmp qword [r15 + 0x18], rdi
jbe 0x18005c6ed
lea rbx, [r15 + 0x20]
mov rsi, qword [rbx]
mov rax, qword [0x1801a84c8]
add rax, 0x57aaf0
mov rcx, rsi
call rax
cmp eax, 2
je 0x18005c6bb
inc edi
add rbx, 8
movsxd rax, edi
cmp rax, qword [r15 + 0x18]
jb 0x18005c690
jmp 0x18005c6ed
mov rax, qword [0x1801a84c8]
add rax, 0x3b9b00
mov rdx, rsi
lea rcx, [rbp + 0x220]
call rax
movss xmm6, dword [rbp + 0x220]
movss xmm7, dword [rbp + 0x224]
movss xmm8, dword [rbp + 0x228]
xorps xmm0, xmm0
ucomiss xmm6, xmm0
jp 0x18005c712
jne 0x18005c712
ucomiss xmm7, xmm0
jp 0x18005c712
jne 0x18005c712
ucomiss xmm8, xmm0
jp 0x18005c712
jne 0x18005c712
movaps xmm6, xmm11
movaps xmm7, xmm9
movaps xmm8, xmm12
movss dword [rbp + 0x1c0], xmm6
movss dword [rbp + 0x1c4], xmm7
movss dword [rbp + 0x1c8], xmm8
mov rax, qword [r14 + 0x80]
mov qword [rbp + 0x1f0], rax
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp + 0x1e8], xmm0
mov rax, qword [rax + 0x78]
mov ecx, dword [rax + 0x28]
mov dword [rbp + 0x208], ecx
mov r8, qword [0x1801a7430]
add r8, qword [0x1801a84c8]
xor edx, edx
mov rcx, qword [r14 + 0x78]
call r8
mov r9, qword [0x1801a84c8]
add r9, 0x21f0db0
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x120]
call r9
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f8], xmm0
movsd xmm1, qword [r14 + 0x24]
movsd qword [rbp + 0x1dc], xmm1
mov eax, dword [r14 + 0x2c]
mov dword [rbp + 0x1e4], eax
movaps xmm0, xmm6
unpcklps xmm0, xmm7
movsd qword [rbp + 0x90], xmm0
movss dword [rbp + 0x98], xmm8
lea r8, [rbp + 0x90]
lea rdx, [rsp + 0x50]
call fcn.18005e500
movdqa xmm7, xmm10
movups xmmword [rsp + 0x58], xmm7
movaps xmm11, xmm13
movss dword [rsp + 0x44], xmm13
movss xmm14, dword [rsp + 0x54]
movss xmm15, dword [rsp + 0x50]
movss xmm12, dword [0x18018a7d0]
movss xmm13, dword [0x18018a6e8]
jmp 0x18005c81f
movss xmm12, dword [0x18018a7d0]
movss xmm11, dword [rsp + 0x44]
movups xmm7, xmmword [rsp + 0x58]
movss xmm6, dword [rsp + 0x40]
movss xmm8, dword [0x18018a648]
xor r15d, r15d
add r14, 0x88
cmp r14, qword [rbp + 0x238]
jne 0x18005b630
cmp byte [0x1801a8548], 0
je 0x18005cade
ucomiss xmm15, xmm12
jp 0x18005c85e
je 0x18005cade
ucomiss xmm14, xmm12
jp 0x18005c86a
je 0x18005cade
cmp byte [0x1801a731c], 0
je 0x18005cade
movaps xmm0, xmmword [rbp + 0x1c0]
movups xmmword [r12 + 0x48], xmm0
movaps xmm1, xmmword [rbp + 0x1d0]
movups xmmword [r12 + 0x58], xmm1
movaps xmm0, xmmword [rbp + 0x1e0]
movups xmmword [r12 + 0x68], xmm0
movaps xmm1, xmmword [rbp + 0x1f0]
movups xmmword [r12 + 0x78], xmm1
movaps xmm0, xmmword [rbp + 0x200]
movups xmmword [r12 + 0x88], xmm0
movaps xmm1, xmmword [0x18018aa70]
movups xmmword [rbp - 0x80], xmm1
lea rcx, [rbp - 0x80]
call fcn.180003fc0
mov ebx, eax
movss dword [rsp + 0x68], xmm15
movss dword [rsp + 0x6c], xmm14
test eax, 0xff000000
je 0x18005c93d
mov dword [rsp + 0x20], 0x30
xor r9d, r9d
movss xmm2, dword [0x18018a698]
lea rdx, [rsp + 0x68]
mov rcx, r13
call fcn.18002b060
mov r8d, dword [r13 + 0x78]
dec r8d
mov dword [r13 + 0x78], r8d
movss xmm0, dword [0x18018a650]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, ebx
mov rdx, qword [r13 + 0x80]
mov rcx, r13
call fcn.180029bd0
mov dword [r13 + 0x78], r15d
mov rcx, qword [0x1801a84c8]
add rcx, qword [0x1801a7418]
call rcx
mov ebx, eax
mov r8, qword [0x1801a7420]
add r8, qword [0x1801a84c8]
call r8
movd xmm2, ebx
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x18018a618]
movss xmm1, dword [0x18018a718]
movaps xmm0, xmmword [0x18018aa70]
movaps xmmword [rbp - 0x80], xmm0
lea rax, str.Target_Captured_
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movq r8, xmm0
mov rdx, r13
call fcn.18005a6d0
mov rbx, qword [0x1801a7fd0]
mov edx, 0x211
mov rcx, rbx
call fcn.180012a80
mov rdi, rax
sub rdi, rbx
sub rdi, 0xe6c
sar rdi, 4
mov edx, edi
mov rcx, qword [0x1801a7fd0]
call fcn.180012a80
cmp byte [rax], 0
je 0x18005cade
lea eax, [rdi - 0x200]
cmp eax, 0x99
jbe 0x18005ca16
cmp edi, 0x1000
je 0x18005ca16
cmp edi, 0x2000
je 0x18005ca16
cmp edi, 0x4000
je 0x18005ca16
cmp edi, 0x8000
je 0x18005ca16
cmp edi, 0x800
jne 0x18005ca2e
mov edx, edi
mov rcx, qword [0x1801a7fd0]
call fcn.1800029c0
cmp byte [rax + 8], 0
jne 0x18005cade
movdqa xmmword [rbp - 0x80], xmm7
movups xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call fcn.18005b100
test al, al
je 0x18005cade
movss xmm6, dword [0x1801a7328]
mov rcx, qword [0x1801a84c8]
add rcx, qword [0x1801a7418]
call rcx
mov ebx, eax
mov rdx, qword [0x1801a84c8]
add rdx, qword [0x1801a7420]
call rdx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
movd xmm3, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm3, xmm3
cvtps2pd xmm1, xmm6
movsd xmm0, qword [0x18018a670]
subss xmm14, xmm2
subss xmm15, xmm3
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea ecx, [r9 + 1]
comisd xmm0, xmm1
ja 0x18005cacd
divss xmm14, xmm6
divss xmm15, xmm6
cvttss2si r8, xmm14
cvttss2si rdx, xmm15
call qword [sym.imp.USER32.dll_mouse_event]
nop
lea rcx, [rbp + 0x230]
call fcn.18005ccd0
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.18005feb0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movups xmm7, xmmword [rsp + 0x58]
movss xmm13, dword [0x18018a6e8]
jmp 0x18005c81f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.18004b580
int3