Function at 0x1007bae0
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 0x100bcb2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x100fc068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], ecx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa0], eax
cmp eax, dword [ecx + 8]
je 0x1007c125
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jge 0x1007c125
xorps xmm0, xmm0
xor esi, esi
mov edi, 0xf
mov dword [ebp - 0x38], esi
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x48], 0
push 0x38
lea eax, [ebp - 0x80]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.10093c30
xorps xmm0, xmm0
mov dword [ebp - 0x80], esi
add esp, 0xc
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], esi
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x4c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xa0]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebx + 0xc], eax
cmovl eax, dword [ebx + 0xc]
xor edx, edx
test eax, eax
cmovg edx, eax
mov eax, dword [ebx + 8]
cmp eax, edx
jge 0x1007be0c
lea ecx, [eax + eax*2]
shl ecx, 2
sub edx, eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa8], edx
nop word [eax + eax]
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 4]
add eax, ecx
mov dword [ebp - 0x9c], eax
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ecx
je 0x1007bdee
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, esi
ja 0x1007bc47
cmp edi, 0x10
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
mov byte [eax + ecx], 0
jmp 0x1007bc89
mov edx, dword [ebp - 0x34]
mov edi, ecx
mov eax, edx
sub edi, esi
sub eax, esi
cmp edi, eax
ja 0x1007bc77
cmp edx, 0x10
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push edi
add esi, eax
push 0
push esi
call fcn.10093c30
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1007bc89
push 0
push edi
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x48]
push edi
call fcn.1001b970
mov ecx, dword [ebp - 0x9c]
xor esi, esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x98], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1007bcfd
xor edi, edi
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x98]
lea edi, [edi + 0xc]
cmovae eax, dword [ebp - 0x48]
mov cl, byte [edx + edi - 0xc]
mov byte [eax + esi], cl
inc esi
mov ecx, dword [ebp - 0x9c]
mov dword [edx + edi - 8], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x98], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x1007bcb2
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
mov esi, dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
mov edi, eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa4], edi
lea ecx, [esi + eax]
mov dword [ebp - 0x98], ecx
cmp eax, ecx
je 0x1007bde5
nop word [eax + eax]
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x18], 0
mov eax, dword [esi + 0x1cc]
test eax, eax
je 0x1007bd82
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x84]
push edx
push ecx
push edi
call eax
add esp, 0x14
test al, al
jne 0x1007beb3
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
mov esi, dword [esi + 0x1e0]
mov eax, dword [eax + 0x1e4]
mov dword [ebp - 0x94], eax
cmp esi, eax
je 0x1007bdcd
nop
push edi
push 0x40
lea eax, [ebp - 0x80]
mov edx, ecx
push esi
push eax
mov ecx, edi
call fcn.10034590
add esp, 0x10
test al, al
jne 0x1007be93
mov ecx, dword [ebp - 0x98]
add esi, 0x18
cmp esi, dword [ebp - 0x94]
jne 0x1007bda0
inc edi
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa4], edi
cmp edi, ecx
jne 0x1007bd30
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xa0]
add ecx, 0xc
sub edx, 1
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa8], edx
jne 0x1007bc00
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x1007be42
mov edx, dword [ebp - 0x30]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007be38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007c145
push ecx
push edx
call fcn.10090935
add esp, 8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1007db50
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1007c125
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007c11b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007c145
jmp 0x1007c11b
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov dword [ebp - 0x84], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x14]
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
sub edi, eax
cmp dword [ebp - 0x18], 7
mov dword [ebp - 0x94], edi
jne 0x1007c0df
push edi
push eax
lea ecx, [ebp - 0x30]
call fcn.10019a40
cmp byte [esi + 0x1dc], 0
mov edi, dword [ebp - 0x20]
jne 0x1007bf35
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x30]
cmovae eax, ecx
lea esi, [ebp - 0x30]
cmovae edx, ecx
add eax, edi
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x8c], eax
cmovae esi, ecx
cmp esi, eax
je 0x1007bf2f
sub edx, esi
mov edi, edx
movsx eax, byte [esi]
push eax
call fcn.100958cf
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x8c]
jne 0x1007bf14
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x90]
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xac]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
test byte [eax + ecx*4 + 8], 4
mov ecx, 0x811c9dc5
jne 0x1007c085
cmp dword [ebp - 0x1c], 0x10
lea eax, [esi + 0x120]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
cmovae esi, dword [ebp - 0x30]
xor edx, edx
test edi, edi
je 0x1007bf97
nop dword [eax]
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x1007bf80
mov eax, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.1001e750
cmp dword [eax + 4], 0
je 0x1007bfbc
mov dword [ebp - 0x18], 1
jmp 0x1007c0d9
mov eax, dword [ebp - 0x90]
lea esi, [ebp - 0x30]
add eax, 0x140
mov ecx, 0x811c9dc5
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x8c], eax
cmovae esi, dword [ebp - 0x30]
xor edx, edx
test edi, edi
je 0x1007bffa
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x1007bfe3
mov eax, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.1001e750
cmp dword [eax + 4], 0
je 0x1007c01f
mov dword [ebp - 0x18], 8
jmp 0x1007c0d9
mov eax, dword [ebp - 0x90]
lea esi, [ebp - 0x30]
add eax, 0x160
mov ecx, 0x811c9dc5
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x8c], eax
cmovae esi, dword [ebp - 0x30]
xor edx, edx
test edi, edi
je 0x1007c05d
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x1007c046
mov eax, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, eax
call fcn.1001e750
mov edi, dword [ebp - 0x94]
cmp dword [eax + 4], 0
je 0x1007c0df
mov dword [ebp - 0x18], 9
jmp 0x1007c0df
cmp dword [ebp - 0x1c], 0x10
lea eax, [esi + 0x160]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x8c], eax
cmovae esi, dword [ebp - 0x30]
xor edx, edx
test edi, edi
je 0x1007c0b9
movzx eax, byte [edx + esi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x1007c0a2
mov eax, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.1001e750
cmp dword [eax + 4], 0
je 0x1007c0d9
mov dword [ebp - 0x18], 9
mov edi, dword [ebp - 0x94]
test edi, edi
je 0x1007c110
mov esi, dword [ebp - 0xac]
neg esi
nop dword [eax + eax]
mov eax, dword [ebp - 0x84]
add eax, esi
inc esi
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4 + 4], eax
sub edi, 1
jne 0x1007c0f0
mov edi, dword [ebp - 0x88]
jmp 0x1007bdce
push ecx
push edx
call fcn.10090935
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100902f6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1009f4b4
int3