Function at 0x1801e25b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1b8]
mov rax, qword [0x1803fc380]
xor rax, rbp
mov qword [rbp + 0x160], rax
lea rcx, [0x180429150]
call fcn.180112756
mov eax, dword [rbp + 0x1b0]
mov ecx, dword [rbp + 0x198]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov dword [rbp + 0x44], 0
jmp 0x1801e263b
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x1a0]
cmp dword [rbp + 0x44], eax
jge 0x1801e2a3a
mov eax, dword [rbp + 0x1b0]
mov qword [rbp + 0x158], rax
lea rcx, [rbp + 8]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rbp + 0x158]
rep stosb byte [rdi], al
mov dword [rbp + 0x84], 0
mov eax, dword [rbp + 0x1b0]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 2
je 0x1801e26b4
cmp dword [rbp + 0x154], 3
je 0x1801e2748
cmp dword [rbp + 0x154], 4
je 0x1801e27dc
cmp dword [rbp + 0x154], 5
je 0x1801e2870
jmp 0x1801e2904
mov dword [rbp + 0x64], 0
jmp 0x1801e26c5
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x64], eax
jg 0x1801e2743
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x190]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x64]
and ecx, 7
movsxd rcx, ecx
movzx ecx, byte [rbp + rcx + 8]
sub eax, ecx
mov ecx, dword [rbp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
movsxd rax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x1b0]
mov edx, dword [rbp + 0x64]
add edx, ecx
mov ecx, edx
and ecx, 7
mov ecx, ecx
mov rdx, qword [rbp + 0x190]
movzx eax, byte [rdx + rax]
mov byte [rbp + rcx + 8], al
xor edx, edx
mov eax, dword [rbp + 0x84]
mov ecx, 2
div ecx
movsxd rcx, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x190]
mov byte [rdx + rcx], al
jmp 0x1801e26bd
jmp 0x1801e2992
mov dword [rbp + 0x64], 0
jmp 0x1801e2759
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x64], eax
jg 0x1801e27d7
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x190]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x64]
and ecx, 7
movsxd rcx, ecx
movzx ecx, byte [rbp + rcx + 8]
sub eax, ecx
mov ecx, dword [rbp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
movsxd rax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x1b0]
mov edx, dword [rbp + 0x64]
add edx, ecx
mov ecx, edx
and ecx, 7
mov ecx, ecx
mov rdx, qword [rbp + 0x190]
movzx eax, byte [rdx + rax]
mov byte [rbp + rcx + 8], al
xor edx, edx
mov eax, dword [rbp + 0x84]
mov ecx, 3
div ecx
movsxd rcx, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x190]
mov byte [rdx + rcx], al
jmp 0x1801e2751
jmp 0x1801e2992
mov dword [rbp + 0x64], 0
jmp 0x1801e27ed
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x64], eax
jg 0x1801e286b
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x190]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x64]
and ecx, 7
movsxd rcx, ecx
movzx ecx, byte [rbp + rcx + 8]
sub eax, ecx
mov ecx, dword [rbp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
movsxd rax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x1b0]
mov edx, dword [rbp + 0x64]
add edx, ecx
mov ecx, edx
and ecx, 7
mov ecx, ecx
mov rdx, qword [rbp + 0x190]
movzx eax, byte [rdx + rax]
mov byte [rbp + rcx + 8], al
xor edx, edx
mov eax, dword [rbp + 0x84]
mov ecx, 4
div ecx
movsxd rcx, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x190]
mov byte [rdx + rcx], al
jmp 0x1801e27e5
jmp 0x1801e2992
mov dword [rbp + 0x64], 0
jmp 0x1801e2881
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x64], eax
jg 0x1801e28ff
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x190]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x64]
and ecx, 7
movsxd rcx, ecx
movzx ecx, byte [rbp + rcx + 8]
sub eax, ecx
mov ecx, dword [rbp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
movsxd rax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x1b0]
mov edx, dword [rbp + 0x64]
add edx, ecx
mov ecx, edx
and ecx, 7
mov ecx, ecx
mov rdx, qword [rbp + 0x190]
movzx eax, byte [rdx + rax]
mov byte [rbp + rcx + 8], al
xor edx, edx
mov eax, dword [rbp + 0x84]
mov ecx, 5
div ecx
movsxd rcx, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x190]
mov byte [rdx + rcx], al
jmp 0x1801e2879
jmp 0x1801e2992
mov dword [rbp + 0x64], 0
jmp 0x1801e2915
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x64], eax
jg 0x1801e2992
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x190]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x64]
and ecx, 7
movsxd rcx, ecx
movzx ecx, byte [rbp + rcx + 8]
sub eax, ecx
mov ecx, dword [rbp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
movsxd rax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x1b0]
mov edx, dword [rbp + 0x64]
add edx, ecx
mov ecx, edx
and ecx, 7
mov ecx, ecx
mov rdx, qword [rbp + 0x190]
movzx eax, byte [rdx + rax]
mov byte [rbp + rcx + 8], al
xor edx, edx
mov eax, dword [rbp + 0x84]
div dword [rbp + 0x1b0]
movsxd rcx, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x190]
mov byte [rdx + rcx], al
jmp 0x1801e290d
jmp 0x1801e299c
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x198]
cmp dword [rbp + 0x64], eax
jge 0x1801e2a1a
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x190]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1801e29dc
mov eax, dword [0x1803cd580]
add eax, 0x34
mov r8d, eax
lea rdx, str.C:UsersRyan_AntongiovanniDocumentsKAKEClient_mainImGui_DirectX_11_Kiero_Hookimguiimstb_truetype.h
lea rcx, str.pixels_i___0
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
mov eax, dword [rbp + 0x64]
and eax, 7
cdqe
movzx eax, byte [rbp + rax + 8]
mov ecx, dword [rbp + 0x84]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
xor edx, edx
mov eax, dword [rbp + 0x84]
div dword [rbp + 0x1b0]
movsxd rcx, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x190]
mov byte [rdx + rcx], al
jmp 0x1801e2994
movsxd rax, dword [rbp + 0x1a8]
mov rcx, qword [rbp + 0x190]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x190], rax
jmp 0x1801e2633
lea rcx, [rbp - 0x20]
lea rdx, [0x180364190]
call fcn.180111293
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.18010e90d
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret