Function at 0x101589c0
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 0x10231a38
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x102d5080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
cmp byte [0x103589a0], 0
je 0x10159130
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x138]
mov eax, dword [0x103af1e0]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x10158b85
or eax, 1
mov dword [0x103af1e0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x10371278]
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1037127c]
je 0x10158a9c
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10158a8e
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10158a65
xor edx, edx
test ecx, ecx
je 0x10158a8e
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10158a72
cmp edi, 0xf2f193b3
je 0x10158ab2
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1037127c]
jne 0x10158a52
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x103af1f0], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10158b8a
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [eax + 4], edi
jle 0x10158b58
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10158b04
cmp dword [ecx + 4], 0
jle 0x10158b04
push 0
mov edx, 0x8aaa98fc
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10158b01
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10158b10
xor edx, edx
test ecx, ecx
je 0x10158b3c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10158b20
cmp edi, 0x8aaa98fc
je 0x10158b6b
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
inc edx
mov edi, dword [ebp - 0x1c]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [eax + 4]
jl 0x10158ad0
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x103af1f0], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10158b8a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x1c]
mov dword [0x103af1f0], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10158b8a
mov eax, dword [0x103af1f0]
movss xmm0, dword [eax + ecx]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x10159130
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x138]
mov eax, dword [0x103af208]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x10158d15
or eax, 1
mov dword [0x103af208], eax
mov dword [ebp - 4], 1
mov eax, dword [0x10371278]
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1037127c]
je 0x10158c2d
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10158c1f
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10158bf6
xor edx, edx
test ecx, ecx
je 0x10158c1f
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10158c03
cmp edi, 0xf2f193b3
je 0x10158c43
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1037127c]
jne 0x10158be3
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x103af1e4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10158d1a
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
cmp dword [eax + 4], edi
jle 0x10158ce8
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10158c94
cmp dword [ecx + 4], 0
jle 0x10158c94
push 0
mov edx, 0xb643ff6c
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10158c91
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10158ca0
xor edx, edx
test ecx, ecx
je 0x10158ccc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10158cb0
cmp edi, 0xb643ff6c
je 0x10158cfb
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
inc edx
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10158c60
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x103af1e4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10158d1a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x103af1e4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10158d1a
mov eax, dword [0x103af1e4]
movss xmm0, dword [ecx + eax]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x10159130
mov eax, dword [0x10bbf268]
add eax, 0x9ab0a510
mov byte [ebp - 0x11], 1
xor eax, 0x83ea5eeb
cmp byte [eax + 0x1c], 0
jne 0x10158d5f
cmp byte [eax + 0x1d], 0
je 0x10158d5f
cmp dword [eax + 0x20], 0
jg 0x10158d5f
cmp dword [eax + 4], 0
jne 0x10158d5f
cmp dword [eax + 0x44], 2
setg byte [ebp - 0x11]
mov ecx, dword [ebp - 0x34]
lea esi, [ebp - 0x88]
mov eax, dword [0x103bfbf4]
mov dword [ebp - 0x84], ecx
add eax, 0xa0c98075
lea ecx, [ebp - 0x12]
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x80], ecx
xor eax, 0x1d0deff2
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x88], 0x102bd564
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 4], 2
mov edx, dword [eax + 8]
mov edi, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x30], edi
cmp edi, edx
jne 0x10158de2
push 0
mov ecx, esi
call fcn.10167570
jmp 0x10158fc2
mov edx, dword [0x103754f4]
mov eax, dword [ebp - 0x20]
nop dword [eax + eax]
mov edi, dword [edi + 8]
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x10158f97
mov ecx, dword [0x10bbf240]
add ecx, 0xaff3cc8c
xor ecx, 0x3743f7af
mov eax, dword [ecx + 0x134]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x10158f94
test eax, eax
je 0x10158f75
mov ecx, dword [ecx + 0x184]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x10158f75
mov ecx, dword [0x1037553c]
test cl, 1
jne 0x10158ed7
or ecx, 1
mov dword [0x1037553c], ecx
mov byte [ebp - 4], 3
mov edi, dword [0x10371278]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1037127c]
je 0x10158ec2
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10158eb4
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10158e80
xor edx, edx
test ecx, ecx
je 0x10158eb4
mov edi, eax
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10158e90
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x10159144
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1037127c]
jne 0x10158e68
xor edx, edx
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov ecx, dword [0x1037553c]
mov dword [0x103754f4], edx
mov eax, dword [edi + edx]
mov dword [ebp - 0x38], eax
test cl, 1
jne 0x10158f6a
or ecx, 1
mov dword [0x1037553c], ecx
mov byte [ebp - 4], 4
mov edi, dword [0x10371278]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1037127c]
je 0x10158f58
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10158f4a
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
inc ecx
cmp byte [ecx + esi], 0
jne 0x10158f17
xor edx, edx
test ecx, ecx
je 0x10158f4a
mov edi, eax
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10158f26
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x101591fd
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1037127c]
jne 0x10158f04
xor edx, edx
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
mov dword [0x103754f4], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x64]
cmp eax, dword [ecx + edx]
je 0x10158f94
mov dword [ebp - 0x3c], edi
test esi, esi
je 0x101592ab
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [0x103754f4]
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x30]
add edi, 0xc
mov dword [ebp - 0x30], edi
cmp edi, eax
jne 0x10158df0
test esi, esi
je 0x10158fc2
mov edx, dword [esi]
lea eax, [ebp - 0x88]
cmp esi, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp byte [ebp - 0x11], 0
je 0x10159130
cmp dword [ebp - 0x4c], 0
je 0x10159130
fld dword [ebp - 0x58]
fld dword [0x102bda6c]
call fcn.1021f3d0
movss xmm1, dword [0x102bda6c]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x102bda24]
jbe 0x10159001
subss xmm0, xmm1
movss xmm2, dword [0x102bdb98]
comiss xmm2, xmm0
jbe 0x10159012
addss xmm0, xmm1
fld dword [ebp - 0x54]
fld dword [0x102bda6c]
movss dword [ebp - 0x48], xmm0
call fcn.1021f3d0
movss xmm1, dword [0x102bda6c]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x102bda24]
jbe 0x10159042
subss xmm0, xmm1
movss xmm2, dword [0x102bdb98]
comiss xmm2, xmm0
jbe 0x10159053
addss xmm0, xmm1
fld dword [ebp - 0x50]
fld dword [0x102bda6c]
movss dword [ebp - 0x44], xmm0
call fcn.1021f3d0
movss xmm1, dword [0x102bda6c]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x102bda24]
jbe 0x10159083
subss xmm0, xmm1
movss xmm2, dword [0x102bdb98]
comiss xmm2, xmm0
jbe 0x10159094
addss xmm0, xmm1
mov eax, dword [0x10bbf240]
add eax, 0xaff3cc8c
movss dword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x48]
xor eax, 0x3743f7af
mov ecx, dword [eax + 0x140]
mov eax, dword [ebp - 0x40]
movq qword [ecx + 0xc], xmm0
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x10159107
mov edx, dword [0x10bbf240]
add edx, 0xaff3cc8c
xor edx, 0x3743f7af
cmp byte [edx + 5], 0
jne 0x10159107
movss xmm0, dword [edx + 0x38]
addss xmm0, dword [ecx + 0x28]
mov eax, dword [edx + 0xf0]
divss xmm0, dword [eax + 0x20]
mov eax, dword [edx + 0x140]
addss xmm0, dword [0x102bd73c]
cvttss2si ecx, xmm0
mov dword [eax + 8], ecx
mov eax, dword [0x10bbf240]
mov edx, 0x800
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
cmp byte [ebp - 0x12], 0
mov ecx, dword [eax + 0x140]
mov eax, 1
cmovne eax, edx
or dword [ecx + 0x30], eax
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 edx, dword [ebp - 0x28]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
cmp dword [edx + 4], eax
jle 0x101591e8
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop
mov esi, dword [edx]
add esi, ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10159194
cmp dword [ecx + 4], 0
jle 0x10159194
push 0
mov edx, 0xa5bfefb3
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10159191
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x101591a0
xor edx, edx
test ecx, ecx
je 0x101591cc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101591b0
cmp edi, 0xa5bfefb3
je 0x101591ef
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
inc eax
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
cmp eax, dword [edx + 4]
jl 0x10159160
mov edx, edi
jmp 0x10158ec4
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x10158ec4
mov edx, dword [ebp - 0x24]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
cmp dword [edx + 4], eax
jle 0x10159296
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov esi, dword [edx]
add esi, ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1015924c
cmp dword [ecx + 4], 0
jle 0x1015924c
push 0
mov edx, 0xa5bfefb3
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x10159249
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10159255
xor edx, edx
test ecx, ecx
je 0x1015927e
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10159262
cmp edi, 0xa5bfefb3
je 0x1015929d
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
inc eax
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ecx
cmp eax, dword [edx + 4]
jl 0x10159218
mov edx, edi
jmp 0x10158f5a
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x10158f5a
call fcn.101f1ed9
int3