Function at 0x10155bb0
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 0x1022eb18
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x102d2084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
cmp byte [0x10354c30], 0
je 0x10156320
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x138]
mov eax, dword [0x103aaba4]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x10155d75
or eax, 1
mov dword [0x103aaba4], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1036cbb0]
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1036cbb4]
je 0x10155c8c
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10155c7e
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10155c55
xor edx, edx
test ecx, ecx
je 0x10155c7e
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10155c62
cmp edi, 0xf2f193b3
je 0x10155ca2
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1036cbb4]
jne 0x10155c42
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x103aabb4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10155d7a
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [eax + 4], edi
jle 0x10155d48
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 0x10155cf4
cmp dword [ecx + 4], 0
jle 0x10155cf4
push 0
mov edx, 0x8aaa98fc
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10155cf1
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 0x10155d00
xor edx, edx
test ecx, ecx
je 0x10155d2c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10155d10
cmp edi, 0x8aaa98fc
je 0x10155d5b
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 0x10155cc0
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x103aabb4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10155d7a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x1c]
mov dword [0x103aabb4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10155d7a
mov eax, dword [0x103aabb4]
movss xmm0, dword [eax + ecx]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x10156320
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x138]
mov eax, dword [0x103aabc8]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x10155f05
or eax, 1
mov dword [0x103aabc8], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1036cbb0]
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1036cbb4]
je 0x10155e1d
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10155e0f
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10155de6
xor edx, edx
test ecx, ecx
je 0x10155e0f
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10155df3
cmp edi, 0xf2f193b3
je 0x10155e33
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1036cbb4]
jne 0x10155dd3
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x103aaba8], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10155f0a
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
cmp dword [eax + 4], edi
jle 0x10155ed8
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 0x10155e84
cmp dword [ecx + 4], 0
jle 0x10155e84
push 0
mov edx, 0xb643ff6c
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10155e81
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 0x10155e90
xor edx, edx
test ecx, ecx
je 0x10155ebc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10155ea0
cmp edi, 0xb643ff6c
je 0x10155eeb
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 0x10155e50
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x103aaba8], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10155f0a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x103aaba8], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10155f0a
mov eax, dword [0x103aaba8]
movss xmm0, dword [ecx + eax]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x10156320
mov eax, dword [0x10bbb648]
add eax, 0x48e22c6a
mov byte [ebp - 0x11], 1
xor eax, 0xfd491cfd
cmp byte [eax + 0x1c], 0
jne 0x10155f4f
cmp byte [eax + 0x1d], 0
je 0x10155f4f
cmp dword [eax + 0x20], 0
jg 0x10155f4f
cmp dword [eax + 4], 0
jne 0x10155f4f
cmp dword [eax + 0x44], 2
setg byte [ebp - 0x11]
mov ecx, dword [ebp - 0x34]
lea esi, [ebp - 0x88]
mov eax, dword [0x103bb5ac]
mov dword [ebp - 0x84], ecx
add eax, 0x1063aecf
lea ecx, [ebp - 0x12]
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x80], ecx
xor eax, 0xd952f2b3
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], 0x102ba56c
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 0x10155fd2
push 0
mov ecx, esi
call fcn.10164480
jmp 0x101561b2
mov edx, dword [0x10370f34]
mov eax, dword [ebp - 0x20]
nop dword [eax + eax]
mov edi, dword [edi + 8]
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x10156187
mov ecx, dword [0x10bbb620]
add ecx, 0x91761abb
xor ecx, 0xfd410b50
mov eax, dword [ecx + 0x134]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x10156184
test eax, eax
je 0x10156165
mov ecx, dword [ecx + 0x184]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x10156165
mov ecx, dword [0x10370f7c]
test cl, 1
jne 0x101560c7
or ecx, 1
mov dword [0x10370f7c], ecx
mov byte [ebp - 4], 3
mov edi, dword [0x1036cbb0]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1036cbb4]
je 0x101560b2
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x101560a4
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10156070
xor edx, edx
test ecx, ecx
je 0x101560a4
mov edi, eax
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10156080
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x10156334
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1036cbb4]
jne 0x10156058
xor edx, edx
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov ecx, dword [0x10370f7c]
mov dword [0x10370f34], edx
mov eax, dword [edi + edx]
mov dword [ebp - 0x38], eax
test cl, 1
jne 0x1015615a
or ecx, 1
mov dword [0x10370f7c], ecx
mov byte [ebp - 4], 4
mov edi, dword [0x1036cbb0]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1036cbb4]
je 0x10156148
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1015613a
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
inc ecx
cmp byte [ecx + esi], 0
jne 0x10156107
xor edx, edx
test ecx, ecx
je 0x1015613a
mov edi, eax
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10156116
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x101563ed
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1036cbb4]
jne 0x101560f4
xor edx, edx
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
mov dword [0x10370f34], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x64]
cmp eax, dword [ecx + edx]
je 0x10156184
mov dword [ebp - 0x3c], edi
test esi, esi
je 0x1015649b
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [0x10370f34]
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 0x10155fe0
test esi, esi
je 0x101561b2
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 0x10156320
cmp dword [ebp - 0x4c], 0
je 0x10156320
fld dword [ebp - 0x58]
fld dword [0x102baa78]
call fcn.1021c930
movss xmm1, dword [0x102baa78]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x102baa28]
jbe 0x101561f1
subss xmm0, xmm1
movss xmm2, dword [0x102baba0]
comiss xmm2, xmm0
jbe 0x10156202
addss xmm0, xmm1
fld dword [ebp - 0x54]
fld dword [0x102baa78]
movss dword [ebp - 0x48], xmm0
call fcn.1021c930
movss xmm1, dword [0x102baa78]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x102baa28]
jbe 0x10156232
subss xmm0, xmm1
movss xmm2, dword [0x102baba0]
comiss xmm2, xmm0
jbe 0x10156243
addss xmm0, xmm1
fld dword [ebp - 0x50]
fld dword [0x102baa78]
movss dword [ebp - 0x44], xmm0
call fcn.1021c930
movss xmm1, dword [0x102baa78]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x102baa28]
jbe 0x10156273
subss xmm0, xmm1
movss xmm2, dword [0x102baba0]
comiss xmm2, xmm0
jbe 0x10156284
addss xmm0, xmm1
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
movss dword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x48]
xor eax, 0xfd410b50
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 0x101562f7
mov edx, dword [0x10bbb620]
add edx, 0x91761abb
xor edx, 0xfd410b50
cmp byte [edx + 5], 0
jne 0x101562f7
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 [0x102ba73c]
cvttss2si ecx, xmm0
mov dword [eax + 8], ecx
mov eax, dword [0x10bbb620]
mov edx, 0x800
add eax, 0x91761abb
xor eax, 0xfd410b50
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 0x101563d8
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 0x10156384
cmp dword [ecx + 4], 0
jle 0x10156384
push 0
mov edx, 0xa5bfefb3
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10156381
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 0x10156390
xor edx, edx
test ecx, ecx
je 0x101563bc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101563a0
cmp edi, 0xa5bfefb3
je 0x101563df
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 0x10156350
mov edx, edi
jmp 0x101560b4
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x101560b4
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 0x10156486
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 0x1015643c
cmp dword [ecx + 4], 0
jle 0x1015643c
push 0
mov edx, 0xa5bfefb3
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10156439
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 0x10156445
xor edx, edx
test ecx, ecx
je 0x1015646e
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10156452
cmp edi, 0xa5bfefb3
je 0x1015648d
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 0x10156408
mov edx, edi
jmp 0x1015614a
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x1015614a
call fcn.101eed7e
int3