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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012138d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1013a0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x101a01dc]
test al, 1
jne 0x1010b418
or eax, 1
mov dword [0x101a01dc], eax
mov eax, dword [0x101835b0]
mov ebx, dword [eax + 0x30]
jmp 0x1010b40c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1010b3e0
xor edx, edx
test ecx, ecx
je 0x1010b409
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1010b3f0
cmp esi, 0x90f473ab
je 0x1010b410
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1010b3d6
mov dword [0x101a01e0], ebx
jmp 0x1010b41e
mov ebx, dword [0x101a01e0]
cmp byte [0x10142a9c], 0
je 0x1010b448
mov ecx, dword [0x10183824]
mov eax, dword [0x1013a144]
add ecx, 0xffffffb8
xor ecx, 0x9d1bdbfc
cmp byte [ecx + eax], 0
jne 0x1010b448
mov ecx, 3
jmp 0x1010b44a
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x1014b6d8], 0
je 0x1010bbdf
mov eax, dword [0x10183610]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x10188c90]
ja 0x1010bbdf
movss xmm2, dword [0x10188c94]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x1010bbdf
subss xmm1, dword [0x10188c8c]
movss xmm0, dword [0x1012d6b4]
mov ecx, dword [0x101835c0]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
divss xmm1, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x1012d8dc]
cvttss2si eax, xmm0
mov byte [ebp - 0x29], al
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [0x1013a52c]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [0x1013a528]
cdq
sub eax, edx
sar esi, 1
mov edx, dword [ecx]
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x38], esi
lea edi, [esi + 6]
mov dword [ebp - 0x34], ebx
mov edx, dword [edx + 0x38]
lea esi, [ebx + 6]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x60], esi
call edx
mov ecx, dword [0x101835c0]
lea edx, [edi + 1]
push edx
lea esi, [ebx + 6]
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
push edi
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x101835c0]
lea esi, [ebx + 7]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x29], al
add edi, 7
mov eax, dword [ecx]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x64], esi
call eax
mov ecx, dword [0x101835c0]
lea edx, [edi + 1]
push edx
lea esi, [ebx + 7]
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
push edi
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x101835c0]
lea esi, [ebx + 8]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x29], al
add edi, 8
mov eax, dword [ecx]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x68], esi
call eax
mov ecx, dword [0x101835c0]
lea edx, [edi + 1]
push edx
lea esi, [ebx + 8]
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
push edi
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x101835c0]
lea esi, [ebx + 9]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x29], al
add edi, 9
mov eax, dword [ecx]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x48], esi
call eax
mov ecx, dword [0x101835c0]
lea edx, [edi + 1]
push edx
lea esi, [ebx + 9]
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
push edi
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x101835c0]
lea esi, [ebx + 0xa]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x29], al
add edi, 0xa
mov eax, dword [ecx]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x40], esi
call eax
mov ecx, dword [0x101835c0]
lea edx, [edi + 1]
push edx
lea esi, [ebx + 0xa]
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
push edi
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x101835c0]
add ebx, 0xfffffffa
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov byte [ebp - 0x29], al
add edi, 0xfffffffa
mov eax, dword [ecx]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
lea esi, [edi + 1]
push esi
lea edx, [ebx + 1]
push edx
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0x40]
push ebx
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
add edi, 0xfffffff9
mov byte [ebp - 0x29], al
add ebx, 0xfffffff9
mov eax, dword [ecx]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
lea esi, [edi + 1]
push esi
lea edx, [ebx + 1]
push edx
mov eax, dword [ecx]
push edi
push ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
add edi, 0xfffffff8
mov byte [ebp - 0x29], al
add esi, 0xfffffff8
mov eax, dword [ecx]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
lea edx, [edi + 1]
push edx
lea ebx, [esi + 1]
push ebx
mov eax, dword [ecx]
push edi
push esi
mov dword [ebp - 0x58], ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
add esi, 0xfffffff7
mov byte [ebp - 0x29], al
mov eax, dword [ecx]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
lea edx, [ebx - 8]
push edx
lea edi, [esi + 1]
push edi
mov eax, dword [ecx]
lea edx, [ebx - 9]
push edx
push esi
mov eax, dword [eax + 0x40]
call eax
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov ecx, dword [0x101835c0]
add esi, 0xfffffff7
mov byte [ebp - 0x29], al
lea eax, [ebx - 0xa]
mov word [ebp - 0x2c], 0xc8c8
mov byte [ebp - 0x2a], 0xc8
mov dword [ebp - 0x44], eax
mov eax, dword [ecx]
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
mov edx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x34]
inc edx
push edx
mov eax, dword [ecx]
push esi
push dword [ebp - 0x44]
lea edx, [ebx - 0xa]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
lea edx, [ebx - 5]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x4c]
inc ecx
push ecx
mov eax, dword [eax + 0x40]
mov ecx, dword [0x101835c0]
push edx
push dword [ebp - 0x4c]
mov edx, ebx
add edx, 0xfffffffa
push edx
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
mov edx, ebx
add edx, 0xfffffffa
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x50]
inc ecx
push ecx
mov eax, dword [eax + 0x40]
mov ecx, dword [0x101835c0]
push edx
push dword [ebp - 0x50]
mov edx, ebx
add edx, 0xfffffff9
push edx
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
mov edx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x58]
inc edx
push edx
mov eax, dword [ecx]
push ebx
push dword [ebp - 0x54]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff8
push edx
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
inc edx
push edx
mov eax, dword [ecx]
push edi
push dword [ebp - 0x3c]
lea edx, [ebx - 9]
mov eax, dword [eax + 0x40]
push edx
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov edi, dword [ebp - 0x5c]
mov ecx, dword [0x101835c0]
lea edx, [edi + 1]
mov eax, dword [ecx]
push edx
push esi
push edi
mov eax, dword [eax + 0x40]
lea edx, [ebx - 0xa]
push edx
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x60]
mov ecx, dword [0x101835c0]
lea esi, [edi - 6]
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
lea edx, [ebx + 1]
push edx
mov eax, dword [eax + 0x40]
push esi
push ebx
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x101835c0]
lea esi, [edi - 7]
lea edx, [esi + 1]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov ebx, dword [ebp - 0x64]
push edx
lea edx, [ebx + 1]
push edx
push esi
push ebx
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ebx, dword [ebp - 0x68]
lea esi, [edi - 8]
mov ecx, dword [0x101835c0]
lea edx, [esi + 1]
push edx
lea edx, [ebx + 1]
mov eax, dword [ecx]
push edx
push esi
push ebx
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov esi, dword [ebp - 0x48]
lea ebx, [edi - 9]
mov ecx, dword [0x101835c0]
lea edx, [ebx + 1]
push edx
lea edx, [esi + 1]
mov eax, dword [ecx]
push edx
push ebx
push esi
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [0x101835c0]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x29], al
mov word [ebp - 0x2c], 0xc8c8
mov eax, dword [ecx]
mov byte [ebp - 0x2a], 0xc8
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
call eax
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
mov ecx, dword [0x101835c0]
lea edx, [ebx + 1]
push edx
mov eax, dword [ecx]
lea edx, [esi + 1]
push edx
push ebx
push esi
mov eax, dword [eax + 0x40]
call eax
push 0x101842b0
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0xa6925
lea ecx, [ebp - 0x28]
call fcn.10114620
add esp, 4
mov dword [ebp - 4], 0
mov ebx, 1
mov eax, dword [0x10183610]
cmp dword [eax + 0x18], ebx
jl 0x1010bba9
nop dword [eax + eax]
mov ecx, dword [0x101835b8]
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, 0x101842dc
mov ecx, 0x101842c4
call fcn.10105900
test al, al
je 0x1010bb9a
mov edx, 0x101842e4
mov ecx, 0x101842d0
call fcn.10105900
test al, al
je 0x1010bb9a
movss xmm3, dword [0x101842e0]
movaps xmm0, xmm3
subss xmm0, dword [0x101842e8]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
subss xmm3, xmm2
mulss xmm0, dword [0x1012d64c]
cvttss2si ecx, xmm0
movss xmm0, dword [0x101842dc]
mov dword [ebp - 0x40], ecx
cvttss2si edi, xmm3
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1012d64c]
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x3c], eax
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
mov al, byte [0x101842b5]
sar esi, 1
test al, al
jne 0x1010bb22
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push 2
push eax
mov ecx, edi
sub ecx, dword [0x10186108]
sub ecx, 0xa
push ecx
mov eax, esp
push ecx
mov ecx, 0x10186124
mov word [eax], 0xff
mov byte [eax + 2], 0
mov byte [eax + 3], dl
cvttss2si eax, xmm0
add eax, esi
push eax
call fcn.10106050
mov al, byte [0x101842b5]
cmp al, 1
jne 0x1010bb68
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
mov ecx, edi
sub ecx, dword [0x10186108]
push 2
push eax
sub ecx, 0xa
push ecx
mov eax, esp
mov word [eax], 0xff
mov byte [eax + 2], 0
mov byte [eax + 3], dl
mov eax, dword [ebp - 0x40]
mov esi, eax
test esi, esi
jns 0x1010bb55
add esi, 1
sar esi, 1
mov eax, dword [ebp - 0x3c]
push ecx
add eax, esi
mov ecx, 0x10186124
push eax
call fcn.10106050
sub edi, dword [0x10186108]
lea eax, [ebp - 0x28]
push 2
push eax
push ecx
mov ecx, dword [ebp - 0x30]
mov eax, esp
sub edi, 0xa
push edi
mov byte [eax + 3], cl
mov ecx, 0x10186124
mov word [eax], 0xff
mov byte [eax + 2], 0
mov eax, dword [ebp - 0x3c]
add eax, esi
push eax
call fcn.10106050
mov eax, dword [0x10183610]
inc ebx
cmp ebx, dword [eax + 0x18]
jle 0x1010ba40
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1010bbdf
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010bbd5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010bbd5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10115831
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101153b6
mov esp, ebp
pop ebp
ret