Function at 0x10047420
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f81ed
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1011f050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], edx
mov esi, ecx
mov dword [ebp - 0x54], esi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.1003d830
test al, al
jne 0x100474ad
lea ecx, [ebp - 0x1c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1001f750
jmp 0x100477cc
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x7c], eax
cmp edi, eax
je 0x10047758
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 2
mov ecx, dword [edi]
test ecx, ecx
jne 0x10047549
lea ecx, [ebp - 0x4c]
call fcn.100454b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1004753f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10047535
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100477e9
push edx
push ecx
call fcn.100cb52f
add esp, 8
mov esi, 0x811c9dc5
jmp 0x1004773e
movzx eax, word [ecx + 0x2c]
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
call fcn.10045510
lea ecx, [ebp - 0x4c]
call fcn.100454b0
movups xmm0, xmmword [ebp - 0x6c]
xor eax, eax
lea ecx, [ebp - 0x6c]
mov word [ebp - 0x6c], ax
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x5c]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
call fcn.100454b0
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x4c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x4c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.10045690
push eax
lea ecx, [ebp - 0x34]
call fcn.10026380
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x10047606
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100475fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100477e9
push edx
push ecx
call fcn.100cb52f
add esp, 8
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
cmovae eax, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], eax
lea esi, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
cmovae ecx, edx
add eax, ecx
mov dword [ebp - 0x58], 0xf
cmp dword [ebp - 0x20], 0x10
mov byte [ebp - 0x6c], 0
cmovae esi, edx
mov dword [ebp - 0x74], eax
cmp esi, eax
je 0x10047665
mov edi, dword [ebp - 0x70]
sub edi, esi
nop dword [eax]
movsx eax, byte [esi]
push eax
call fcn.100da431
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x74]
jne 0x10047650
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
call fcn.100454b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x100476cf
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100476c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100477e9
push edx
push ecx
call fcn.100cb52f
add esp, 8
mov eax, dword [ebp - 0x80]
lea edi, [ebp - 0x94]
mov edx, dword [ebp - 0x94]
cmp eax, 0x10
mov esi, 0x811c9dc5
cmovae edi, edx
xor ecx, ecx
cmp dword [ebp - 0x84], ecx
jbe 0x1004770b
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [ebp - 0x84]
jb 0x100476f3
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1004773b
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10047731
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100477e9
push ecx
push edx
call fcn.100cb52f
add esp, 8
mov edi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x78]
je 0x100477a7
add edi, 0xc
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x7c]
jne 0x100474c1
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x54]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x100477cc
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100477c2
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100477e9
jmp 0x100477c2
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x1c]
movq xmm0, qword [edi]
movq qword [esi], xmm0
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
call fcn.1001f750
jmp 0x100477cc
push ecx
push edi
call fcn.100cb52f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cb0af
mov esp, ebp
pop ebp
ret
call fcn.100d0a62
int3