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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1af3
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x512a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, eax
je 0x4510ea
mov eax, dword [edx + 4]
lea ebx, [edx + 4]
mov dword [ebp - 0x2c], eax
mov edi, ecx
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 4], 0
lea edx, [ecx + 8]
cmp dword [edx + 0x14], 0xf
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x10]
jbe 0x451019
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test eax, eax
je 0x45103a
mov ebx, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x451026
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
and eax, esi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], eax
mov ecx, edi
cmp edi, eax
mov eax, dword [edi]
mov edi, eax
mov dword [ebp - 0x40], edi
sete byte [ebp - 0xd]
mov dword [ebp - 0x30], ecx
lea esi, [ecx + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x45109d
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x45109d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45109d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x30]
lea ecx, [esi + 8]
call fcn.0044a2e0
push 0x28
push esi
call fcn.004aa253
dec dword [ebx + 4]
add esp, 8
cmp byte [ebp - 0xd], 0
jne 0x4510fe
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
jne 0x451056
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jne 0x4510d8
mov eax, dword [ebp - 0x14]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
jne 0x451110
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x451113
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
cmp edi, dword [ebp + 0xc]
je 0x4510d8
nop dword [eax + eax]
cmp dword [edi + 0x1c], 0xf
lea esi, [edi + 8]
mov ebx, dword [esi + 0x10]
jbe 0x45112e
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x451151
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x451140
mov eax, dword [ebp - 0x1c]
and edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x28]
lea eax, [eax + edx*8]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov ecx, edi
cmp edi, eax
mov eax, dword [edi]
mov edi, eax
mov dword [ebp - 0x40], edi
sete byte [ebp - 0xd]
mov dword [ebp - 0x24], ecx
lea ebx, [ecx + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 3
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x4511ad
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4511ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4511ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.0044a2e0
push 0x28
push dword [ebp - 0x24]
call fcn.004aa253
mov eax, dword [ebp - 0x1c]
add esp, 8
dec dword [eax + 8]
cmp byte [ebp - 0xd], 0
jne 0x4511e2
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x18], eax
je 0x4510d3
mov eax, dword [ebp - 0x20]
jmp 0x451166
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [eax], edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x18], eax
jne 0x451120
jmp 0x4510d8