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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebx + 0x588], ecx
mov eax, dword [ecx + 8]
mov dword [ebx + 0x58c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x59c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x5a0], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x5a4], eax
mov ecx, dword [ecx + 0x30]
test ecx, 0x79a
mov al, byte [ebx + 0x52c]
mov byte [ebx + 0x52d], al
setne al
mov dword [ebx + 0x594], ecx
mov byte [ebx + 0x52c], al
mov ecx, dword [0x101ae5fc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101ae600]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [ebx + 0x20c], eax
test eax, eax
je 0x10040df4
mov ecx, dword [0x101ae864]
add ecx, 0xffffffca
xor ecx, 0x2f303c76
mov eax, dword [ecx + eax]
and eax, 1
add eax, 0xf
mov dword [ebx + 0x554], eax
mov eax, dword [0x101ae670]
mov eax, dword [eax + 0x4cb0]
mov dword [ebx + 0x558], eax
mov ebx, dword [0x10147618]
test bl, 1
jne 0x10040a15
or ebx, 1
mov dword [0x10147618], ebx
mov eax, dword [0x101ae6c0]
mov dword [0x101475fc], eax
test bl, 2
jne 0x10040a2d
or ebx, 2
mov dword [0x10147618], ebx
mov eax, dword [0x101ae6c4]
mov dword [0x101475e8], eax
test bl, 4
jne 0x10040a9d
or ebx, 4
mov dword [0x10147618], ebx
mov eax, dword [0x101ae5f8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
test eax, eax
je 0x10040a96
nop word [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10040a60
xor edx, edx
test ecx, ecx
je 0x10040a8c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10040a70
mov eax, dword [ebp - 4]
cmp esi, 0xb488961c
je 0x10040a98
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10040a50
xor eax, eax
mov dword [0x10147604], eax
test bl, 8
jne 0x10040b0d
or ebx, 8
mov dword [0x10147618], ebx
mov eax, dword [0x101ae5f8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
test eax, eax
je 0x10040b06
nop word [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10040ad0
xor edx, edx
test ecx, ecx
je 0x10040afc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10040ae0
mov eax, dword [ebp - 4]
cmp esi, 0x1da69e46
je 0x10040b08
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10040ac0
xor eax, eax
mov dword [0x101475ec], eax
test bl, 0x10
jne 0x10040b25
or ebx, 0x10
mov dword [0x10147618], ebx
mov eax, dword [0x101ae6c8]
mov dword [0x10147600], eax
test bl, 0x20
jne 0x10040b8d
or ebx, 0x20
mov dword [0x10147618], ebx
mov eax, dword [0x101ae5f8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
test eax, eax
je 0x10040b86
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x10040b50
xor edx, edx
test ecx, ecx
je 0x10040b7c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10040b60
mov eax, dword [ebp - 4]
cmp esi, 0xe3d20ca0
je 0x10040b88
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10040b42
xor eax, eax
mov dword [0x101475f8], eax
test bl, 0x40
jne 0x10040be8
or ebx, 0x40
mov dword [0x10147618], ebx
mov eax, dword [0x101ae5f8]
mov ebx, dword [eax + 0x30]
jmp 0x10040bdc
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10040bb0
xor edx, edx
test ecx, ecx
je 0x10040bd9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10040bc0
cmp esi, 0x2f82ccee
je 0x10040be0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10040ba5
mov dword [0x10147614], ebx
jmp 0x10040bee
mov ebx, dword [0x10147614]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101475f8]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0xc], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10147600]
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
movss dword [ebp - 0x20], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101475ec]
lea eax, [ebp - 0x24]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
lea edi, [ebp - 0x20]
comiss xmm0, dword [ebp - 4]
movss dword [ebp - 0x24], xmm0
cmovae edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10147604]
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x30], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101475e8]
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
movss dword [ebp - 0x28], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x101475fc]
lea eax, [ebp - 0x2c]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
comiss xmm0, dword [ebp - 4]
mov dword [ebp - 0x34], 0x3f800000
movss dword [ebp - 0x2c], xmm0
cmovae esi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movss xmm0, dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
comiss xmm0, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
movss xmm0, dword [ebp - 0x18]
fstp dword [ebp - 4]
cmovae ecx, esi
movss xmm1, dword [ebp - 4]
comiss xmm0, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
movss xmm0, dword [ecx]
lea ecx, [ebp - 4]
movss dword [ebp - 4], xmm1
cmovae eax, edi
divss xmm0, dword [eax]
lea eax, [ebp - 0xc]
comiss xmm0, xmm1
movss xmm1, dword [0x10105df4]
movss dword [ebp - 0xc], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x34]
comiss xmm1, xmm0
cmovae eax, ecx
mov eax, dword [eax]
mov dword [esi + 0x56c], eax
mov ecx, dword [0x101ae668]
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x24]
call eax
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
lea ecx, [esi + 0x570]
comiss xmm0, dword [0x10105df4]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x3f800000
movss dword [ecx], xmm0
cmovbe eax, ecx
movss xmm0, dword [eax]
maxss xmm0, dword [0x10105cdc]
movss dword [ecx], xmm0
mov eax, dword [0x101ae65c]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10105da0]
cvttss2si ecx, xmm0
mov dword [esi + 0x574], ecx
mov eax, dword [0x101ae670]
mov eax, dword [eax + 0x16c]
mov dword [esi + 0x578], eax
add eax, ecx
mov ecx, dword [esi + 0x20c]
mov dword [esi + 0x57c], eax
mov byte [esi + 0x610], 0
test ecx, ecx
je 0x10040ded
mov eax, dword [0x101ae860]
add eax, 0xffffffcb
xor eax, 0x2f303c75
cmp dword [eax + ecx], 0
jne 0x10040ded
push ecx
mov byte [esi + 0x210], 1
call fcn.100de030
mov ecx, dword [0x101ae864]
mov eax, dword [esi + 0x20c]
add ecx, 0xffffffca
xor ecx, 0x2f303c76
mov eax, dword [ecx + eax]
mov dword [esi + 0x214], eax
mov byte [esi + 0x225], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esi + 0x210], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4