Function at 0x1012a510
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 0x101f1561
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10b33e60]
lea edx, [ebp - 0x38]
add eax, 0x7a4232c8
mov dword [ebp - 0x38], 0
xor eax, 0xfcb4fca8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push edx
mov ecx, dword [eax + 0xc4]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
call eax
mov eax, dword [0x10b33e60]
mov ecx, dword [0x1031e91c]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov edx, dword [eax + 0x14c]
mov dword [ebp - 0x28], edx
test cl, 1
jne 0x1012a6ed
or ecx, 1
mov dword [0x1031e91c], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x1c], eax
cmp eax, dword [0x1031cd84]
je 0x1012a61a
nop
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1012a60c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1012a5e3
xor edx, edx
test ecx, ecx
je 0x1012a60c
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a5f0
cmp esi, 0x4e9f1122
je 0x1012a637
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, dword [0x1031cd84]
jne 0x1012a5d0
xor esi, esi
mov edx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x1031e91c]
mov dword [0x103201cc], esi
jmp 0x1012a6f3
mov eax, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
cmp dword [eax + 4], edi
jle 0x1012a6d8
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x24], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1012a684
cmp dword [ecx + 4], 0
jle 0x1012a684
push 0
mov edx, 0x53630d14
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1012a681
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x14]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1012a690
xor edx, edx
test ecx, ecx
je 0x1012a6bc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a6a0
cmp esi, 0x53630d14
je 0x1012a6df
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc edx
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x1012a650
mov esi, edi
jmp 0x1012a61c
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0x2c]
add esi, dword [ebp - 0x18]
jmp 0x1012a61c
mov esi, dword [0x103201cc]
movss xmm1, dword [edx + esi + 4]
xorps xmm5, xmm5
ucomiss xmm1, xmm5
movss dword [ebp - 0x28], xmm1
lahf
test ah, 0x44
jp 0x1012a740
movss xmm0, dword [edx + esi]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x1012a740
movss xmm0, dword [edx + esi + 8]
xorps xmm4, xmm4
comiss xmm0, xmm5
jbe 0x1012a733
movss xmm0, dword [0x102712bc]
jmp 0x1012a7c1
movss xmm0, dword [0x10271214]
jmp 0x1012a7c1
fld dword [ebp - 0x28]
movss xmm0, dword [edx + esi]
movss dword [ebp - 0x24], xmm0
fld dword [ebp - 0x24]
fpatan
movss xmm3, dword [0x102711d0]
movss xmm2, dword [0x102712cc]
fstp dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x28]
mulss xmm4, xmm3
comiss xmm5, xmm4
jbe 0x1012a777
addss xmm4, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1000d460
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [edx + esi + 8]
xorps xmm0, xmmword [0x10271af0]
movss dword [ebp - 0x28], xmm0
fld dword [ebp - 0x28]
fld dword [ebp - 0x24]
fpatan
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm3
comiss xmm5, xmm0
movss dword [ebp - 0x1c], xmm0
jbe 0x1012a7c6
addss xmm0, xmm2
movss dword [ebp - 0x1c], xmm0
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov edi, dword [eax + 0x14c]
mov dword [ebp - 0x2c], edi
test cl, 1
jne 0x1012a869
or ecx, 1
mov dword [0x1031e91c], ecx
mov dword [ebp - 4], 1
mov eax, dword [0x1031cd80]
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1031cd84]
je 0x1012a85e
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1012a850
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1012a820
xor edx, edx
test ecx, ecx
je 0x1012a850
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a830
cmp esi, 0x4e9f1122
je 0x1012a946
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1031cd84]
jne 0x1012a807
xor esi, esi
mov edi, dword [ebp - 0x2c]
mov dword [0x103201cc], esi
movss xmm2, dword [ebp - 0x34]
lea edx, [ebp - 0x24]
subss xmm2, xmm4
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mulss xmm2, dword [0x10270eec]
call fcn.101266a0
movss xmm2, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
mulss xmm2, dword [0x10270eec]
lea ecx, [ebp - 0x2c]
call fcn.101266a0
movss xmm2, dword [edi + esi + 4]
movss xmm0, dword [edi + esi]
movss xmm1, dword [edi + esi + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1000d460
mov eax, dword [0x10b33e60]
movss xmm2, dword [ebp - 0x20]
add eax, 0x7a4232c8
movss xmm1, dword [ebp - 0x24]
xor eax, 0xfcb4fca8
xorps xmm0, xmmword [0x10271af0]
mulss xmm1, xmm2
mov eax, dword [eax + 0x158]
mulss xmm2, dword [ebp - 0x18]
mulss xmm1, xmm0
mulss xmm2, xmm0
movss dword [eax + 0x24], xmm1
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x158]
movss dword [eax + 0x28], xmm2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
cmp dword [eax + 4], edi
jle 0x1012a9e8
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x28], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1012a994
cmp dword [ecx + 4], 0
jle 0x1012a994
push 0
mov edx, 0x53630d14
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1012a991
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1012a9a0
xor edx, edx
test ecx, ecx
je 0x1012a9cc
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a9b0
cmp esi, 0x53630d14
je 0x1012a9ef
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
inc edx
mov edi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [eax + 4]
jl 0x1012a960
mov esi, edi
jmp 0x1012a860
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 0x2c]
add esi, dword [ebp - 0x14]
jmp 0x1012a860