Function at 0x4138f0
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 0x465a15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x250
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push esi
push edi
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
call fcn.0040d0d0
mov esi, eax
xorps xmm0, xmm0
push 0x30
mov dword [ebp - 0x14], esi
movups xmmword [ebp - 0x34], xmm0
call fcn.00441881
movups xmm0, xmmword [0x494150]
mov edi, eax
mov dword [ebp - 0x24], 0x28
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], 0x2f
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x494160]
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [0x494170]
movq qword [edi + 0x20], xmm0
mov byte [edi + 0x28], 0
mov dword [ebp - 4], 0
call fcn.004230a0
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x28
jb 0x4139b0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d930
mov eax, dword [eax + 4]
test eax, eax
je 0x4139f3
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 4]
je 0x4139f3
mov eax, dword [eax + 0x20]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], eax
call esi
jmp 0x413a03
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
mov dword [ebp - 0x14], 0
push 0x30
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.004418b1
add esp, 8
cmp dword [ebp - 0x14], 0
jne 0x413a25
mov eax, 0xc0000138
jmp 0x413d51
call fcn.0040d0d0
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
cmp dword [eax + 0x14], 8
jb 0x413a3e
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
push 0x20
movups xmmword [ebp - 0x34], xmm0
call fcn.00441881
movups xmm0, xmmword [0x49417c]
mov edi, eax
mov dword [ebp - 0x24], 0x14
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], 0x1f
movups xmmword [edi], xmm0
mov ecx, dword [0x49418c]
mov dword [edi + 0x10], ecx
mov byte [edi + 0x14], 0
mov dword [ebp - 4], 1
call fcn.004230a0
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x14
jb 0x413aa0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040d930
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x413af0
cmp eax, dword [ecx + 4]
je 0x413af0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ecx + 0x20]
push eax
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x413af6
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
push ecx
call eax
jmp 0x413af6
lea eax, [ecx + 0x20]
push eax
call esi
push 0x20
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.004418b1
lea eax, [ebp - 0x260]
mov dword [ebp - 0x44], 0x1fe0000
mov dword [ebp - 0x40], eax
add esp, 8
mov eax, dword [ebx + 0x10]
cmp eax, 0xffffffff
je 0x413b2b
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
call fcn.0040d0d0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x30
movups xmmword [ebp - 0x34], xmm0
call fcn.00441881
movups xmm0, xmmword [0x494194]
mov edi, eax
mov dword [ebp - 0x24], 0x28
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], 0x2f
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x4941a4]
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [0x4941b4]
movq qword [edi + 0x20], xmm0
mov byte [edi + 0x28], 0
mov dword [ebp - 4], 2
call fcn.004230a0
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x28
jb 0x413ba0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040d930
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x413c06
cmp eax, dword [ecx + 4]
je 0x413c06
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ecx + 0x20]
push eax
call esi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x413c0c
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push 0
lea ecx, [ebp - 0x54]
push ecx
push 1
call eax
mov dword [ebp - 0x14], eax
jmp 0x413c13
lea eax, [ecx + 0x20]
push eax
call esi
mov dword [ebp - 0x14], 0xc0000138
push 0x30
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.004418b1
mov eax, dword [ebp - 0x38]
add esp, 8
test eax, eax
je 0x413c3b
cmp dword [ebx + 0x10], 0xffffffff
je 0x413c3b
push eax
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp dword [ebp - 0x14], 0
jne 0x413c80
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
cmp byte [eax + 0xf], 0
je 0x413c57
mov eax, 0xc015001d
jmp 0x413d51
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax + 4]
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x413c62
sub edx, ecx
mov ecx, dword [ebx + 8]
sar edx, 1
push edx
push esi
call fcn.004050c0
jmp 0x413d4e
cmp dword [ebp - 0x48], 0
je 0x413d4e
call fcn.0040d0d0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x20
movups xmmword [ebp - 0x34], xmm0
call fcn.00441881
movups xmm0, xmmword [0x4941c0]
mov edi, eax
mov dword [ebp - 0x24], 0x14
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], 0x1f
movups xmmword [edi], xmm0
mov ecx, dword [0x4941d0]
mov dword [edi + 0x10], ecx
mov byte [edi + 0x14], 0
mov dword [ebp - 4], 3
call fcn.004230a0
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x14
jb 0x413cf0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040d930
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x413d3d
cmp eax, dword [ecx + 4]
je 0x413d3d
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ecx + 0x20]
push eax
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x413d43
lea ecx, [ebp - 0x4c]
push ecx
call eax
jmp 0x413d43
lea eax, [ecx + 0x20]
push eax
call esi
push 0x20
push edi
call fcn.004418b1
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc