Function at 0x10159730
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 0x10275138
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x103230ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
cmp byte [0x103a6a10], 0
je 0x10159ea0
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x138]
mov eax, dword [0x103fd88c]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x101598f5
or eax, 1
mov dword [0x103fd88c], eax
mov dword [ebp - 4], 0
mov eax, dword [0x103bf630]
mov dword [ebp - 0x20], eax
cmp eax, dword [0x103bf634]
je 0x1015980c
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x101597fe
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101597d5
xor edx, edx
test ecx, ecx
je 0x101597fe
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101597e2
cmp edi, 0xf2f193b3
je 0x10159822
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [0x103bf634]
jne 0x101597c2
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x103fd89c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101598fa
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [eax + 4], edi
jle 0x101598c8
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 0x10159874
cmp dword [ecx + 4], 0
jle 0x10159874
push 0
mov edx, 0x8aaa98fc
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10159871
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 0x10159880
xor edx, edx
test ecx, ecx
je 0x101598ac
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10159890
cmp edi, 0x8aaa98fc
je 0x101598db
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 0x10159840
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x103fd89c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101598fa
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x1c]
mov dword [0x103fd89c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101598fa
mov eax, dword [0x103fd89c]
movss xmm0, dword [eax + ecx]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x10159ea0
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x138]
mov eax, dword [0x103fd8b0]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x10159a85
or eax, 1
mov dword [0x103fd8b0], eax
mov dword [ebp - 4], 1
mov eax, dword [0x103bf630]
mov dword [ebp - 0x24], eax
cmp eax, dword [0x103bf634]
je 0x1015999d
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1015998f
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10159966
xor edx, edx
test ecx, ecx
je 0x1015998f
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10159973
cmp edi, 0xf2f193b3
je 0x101599b3
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, dword [0x103bf634]
jne 0x10159953
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x103fd890], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10159a8a
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
cmp dword [eax + 4], edi
jle 0x10159a58
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 0x10159a04
cmp dword [ecx + 4], 0
jle 0x10159a04
push 0
mov edx, 0xb643ff6c
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10159a01
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 0x10159a10
xor edx, edx
test ecx, ecx
je 0x10159a3c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10159a20
cmp edi, 0xb643ff6c
je 0x10159a6b
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 0x101599d0
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x103fd890], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10159a8a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x103fd890], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10159a8a
mov eax, dword [0x103fd890]
movss xmm0, dword [ecx + eax]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x10159ea0
mov eax, dword [0x10c0dd38]
add eax, 0x6153321e
mov byte [ebp - 0x11], 1
xor eax, 0xf66471cc
cmp byte [eax + 0x1c], 0
jne 0x10159acf
cmp byte [eax + 0x1d], 0
je 0x10159acf
cmp dword [eax + 0x20], 0
jg 0x10159acf
cmp dword [eax + 4], 0
jne 0x10159acf
cmp dword [eax + 0x44], 2
setg byte [ebp - 0x11]
mov ecx, dword [ebp - 0x34]
lea esi, [ebp - 0x88]
mov eax, dword [0x1040e29c]
mov dword [ebp - 0x84], ecx
add eax, 0x6d021181
lea ecx, [ebp - 0x12]
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x80], ecx
xor eax, 0x9a51fc9e
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], 0x1030b62c
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 0x10159b52
push 0
mov ecx, esi
call fcn.10168280
jmp 0x10159d32
mov edx, dword [0x103c3b94]
mov eax, dword [ebp - 0x20]
nop dword [eax + eax]
mov edi, dword [edi + 8]
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x10159d07
mov ecx, dword [0x10c0dd10]
add ecx, 0x72c821ae
xor ecx, 0x43f50f5d
mov eax, dword [ecx + 0x134]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x10159d04
test eax, eax
je 0x10159ce5
mov ecx, dword [ecx + 0x184]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x10159ce5
mov ecx, dword [0x103c3bdc]
test cl, 1
jne 0x10159c47
or ecx, 1
mov dword [0x103c3bdc], ecx
mov byte [ebp - 4], 3
mov edi, dword [0x103bf630]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x103bf634]
je 0x10159c32
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10159c24
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10159bf0
xor edx, edx
test ecx, ecx
je 0x10159c24
mov edi, eax
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10159c00
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x10159eb4
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x103bf634]
jne 0x10159bd8
xor edx, edx
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov ecx, dword [0x103c3bdc]
mov dword [0x103c3b94], edx
mov eax, dword [edi + edx]
mov dword [ebp - 0x38], eax
test cl, 1
jne 0x10159cda
or ecx, 1
mov dword [0x103c3bdc], ecx
mov byte [ebp - 4], 4
mov edi, dword [0x103bf630]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x103bf634]
je 0x10159cc8
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10159cba
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
inc ecx
cmp byte [ecx + esi], 0
jne 0x10159c87
xor edx, edx
test ecx, ecx
je 0x10159cba
mov edi, eax
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10159c96
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x10159f6d
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x103bf634]
jne 0x10159c74
xor edx, edx
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
mov dword [0x103c3b94], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x64]
cmp eax, dword [ecx + edx]
je 0x10159d04
mov dword [ebp - 0x3c], edi
test esi, esi
je 0x1015a01b
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [0x103c3b94]
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 0x10159b60
test esi, esi
je 0x10159d32
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 0x10159ea0
cmp dword [ebp - 0x4c], 0
je 0x10159ea0
fld dword [ebp - 0x58]
fld dword [0x1030bb34]
call fcn.102627a0
movss xmm1, dword [0x1030bb34]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x1030bae8]
jbe 0x10159d71
subss xmm0, xmm1
movss xmm2, dword [0x1030bc60]
comiss xmm2, xmm0
jbe 0x10159d82
addss xmm0, xmm1
fld dword [ebp - 0x54]
fld dword [0x1030bb34]
movss dword [ebp - 0x48], xmm0
call fcn.102627a0
movss xmm1, dword [0x1030bb34]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x1030bae8]
jbe 0x10159db2
subss xmm0, xmm1
movss xmm2, dword [0x1030bc60]
comiss xmm2, xmm0
jbe 0x10159dc3
addss xmm0, xmm1
fld dword [ebp - 0x50]
fld dword [0x1030bb34]
movss dword [ebp - 0x44], xmm0
call fcn.102627a0
movss xmm1, dword [0x1030bb34]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x1030bae8]
jbe 0x10159df3
subss xmm0, xmm1
movss xmm2, dword [0x1030bc60]
comiss xmm2, xmm0
jbe 0x10159e04
addss xmm0, xmm1
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
movss dword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x48]
xor eax, 0x43f50f5d
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 0x10159e77
mov edx, dword [0x10c0dd10]
add edx, 0x72c821ae
xor edx, 0x43f50f5d
cmp byte [edx + 5], 0
jne 0x10159e77
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 [0x1030b7fc]
cvttss2si ecx, xmm0
mov dword [eax + 8], ecx
mov eax, dword [0x10c0dd10]
mov edx, 0x800
add eax, 0x72c821ae
xor eax, 0x43f50f5d
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 0x10159f58
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 0x10159f04
cmp dword [ecx + 4], 0
jle 0x10159f04
push 0
mov edx, 0xa5bfefb3
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10159f01
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 0x10159f10
xor edx, edx
test ecx, ecx
je 0x10159f3c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10159f20
cmp edi, 0xa5bfefb3
je 0x10159f5f
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 0x10159ed0
mov edx, edi
jmp 0x10159c34
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x10159c34
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 0x1015a006
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 0x10159fbc
cmp dword [ecx + 4], 0
jle 0x10159fbc
push 0
mov edx, 0xa5bfefb3
call fcn.1013c990
add esp, 4
test eax, eax
je 0x10159fb9
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 0x10159fc5
xor edx, edx
test ecx, ecx
je 0x10159fee
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10159fd2
cmp edi, 0xa5bfefb3
je 0x1015a00d
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 0x10159f88
mov edx, edi
jmp 0x10159cca
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x10159cca
call fcn.10233774
int3