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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x74d744]
push esi
push edi
push 0x7484b8
mov dword [ebp - 0x20], eax
call fcn.005adc82
add esp, 4
test eax, eax
jne 0x539ba1
mov eax, dword [0x7484e4]
cmp eax, 0x7fffffff
je 0x539ba8
cmp dword [ebx + 0x14], 0
mov edi, dword [ebx + 8]
mov dword [ebp - 0x1c], edi
jne 0x5399bd
mov byte [ebp - 1], 0
jmp 0x539b86
mov edx, dword [ebx + 0xc]
xorps xmm0, xmm0
mov ecx, edx
movaps xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5399e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00414570
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x28
jbe 0x539a11
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0x28
cmova eax, dword [ebp - 0x40]
mov byte [eax + 0x28], 0
lea edx, [edi + 0x30]
xor eax, eax
mov edi, dword [edx + 4]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov esi, dword [edi]
cmp esi, edi
je 0x539a7a
nop dword [eax + eax]
cmp dword [ebp - 0x2c], 0xf
lea eax, [esi + 8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], eax
cmova ecx, edx
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x30]
jbe 0x539a53
mov eax, dword [eax]
jmp 0x539a56
mov eax, dword [ebp - 0x10]
push ecx
push dword [ebp - 0x14]
mov ecx, eax
call fcn.004108e0
add esp, 8
test al, al
mov eax, dword [ebp - 8]
jne 0x539a71
add eax, dword [esi + 0x20]
mov dword [ebp - 8], eax
mov esi, dword [esi]
mov edx, dword [ebp - 0x40]
cmp esi, edi
jne 0x539a30
mov esi, dword [ebx + 0x14]
add eax, esi
cmp eax, 0x186a0
jbe 0x539a8f
mov byte [ebp - 1], 0
jmp 0x539b45
push esi
call fcn.005ab960
add esp, 4
mov dword [ebp - 8], eax
push esi
push dword [ebx + 0x10]
push eax
call fcn.005c3580
mov edi, dword [ebp - 0x30]
lea esi, [ebp - 0x40]
add esp, 0xc
mov edx, 0x811c9dc5
cmp dword [ebp - 0x2c], 0xf
cmova esi, dword [ebp - 0x40]
xor ecx, ecx
test edi, edi
je 0x539ad2
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x539ac1
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x40]
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004100f0
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0xc]
test esi, esi
jne 0x539af0
mov esi, dword [eax + 4]
mov edi, dword [ebx + 8]
cmp esi, dword [edi + 0x34]
je 0x539b11
push dword [esi + 0x24]
call fcn.005ab969
mov ecx, dword [ebp - 8]
add esp, 4
mov dword [esi + 0x24], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esi + 0x20], ecx
jmp 0x539b27
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0053a390
mov ecx, dword [ebx + 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov byte [edi + 0x54], 0
push eax
add ecx, 0x14
call fcn.004e7120
mov edx, dword [ebp - 0x40]
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x539b74
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x539b6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x539bb5
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0x7484b8
call fcn.005adcb4
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 5
call fcn.005adc4d
dec eax
push 6
mov dword [0x7484e4], eax
call fcn.005adc4d
call fcn.005c695f
int3