Function at 0x438969
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x48581c
call fcn.004801f0
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, word [edi + 7]
push eax
movzx eax, word [edi + 5]
push eax
push str.Receiving_cursor_shape_update__cursor__dx_d
push str.S:Ammyy_sources_viewer_vrClientCursor.cpp
push 6
push 0x4b5b78
call fcn.0041e1ee
add esp, 0x18
mov ecx, esi
call fcn.00438f9f
cmp byte [edi], 0x6f
movzx ebx, word [edi + 7]
movzx eax, word [edi + 5]
sete byte [ebp + 0xb]
imul ebx, eax
test ebx, ebx
mov dword [ebp - 0x28], ebx
je 0x438d02
lea eax, [ebx + 7]
push 8
cdq
pop ecx
mov dword [ebp - 0x20], ebx
idiv ecx
cmp byte [esi + 0xad0], 0
mov dword [ebp - 0x18], eax
je 0x438a3c
lea ecx, [esi + 0x1cc]
lea eax, [eax + ebx*4]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
push dword [ebp - 0x18]
mov ecx, esi
mov dword [ebp - 0x14], eax
push eax
call fcn.0043a6af
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0040c581
cmp byte [ebp + 0xb], 0
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
je 0x438a1d
mov eax, dword [esi + 0x1e4]
imul eax, ecx
jmp 0x438a26
lea eax, [ecx + 7]
push 8
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
add eax, ecx
mov ecx, esi
push eax
call fcn.0043a6af
jmp 0x438ae5
mov ecx, esi
call fcn.0043a6c1
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], eax
call fcn.0042d733
push dword [ebp - 0x1c]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0042e00a
push dword [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 0x24], eax
push eax
call fcn.0043a6af
cmp byte [ebp + 0xb], 0
je 0x438a7c
mov eax, dword [esi + 0x1e4]
imul eax, ebx
jmp 0x438a7f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
add eax, ecx
lea ecx, [esi + 0x1cc]
mov dword [ebp - 0x10], eax
add eax, eax
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, eax
lea ecx, [esi + 0xa4]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call fcn.00420972
cmp eax, dword [ebp - 0x10]
je 0x438ad9
push dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push str.ERROR_in_ReadCursorShape__1_size_u
push eax
call fcn.0042c02a
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x49451c
push eax
call sub.MSVCRT.dll__CxxThrowException
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0042d7f5
test byte [esi + 0xbad], 2
je 0x438d02
lea ecx, [esi + 0xad4]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [esi + 0x1e8]
lea ecx, [esi + 0xaec]
imul edx, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], eax
call fcn.0040c5c9
and dword [ebp - 0x1c], 0
test ebx, ebx
jle 0x438b4e
lea ecx, [ebp - 0x34]
call fcn.0040c5dc
xor al, byte [esi + 0xad0]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
inc dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
cmp dword [ebp - 0x1c], ebx
mov byte [edx + ecx], al
jl 0x438b2c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
add eax, ecx
cmp byte [ebp + 0xb], 0
mov dword [ebp - 0x18], eax
je 0x438bf5
lea ecx, [ebp - 0x58]
call fcn.0042d733
mov eax, dword [esi + 0x1e8]
lea ecx, [ebp - 0x58]
imul eax, dword [ebp - 0x20]
push eax
mov dword [ebp - 4], 1
call fcn.0042e00a
push dword [ebp - 0x20]
mov ecx, dword [esi + 0x1ac]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
mov edx, dword [ecx]
push eax
call dword [edx]
and dword [ebp + 8], 0
test ebx, ebx
jle 0x438be7
cmp byte [esi + 0xad0], 0
je 0x438bc3
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
cmp byte [ecx + eax], 0
je 0x438bc3
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x1ec]
mov dword [ecx], eax
jmp 0x438bd6
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [edx], ecx
add eax, dword [esi + 0x1e8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x1e8]
inc dword [ebp + 8]
add dword [ebp - 0x10], eax
cmp dword [ebp + 8], ebx
jl 0x438ba1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0042d7f5
jmp 0x438c5a
push eax
lea ecx, [ebp - 0x40]
call fcn.0040c5c9
and dword [ebp - 0x1c], 0
test ebx, ebx
jle 0x438c5a
cmp byte [esi + 0xad0], 0
je 0x438c23
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
cmp byte [ecx + eax], 0
je 0x438c23
mov eax, dword [esi + 0x1ec]
jmp 0x438c44
lea ecx, [ebp - 0x40]
call fcn.0040c5dc
xor al, byte [esi + 0xad0]
mov ebx, dword [ebp - 0x28]
push 0
mov byte [ebp + 0xb], al
pop eax
setne al
mov eax, dword [esi + eax*4 + 0x1ec]
mov ecx, dword [ebp - 0x10]
inc dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [esi + 0x1e8]
add dword [ebp - 0x10], eax
cmp dword [ebp - 0x1c], ebx
jl 0x438c06
lea ebx, [esi + 0xb34]
mov ecx, ebx
mov dword [ebp + 8], ebx
call fcn.0042cce0
movzx eax, word [edi + 7]
push eax
mov dword [ebp - 4], 2
movzx eax, word [edi + 5]
push eax
push str.Receiving_cursor_shape_update__cursor__dx_d
push str.S:Ammyy_sources_viewer_vrClientCursor.cpp
push 6
push 0x4b5b78
call fcn.0041e1ee
movzx ecx, word [edi + 5]
lea eax, [esi + 0xac8]
add esp, 0x18
mov dword [eax], ecx
mov eax, dword [eax]
movzx ecx, word [edi + 7]
mov dword [esi + 0xacc], ecx
dec eax
movzx ecx, word [edi + 1]
cmp ecx, eax
jge 0x438cb7
mov eax, ecx
mov dword [esi + 0xb04], eax
mov eax, dword [esi + 0xacc]
movzx ecx, word [edi + 3]
dec eax
cmp ecx, eax
jge 0x438cce
mov eax, ecx
mov ecx, esi
mov dword [esi + 0xb08], eax
call fcn.00439072
mov ecx, esi
call fcn.00439206
and byte [esi + 0xad3], 0
and byte [esi + 0xad2], 0
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
mov byte [esi + 0xad1], 1
call fcn.0045a569
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4