Function at 0x100588f0
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 0x100dc9a9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x10145040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10191c1c]
cmp eax, dword [0x10191c20]
je 0x10059015
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 8], eax
jge 0x10059015
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.100af4a0
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 byte [ebp - 4], 2
mov eax, 0x2aaaaaab
mov ecx, dword [0x10191c20]
sub ecx, dword [0x10191c1c]
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 0x10058d60
lea ecx, [eax + eax*2]
shl ecx, 2
sub edx, eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x11c], edx
nop dword [eax]
mov eax, dword [0x10191c1c]
add eax, ecx
mov dword [ebp - 0x114], eax
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ecx
je 0x10058d42
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, esi
ja 0x10058a43
cmp edi, 0xf
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x48]
cmova eax, dword [ebp - 0x48]
mov byte [eax + ecx], 0
jmp 0x10058a50
sub ecx, esi
push 0
push ecx
lea ecx, [ebp - 0x48]
call fcn.1005afb0
mov ecx, dword [ebp - 0x114]
xor esi, esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x110], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10058acb
xor edi, edi
nop dword [eax]
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x110]
lea edi, [edi + 0xc]
cmova eax, dword [ebp - 0x48]
mov cl, byte [edx + edi - 0xc]
mov byte [eax + esi], cl
inc esi
mov ecx, dword [ebp - 0x114]
mov dword [edx + edi - 8], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x110], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10058a80
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
mov esi, dword [ebp - 0x38]
cmova eax, dword [ebp - 0x48]
mov edi, eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x118], edi
lea ecx, [esi + eax]
mov dword [ebp - 0x124], ecx
cmp eax, ecx
je 0x10058d39
nop dword [eax + eax]
mov eax, dword [0x10191de4]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x18], 0
test eax, eax
je 0x10058b45
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x108]
push edx
lea edx, [ebp - 0x104]
push edx
push ecx
push edi
call eax
add esp, 0x14
test al, al
jne 0x10058e01
mov eax, dword [0x10191dfc]
mov esi, dword [0x10191df8]
mov dword [ebp - 0x110], eax
cmp esi, eax
je 0x10058d21
nop
cmp dword [esi], 0
je 0x10058d16
push 0x80
lea eax, [ebp - 0x100]
mov byte [ebp - 0x109], 0
push 0
push eax
call fcn.100af4a0
mov edx, dword [esi]
add esp, 0xc
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov edi, dword [ebp - 0x124]
mov byte [ebp - 4], 5
mov dword [ebp - 0xb0], edi
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x98], ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa0], 0x40
mov byte [ebp - 0x9c], 0
mov al, byte [edx + 8]
shr al, 3
and al, 1
mov byte [ebp - 0x94], al
lea eax, [esi + 4]
mov dword [ebp - 0x90], eax
push dword [edx + 0x18]
call fcn.1005f530
push ecx
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x100]
call fcn.1005f800
test al, al
je 0x10058cc8
cmp edi, dword [ebp - 0x68]
mov byte [ebp - 0x109], 1
mov dword [ebp - 0x80], edi
setne byte [ebp - 0x64]
mov dword [ebp - 0x6c], edi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.1005f460
lea ecx, [ebp - 0xcc]
call fcn.1005f460
lea ecx, [ebp - 0xdc]
call fcn.1005f5a0
lea ecx, [ebp - 0xec]
call fcn.1005f460
lea ecx, [ebp - 0xfc]
call fcn.1005f5a0
cmp byte [ebp - 0x109], 0
jne 0x10058de7
mov eax, dword [ebp - 0x110]
add esi, 0x18
cmp esi, eax
jne 0x10058b60
inc edi
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x118], edi
cmp edi, ecx
jne 0x10058b00
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x128]
add ecx, 0xc
sub edx, 1
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x11c], edx
jne 0x10058a00
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
jbe 0x10058d96
mov edx, dword [ebp - 0x30]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10058d8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059035
push ecx
push edx
call fcn.10096ca5
add esp, 8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.1005a2e0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10059015
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005900b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059035
jmp 0x1005900b
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx]
mov dword [ebp - 0x104], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x108], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x104]
sub eax, ecx
cmp dword [ebp - 0x18], 7
mov dword [ebp - 0x130], eax
jne 0x10058fc9
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.1005aeb0
cmp byte [0x10191df4], 0
mov edx, dword [ebp - 0x20]
jne 0x10058e91
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
lea esi, [ebp - 0x30]
cmova eax, ecx
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x30]
cmova eax, ecx
add eax, edx
cmp dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x12c], eax
cmova esi, ecx
cmp esi, eax
je 0x10058e91
sub dword [ebp - 0x110], esi
mov edi, dword [ebp - 0x110]
movsx eax, byte [esi]
push eax
call fcn.100b3129
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x12c]
jne 0x10058e70
mov edi, dword [ebp - 0x118]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x114]
sub edi, dword [ebp - 0x120]
mov eax, dword [eax]
lea ecx, [edi + edi*2]
lea edi, [ebp - 0x30]
test byte [eax + ecx*4 + 8], 4
jne 0x10058f82
cmp dword [ebp - 0x1c], 0xf
mov edx, 0x811c9dc5
mov esi, dword [ebp - 0x20]
cmova edi, dword [ebp - 0x30]
xor ecx, ecx
test esi, esi
je 0x10058ed7
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10058ec6
push edx
lea eax, [ebp - 0x30]
mov ecx, 0x10191d38
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.1005e0d0
cmp dword [eax + 4], 0
je 0x10058eff
mov dword [ebp - 0x18], 1
jmp 0x10058fc9
cmp dword [ebp - 0x1c], 0xf
lea edi, [ebp - 0x30]
mov edx, 0x811c9dc5
cmova edi, dword [ebp - 0x30]
xor ecx, ecx
test esi, esi
je 0x10058f26
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10058f15
push edx
lea eax, [ebp - 0x30]
mov ecx, 0x10191d58
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.1005e0d0
cmp dword [eax + 4], 0
je 0x10058f4e
mov dword [ebp - 0x18], 8
jmp 0x10058fc9
cmp dword [ebp - 0x1c], 0xf
lea edi, [ebp - 0x30]
mov edx, 0x811c9dc5
cmova edi, dword [ebp - 0x30]
xor ecx, ecx
test esi, esi
je 0x10058f75
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10058f64
lea eax, [ebp - 0x30]
push edx
push eax
lea eax, [ebp - 0x148]
jmp 0x10058fb1
cmp dword [ebp - 0x1c], 0xf
mov esi, 0x811c9dc5
cmova edi, dword [ebp - 0x30]
xor ecx, ecx
test edx, edx
je 0x10058fa6
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10058f95
lea eax, [ebp - 0x30]
push esi
push eax
lea eax, [ebp - 0x150]
push eax
mov ecx, 0x10191d78
call fcn.1005e0d0
cmp dword [eax + 4], 0
je 0x10058fc9
mov dword [ebp - 0x18], 9
mov edi, dword [ebp - 0x130]
test edi, edi
je 0x10059000
mov esi, dword [ebp - 0x120]
neg esi
nop dword [eax + eax]
mov eax, dword [ebp - 0x104]
add eax, esi
inc esi
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4 + 4], eax
sub edi, 1
jne 0x10058fe0
mov edi, dword [ebp - 0x108]
jmp 0x10058d22
push ecx
push edx
call fcn.10096ca5
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.10096753
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.100bc2c1
int3