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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov eax, edx
push esi
mov esi, dword [ebp + 8]
push edi
test byte [ebx + 0x24], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
je 0x100230ab
movss xmm0, dword [ebx + 0x1f8]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1002309c
comiss xmm1, dword [eax + 0x1f8]
jb 0x1002309c
test byte [eax + 0x24], 1
jne 0x1002309c
mov edi, dword [ebx + 0x1f0]
cmp edi, 2
jl 0x1002309c
mov ecx, dword [0x10120b6c]
mov eax, dword [0x10120b08]
mov dword [ebp - 8], eax
cmp dword [esi + ecx], 0
jne 0x10023030
mov eax, dword [0x10120ae4]
mov ecx, esi
call eax
mov ecx, dword [0x10120b6c]
mov eax, dword [ebp - 8]
mov ecx, dword [esi + ecx]
mov edx, edi
call eax
cmp eax, 0x3dc
je 0x10023045
cmp eax, 0x3dd
jne 0x1002309c
movss xmm1, dword [ebx + 0x204]
xorps xmm2, xmm2
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1002309c
movss xmm0, dword [ebx + 0x200]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002309c
divss xmm1, xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1002309c
movss xmm0, dword [ebx + 0x448]
subss xmm0, xmm1
mov word [ebp - 2], 0x101
mov ax, word [ebp - 2]
mov word [ebx + 0x434], ax
movss dword [ebx + 0x758], xmm0
mov dword [ebx + 0x400], 0
jmp 0x100233aa
test byte [eax + 0x24], 1
mov edi, dword [ebx + 0x1b8]
jne 0x1002314f
cmp edi, 2
jl 0x1002314f
mov ecx, dword [0x10120b6c]
mov eax, dword [0x10120b08]
mov dword [ebp - 8], eax
cmp dword [esi + ecx], 0
jne 0x100230ea
mov eax, dword [0x10120ae4]
mov ecx, esi
call eax
mov ecx, dword [0x10120b6c]
mov eax, dword [ebp - 8]
mov ecx, dword [esi + ecx]
mov edx, edi
call eax
cmp eax, 0x3d9
jne 0x1002314f
movss xmm1, dword [ebx + 0x1cc]
xorps xmm2, xmm2
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1002314f
movss xmm0, dword [ebx + 0x1c8]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002314f
divss xmm1, xmm0
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1002314f
movss xmm0, dword [ebx + 0x448]
subss xmm0, xmm1
mov word [ebp - 2], 0x100
mov ax, word [ebp - 2]
mov word [ebx + 0x434], ax
movss dword [ebx + 0x758], xmm0
movss xmm0, dword [ebx + 0x1c0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100233ad
movss xmm0, dword [ebx + 0x1c8]
comiss xmm0, xmm1
jbe 0x100233ad
mov ecx, dword [0x10120b6c]
mov eax, dword [0x10120b08]
mov dword [ebp - 8], eax
cmp dword [esi + ecx], 0
jne 0x1002319a
mov eax, dword [0x10120ae4]
mov ecx, esi
call eax
mov ecx, dword [0x10120b6c]
mov eax, dword [ebp - 8]
mov ecx, dword [esi + ecx]
mov edx, edi
call eax
cmp eax, 0x3d9
jne 0x100233aa
mov eax, dword [0x10120a08]
movss xmm0, dword [0x100bc3a8]
movss xmm2, dword [ebx + 0x1cc]
divss xmm2, dword [ebx + 0x1c8]
movss xmm1, dword [eax + 0x20]
divss xmm0, xmm1
mov eax, dword [0x10120c0c]
add eax, 0xffffffca
xor eax, 0xc1370490
test byte [eax + esi], 1
movss xmm3, dword [0x100bc364]
mulss xmm2, xmm0
addss xmm2, xmm3
mulss xmm2, xmm1
movss dword [ebp - 0xc], xmm2
je 0x10023266
mulss xmm0, dword [ebx + 0x448]
mov eax, dword [0x10120b68]
addss xmm0, xmm3
mov ecx, dword [esi + eax]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
subss xmm0, xmm2
comiss xmm0, dword [ecx + 0x6c]
jbe 0x10023266
mov byte [ecx + 0x348], 0
mov eax, dword [0x10120cac]
add eax, 0xffffffa2
xor eax, 0xc13704b8
mov dword [eax + esi + 0x18], 0
mov eax, dword [0x10120b68]
mov eax, dword [esi + eax]
mov dword [eax + 0x110], 0
mov eax, dword [0x10120b68]
mov eax, dword [esi + eax]
movss dword [eax + 0x6c], xmm0
mov ecx, dword [0x101277c8]
test cl, 1
jne 0x100232f5
or ecx, 1
mov dword [0x101277c8], ecx
mov eax, dword [0x101209a4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
test eax, eax
je 0x100232dc
nop dword [eax]
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100232a0
xor edx, edx
test ecx, ecx
je 0x100232cc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100232b0
mov eax, dword [ebp - 4]
cmp edi, 0x58e37709
je 0x100232e8
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10023290
mov ecx, dword [0x101277c8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [0x101277cc], eax
jmp 0x100232fd
mov ecx, dword [0x101277c8]
mov dword [0x101277cc], eax
jmp 0x100232fd
mov eax, dword [0x101277cc]
mov dword [ebp - 4], eax
test cl, 2
jne 0x1002336d
or ecx, 2
mov dword [0x101277c8], ecx
mov eax, dword [0x101209a4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
test eax, eax
je 0x10023366
nop word [eax + eax]
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10023330
xor edx, edx
test ecx, ecx
je 0x1002335c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10023340
mov eax, dword [ebp - 8]
cmp edi, 0x7a7ef71d
je 0x10023368
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
test eax, eax
jne 0x10023320
xor eax, eax
mov dword [0x101277d0], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
call dword [ebp - 8]
mov ecx, dword [0x101277d0]
fstp dword [ebp - 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
call dword [ebp - 8]
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
movss dword [ebp - 0xc], xmm0
fsub dword [ebp - 0xc]
fstp dword [ebx + 0x400]
xorps xmm1, xmm1
cmp byte [ebx + 0x435], 0
je 0x100234e9
mov eax, dword [0x10120a08]
movss xmm2, dword [0x100bc3a8]
movss xmm3, dword [0x100bc364]
divss xmm2, dword [eax + 0x20]
movaps xmm0, xmm2
mulss xmm0, dword [ebx + 0x448]
addss xmm0, xmm3
cvttss2si eax, xmm0
sub eax, dword [ebx + 0xc]
cmp byte [ebx + 0x435], 0
je 0x100235c2
mulss xmm2, dword [ebx + 0x758]
addss xmm2, xmm3
cvttss2si ecx, xmm2
inc ecx
cmp byte [ebx + 0x434], 0
jne 0x10023470
cmp ecx, eax
je 0x100234d8
inc eax
cmp ecx, eax
jne 0x100234e9
mov eax, dword [0x10120b4c]
mov ecx, dword [esi + eax]
mov eax, dword [ebx + 0x1c8]
mov dword [ecx + 0x108], eax
mov eax, dword [0x10120b4c]
mov ecx, dword [esi + eax]
mov eax, dword [ebx + 0x1b8]
mov dword [ecx + 0xf8], eax
mov eax, dword [0x10120b4c]
mov eax, dword [esi + eax]
mov dword [eax + 0x10c], 0
mov eax, dword [0x10120b4c]
mov eax, dword [esi + eax]
mov dword [eax + 0x100], 0
jmp 0x10023474
cmp ecx, eax
jne 0x10023487
mov eax, dword [0x10120c0c]
add eax, 0xffffffca
xor eax, 0xc1370490
and dword [eax + esi], 0xfffffffe
jmp 0x100234e9
inc eax
cmp ecx, eax
jne 0x100234e9
mov eax, dword [0x10120b4c]
mov ecx, dword [esi + eax]
mov eax, dword [ebx + 0x200]
mov dword [ecx + 0x140], eax
mov eax, dword [0x10120b4c]
mov ecx, dword [esi + eax]
mov eax, dword [ebx + 0x1f0]
mov dword [ecx + 0x130], eax
mov eax, dword [0x10120b4c]
mov eax, dword [esi + eax]
mov dword [eax + 0x144], 0
mov eax, dword [0x10120b4c]
mov eax, dword [esi + eax]
mov dword [eax + 0x138], 0
mov eax, dword [0x10120c0c]
add eax, 0xffffffca
xor eax, 0xc1370490
or dword [eax + esi], 1
test byte [ebx + 0x24], 1
jne 0x100235bb
movss xmm0, dword [ebx + 0x1c0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100235bb
movss xmm0, dword [ebx + 0x1c8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100235bb
mov ecx, dword [0x10120b6c]
mov eax, dword [0x10120b08]
mov edi, dword [ebx + 0x1b8]
mov dword [ebp - 0x10], eax
cmp dword [esi + ecx], 0
jne 0x10023549
mov eax, dword [0x10120ae4]
mov ecx, esi
call eax
mov ecx, dword [0x10120b6c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + ecx]
mov edx, edi
call eax
cmp eax, 0x3d9
jne 0x100235bb
mov ecx, dword [ebp - 0x14]
movss xmm0, dword [ebx + 0x1cc]
movss xmm1, dword [ecx + 0x1cc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10023581
mov eax, dword [ecx + 0x1b8]
cmp eax, dword [ebx + 0x1b8]
je 0x100235bb
comiss xmm1, xmm0
jbe 0x100235bb
mov eax, dword [0x10120cac]
add eax, 0xffffffa2
xor eax, 0xc13704b8
mov dword [eax + esi + 0x18], 0
movss xmm0, dword [ebx + 0x1cc]
divss xmm0, dword [ebx + 0x1c8]
mov eax, dword [0x10120b68]
mov eax, dword [esi + eax]
movss dword [eax + 0x110], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100217c0
int3