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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5607c3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f0
mov eax, dword [0x5ca1c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c8], eax
xor edi, edi
push ecx
mov dword [ebp - 0x1a0], edi
lea eax, [ebp - 0x19c]
xorps xmm0, xmm0
mov dword [ebp - 0x198], edi
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x19c], edi
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
call fcn.005010d0
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov dword [ebp - 0x1c0], eax
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x1c0]
mov dword [ebp - 0x1ec], eax
cmp esi, eax
je 0x4a6fe1
xor al, al
mov dword [ebp - 0x1c8], eax
push eax
lea eax, [ebp - 0x1b8]
push esi
push eax
call fcn.0041bf20
add esp, 0xc
lea eax, [ebp - 0x1b8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa8]
call fcn.004a1590
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 3
call fcn.00417590
lea ecx, [ebp - 0xa8]
call fcn.004a1660
test al, al
jne 0x4a6de9
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
mov byte [ebp - 4], 4
mov ecx, esi
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x4a6742
mov ecx, dword [esi]
push 3
push 0x5a3e8c
push 0xffffffffffffffff
mov edx, eax
call fcn.00434920
mov edx, eax
add esp, 0xc
cmp edx, 0xffffffff
je 0x4a68a1
mov eax, dword [esi + 0x14]
mov ecx, esi
cmp eax, 0xf
jbe 0x4a676c
mov ecx, dword [esi]
cmp byte [ecx + edx], 0x2e
jne 0x4a68a1
mov ecx, esi
cmp eax, 0xf
jbe 0x4a677f
mov ecx, dword [esi]
push 2
lea eax, [edx - 1]
mov edx, dword [esi + 0x10]
push 0x5a3ea0
push eax
call fcn.00434920
xor edx, edx
mov dword [ebp - 0x19c], eax
add esp, 0xc
mov dword [ebp - 0x1d0], edx
cmp eax, 0xffffffff
mov dword [ebp - 0x1cc], edx
lea ecx, [eax + 1]
xorps xmm0, xmm0
mov eax, dword [esi + 0x10]
cmove ecx, edx
movups xmmword [ebp - 0x1e0], xmm0
cmp eax, ecx
jb 0x4a7076
sub eax, ecx
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x4a67dc
mov eax, dword [esi]
add eax, ecx
lea ecx, [ebp - 0x1e0]
push edx
push eax
call fcn.0040f680
lea eax, [ebp - 0x1e0]
or edi, 0x4000
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x1a0], edi
call fcn.00416720
mov ecx, dword [ebp - 0x1cc]
cmp ecx, 0xf
jbe 0x4a6846
mov edx, dword [ebp - 0x1e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a683c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
push ecx
push edx
call fcn.00524a57
add esp, 8
mov ecx, dword [ebp - 0x19c]
xorps xmm0, xmm0
cmp ecx, 0xffffffff
je 0x4a68a6
cmp dword [esi + 0x10], ecx
mov eax, esi
movups xmmword [ebp - 0x1b8], xmm0
cmovb ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
jbe 0x4a6880
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x1b8]
call fcn.0040f680
mov eax, dword [ebp - 0x198]
or eax, 0x40
lea ecx, [ebp - 0x1b8]
or eax, 1
jmp 0x4a68e4
mov ecx, dword [esi + 0x10]
jmp 0x4a684c
push 0
push 0x593042
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1d0], 0
movups xmmword [ebp - 0x1e0], xmm0
mov dword [ebp - 0x1cc], 0
call fcn.0040f680
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0x1e0]
or eax, 0x82
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x198], eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 6
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
test al, 2
je 0x4a696c
mov ecx, dword [ebp - 0x1cc]
and eax, 0xfffffffd
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1a0], eax
cmp ecx, 0xf
jbe 0x4a696c
mov edx, dword [ebp - 0x1e0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a695c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
push ecx
push edx
call fcn.00524a57
mov eax, dword [ebp - 0x198]
add esp, 8
mov byte [ebp - 4], 7
test al, 1
je 0x4a69bd
mov ecx, dword [ebp - 0x1a4]
and eax, 0xfffffffe
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1a0], eax
cmp ecx, 0xf
jbe 0x4a69bd
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a69b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
push ecx
push edx
call fcn.00524a57
add esp, 8
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x4a6a82
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov edx, 0x811c9dc5
cmova eax, dword [ebp - 0x2c]
xor ecx, ecx
test edi, edi
je 0x4a69f7
mov esi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4a69e0
mov esi, dword [ebp - 0x1c0]
push edx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00435bd0
cmp dword [eax + 4], 0
jne 0x4a6a82
mov byte [ebp - 0x1e4], 0
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1e4]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x48], 0x5cacb0
push eax
call fcn.0041bf20
add esp, 0xc
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.0040f430
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b8]
call fcn.00417590
cmp dword [ebp - 0x4c], 0
jne 0x4a6e18
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00501eb0
cmp dword [ebp - 0x34], 0
je 0x4a6b4e
push ecx
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x88]
call fcn.00491020
mov eax, dword [ebp - 0x198]
or eax, 0x100
or eax, 8
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1a4], 0xf
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x1b8]
cmova eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x19c]
mov byte [ebp - 0x1e8], 0
push dword [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.0050d1a0
add esp, 0xc
lea eax, [ebp - 0x1e0]
mov dword [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xe0]
call fcn.004a1590
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xc
call fcn.00417590
lea ecx, [ebp - 0xe0]
call fcn.004a1660
lea ecx, [ebp - 0xc0]
mov byte [ebp - 0x191], al
call fcn.00417590
cmp byte [ebp - 0x191], 0
mov byte [ebp - 0x191], 1
je 0x4a6b55
mov byte [ebp - 0x191], 0
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x198]
test al, 8
je 0x4a6baf
mov ecx, dword [ebp - 0x1a4]
and eax, 0xfffffff7
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1a0], eax
cmp ecx, 0xf
jbe 0x4a6baf
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6ba5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
push ecx
push edx
call fcn.00524a57
add esp, 8
cmp byte [ebp - 0x191], 0
je 0x4a6d61
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
cmova ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x34], 0xd
jne 0x4a6c35
mov edx, str.tinyrcon.json
mov edi, 9
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4a6be8
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4a6bd7
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4a6c0f
cmp edi, 0xfffffffd
je 0x4a6c0b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4a6c0f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4a6c0f
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4a6c0f
xor eax, eax
jmp 0x4a6c14
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4a6c35
cmp dword [0x5de64c], 0xf
mov ecx, 0x5de638
cmova ecx, dword [0x5de638]
call fcn.004a7090
jmp 0x4a6d61
push 0xb0
lea eax, [ebp - 0x190]
push 0
push eax
call fcn.00532960
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x4a6c55
mov eax, dword [esi]
sub esp, 8
lea ecx, [ebp - 0x190]
push 2
push eax
call fcn.004ff400
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x194], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x184], 6
jne 0x4a6ed1
lea ecx, [ebp - 0x190]
call fcn.00415dc0
lea ecx, [ebp - 0x18c]
call fcn.004170a0
test eax, eax
jne 0x4a6ceb
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x190]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0040be10
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x194], eax
lea ecx, [ebp - 0x18c]
call fcn.004156c0
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x194], eax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00522431
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4a6d99
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6d8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
push ecx
push edx
call fcn.00524a57
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x4a6de3
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6dd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
push ecx
push edx
call fcn.00524a57
add esp, 8
mov edi, dword [ebp - 0x198]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0
call fcn.00417590
add esi, 0x18
mov dword [ebp - 0x1c0], esi
cmp esi, dword [ebp - 0x1ec]
je 0x4a6fe1
mov eax, dword [ebp - 0x1c8]
jmp 0x4a66d0
lea ecx, [ebp - 0x2c]
call fcn.004d1e90
mov esi, dword [ebp - 0x1c4]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 4]
mov byte [esi], 0
call fcn.00416820
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4a6e69
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6e5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
push ecx
push edx
call fcn.00524a57
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x4a6eaf
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6ea5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
push ecx
push edx
call fcn.00524a57
add esp, 8
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00417590
jmp 0x4a7039
lea ecx, [ebp - 0x44]
call fcn.004d1e90
mov esi, dword [ebp - 0x1c4]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 4]
mov byte [esi], 0
call fcn.00416820
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x194], eax
lea ecx, [ebp - 0x18c]
call fcn.004156c0
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x194], eax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00522431
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 0xf
jbe 0x4a6f98
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6f8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
push ecx
push edx
call fcn.00524a57
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x4a6eaf
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a6ea5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a707b
jmp 0x4a6ea5
mov esi, dword [ebp - 0x1c4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1b8], xmm0
mov byte [ebp - 0x1b8], 0
mov dword [ebp - 0x1a8], 0
mov byte [esi], 1
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x1b8]
mov dword [esi + 0x18], 0
mov dword [ebp - 0x1a4], 0xf
movups xmmword [esi + 4], xmm0
movq xmm0, qword [ebp - 0x1a8]
movq qword [esi + 0x14], xmm0
lea ecx, [ebp - 0x60]
call fcn.00435190
mov edx, dword [ebp - 0x68]
call fcn.0050c3f0
push 0x20
push dword [ebp - 0x68]
call fcn.00524a57
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052450f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00418030
call fcn.0053ce3a
int3