Function at 0x41f3d0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41f66e
sub esp, 0x28
mov ecx, dword [0x7d1998]
test ecx, ecx
je 0x41f609
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, ecx
xor ebx, ebx
xor ebp, ebp
cmp ebx, edx
jge 0x41f424
mov esi, dword [ecx]
add ecx, 4
inc ebx
add esi, ebp
mov edi, esi
shl esi, 0xa
lea ebp, [edi + esi]
mov esi, ebp
shr ebp, 6
xor ebp, esi
cmp ebx, edx
jl 0x41f409
mov ecx, dword [0x7d1998]
test byte [ecx], al
mov ebx, dword [esp + 0x30]
add ebp, ebx
mov esi, ebp
shl ebp, 0xa
add ebp, esi
mov esi, ebp
shr ebp, 6
xor esi, ebp
lea ebp, [esi + esi*8]
mov esi, ebp
shr ebp, 0xb
xor esi, ebp
mov dword [esp + 0x1c], esi
mov ebp, eax
mov eax, esi
mov edi, 0xba6a1fbd
mul edi
shr edx, 0x11
imul edx, edx, 0x2bf1f
mov edi, esi
sub esi, edx
mov dword [esp + 0x20], esi
cmp esi, 0x2bf1f
jae 0x41f602
mov eax, dword [ecx + esi*4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x41f4a8
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jne 0x41f49e
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jne 0x41f49e
mov ecx, dword [eax + 0x10]
cmp ebx, ecx
je 0x41f596
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x41f481
movzx eax, byte [esp + 0x40]
test al, al
je 0x41f58a
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call dbg.runtime.newBucket
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, eax
add ecx, 0x18
test byte [ecx], al
mov edx, dword [eax + 0x14]
cmp edx, 0x20
ja 0x41f583
mov ebx, dword [esp + 0x38]
cmp edx, ebx
jle 0x41f57c
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
shl ebx, 2
mov dword [esp + 8], ebx
call dbg.runtime.memmove
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x10], eax
mov eax, dword [0x7d1998]
test byte [eax], al
mov edx, dword [esp + 0x20]
mov eax, dword [eax + edx*4]
mov dword [ecx], eax
mov eax, dword [0x7d1998]
test byte [eax], al
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x2c]
cmp eax, 1
jne 0x41f555
mov eax, dword [0x7d19bc]
mov dword [ecx + 4], eax
mov dword [0x7d19bc], ecx
mov dword [esp + 0x44], ecx
add esp, 0x28
ret
cmp eax, 3
jne 0x41f56b
mov eax, dword [0x7d19d0]
mov dword [ecx + 4], eax
mov dword [0x7d19d0], ecx
jmp 0x41f54d
mov eax, dword [0x7d1994]
mov dword [ecx + 4], eax
mov dword [0x7d1994], ecx
jmp 0x41f54d
mov ebx, edx
jmp 0x41f4f0
call dbg.runtime.panicslice
ud2
mov dword [esp + 0x44], 0
add esp, 0x28
ret
mov ecx, eax
add ecx, 0x18
test byte [ecx], al
mov esi, dword [eax + 0x14]
cmp esi, 0x20
ja 0x41f5fb
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
call dbg.runtime.eqslice
movzx eax, byte [esp + 0x18]
test al, al
jne 0x41f5ef
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x41f49e
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
add esp, 0x28
ret
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicindex
ud2
mov dword [esp], 0xafc7c
lea eax, [0x7e54d0]
mov dword [esp + 4], eax
call dbg.runtime.sysAlloc
mov eax, dword [esp + 8]
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x41f65a
mov dword [0x7d1998], eax
mov ecx, dword [0x7d1998]
test ecx, ecx
je 0x41f642
jmp 0x41f3f7
lea eax, [0x6410c2]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call dbg.runtime.throw
ud2
lea ecx, [0x7d1998]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x41f633
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.stkbucket