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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e47a1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
cmp byte [0x10308bec], 0
je 0x1003210e
mov eax, dword [0x10b33e7c]
add eax, 0x871ac239
xor eax, 0xe3de2ec4
cmp dword [eax + 4], 3
jl 0x1003210e
cmp byte [0x10308acc], 0
jne 0x1003210e
cmp byte [0x10308af0], 0
jne 0x1003210e
cmp byte [0x10308b14], 0
jne 0x1003210e
push 0
push 0
call fcn.10032a80
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1003210e
mov ecx, dword [0x10b33e60]
add ecx, 0x7a4232c8
xor ecx, 0xfcb4fca8
mov eax, dword [ecx + 0xc8]
mov dword [ebp - 0x24], eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [0x103201ac]
test al, 1
jne 0x10031f1c
or eax, 1
mov dword [0x103201ac], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x10031e44
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10031e39
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10031e13
xor edx, edx
test ecx, ecx
je 0x10031e39
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031e20
cmp edi, 0x4e9f1122
je 0x10031e57
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x10031e00
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x1031e910], eax
jmp 0x10031f21
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [eax + 4], ebx
jle 0x10031ef8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10031ea1
cmp dword [ecx + 4], 0
jle 0x10031ea1
push 0
mov edx, 0x940131c5
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10031e9e
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10031eb0
xor edx, edx
test ecx, ecx
je 0x10031edc
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10031ec0
cmp ebx, 0x940131c5
je 0x10031f08
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10031e70
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [0x1031e910], eax
jmp 0x10031f21
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x1031e910], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10031f21
mov eax, dword [0x1031e910]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push dword [edx + eax]
call dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1003210e
mov ecx, dword [0x10b33e60]
add ecx, 0x7a4232c8
xor ecx, 0xfcb4fca8
mov eax, dword [ecx + 0x10c]
mov dword [ebp - 0x24], eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1031e958]
test al, 1
jne 0x10032098
or eax, 1
mov dword [0x1031e958], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x10031fc9
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10031fbe
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10031f98
xor edx, edx
test ecx, ecx
je 0x10031fbe
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10031fa5
cmp edi, 0xcd2ed041
je 0x10031fdc
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x10031f85
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10320234], eax
jmp 0x1003209d
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 4], ebx
jle 0x10032074
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10032026
cmp dword [ecx + 4], 0
jle 0x10032026
push 0
mov edx, 0xa2ccb41a
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10032023
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x10032030
xor edx, edx
test ecx, ecx
je 0x1003205c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10032040
cmp ebx, 0xa2ccb41a
je 0x10032084
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
inc edx
mov ebx, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 4]
jl 0x10031ff5
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
mov dword [0x10320234], eax
jmp 0x1003209d
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x10]
mov dword [0x10320234], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1003209d
mov eax, dword [0x10320234]
mov ecx, dword [ebp - 0x28]
movsx eax, word [eax + ecx]
mov ecx, dword [ebp - 0x24]
push eax
call dword [ebp - 0x20]
test eax, eax
je 0x1003210e
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
call fcn.10032120
movss xmm0, dword [0x10320278]
movss xmm2, dword [0x10271280]
movss xmm3, dword [0x102713f4]
subss xmm0, xmm2
movss xmm1, dword [0x102712cc]
comiss xmm3, xmm0
jbe 0x100320f9
nop dword [eax]
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x100320f0
comiss xmm0, xmm2
jbe 0x10032109
nop
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x10032100
movss dword [esi + 0x18], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret