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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49de0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0xc]
mov ecx, dword [edi + 8]
cmp ecx, dword [esi + 0x10]
jb 0x416560
nop
mov ecx, dword [edi + 4]
push esi
call fcn.00413d80
test al, al
je 0x416607
mov dword [edi + 8], 0
cmp dword [edi + 0x1c], 0
jbe 0x416540
xor ecx, ecx
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x416570
mov eax, dword [esi]
mov al, byte [ecx + eax]
movsx ebx, al
mov byte [ebp - 0x18], al
cmp ebx, 0xffffffff
je 0x416607
push ebx
call fcn.004804e0
add esp, 4
test eax, eax
jne 0x416536
cmp ebx, 0xffffffff
je 0x416607
cmp ebx, 0x5b
jne 0x4166c1
mov ebx, dword [edi + 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x10]
inc eax
cmp ecx, eax
ja 0x4165b7
push ecx
lea ecx, [ebx + 8]
call fcn.00417dd0
mov ecx, dword [ebx + 0x10]
dec ecx
and ecx, dword [ebx + 0x14]
mov dword [ebx + 0x14], ecx
mov eax, dword [ebx + 0x18]
add eax, ecx
mov ecx, dword [ebx + 0x10]
dec ecx
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
cmp dword [eax + ecx], 0
jne 0x4165f4
push 0x18
call fcn.00460943
mov ecx, dword [ebx + 0xc]
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [ebx + 0xc]
mov ecx, dword [eax + ecx]
push esi
call fcn.004033f0
inc dword [ebx + 0x18]
mov dword [edi + 8], 0
mov dword [ebp - 0x14], 9
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004033f0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
mov dword [esi], eax
lea ecx, [esi + 4]
lea eax, [ebp - 0x4c]
push eax
call fcn.004033f0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x416666
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41665c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d79
push edx
push ecx
call fcn.00460bf0
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp edx, 0x10
jb 0x4166ac
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4166a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d79
push edx
push ecx
call fcn.00460bf0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 0x7b
jne 0x416733
push ebx
lea ecx, [ebp - 0x30]
call fcn.00404790
nop
mov ecx, dword [edi + 8]
cmp ecx, dword [esi + 0x10]
jb 0x4166fc
nop dword [eax + eax]
mov ecx, dword [edi + 4]
push esi
call fcn.00413d80
test al, al
je 0x416727
mov dword [edi + 8], 0
cmp dword [edi + 0x1c], 0
jbe 0x4166e0
xor ecx, ecx
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x41670c
mov eax, dword [esi]
mov al, byte [ecx + eax]
movsx ebx, al
mov cl, al
cmp ebx, 0xffffffff
je 0x416727
push ecx
lea ecx, [ebp - 0x30]
call fcn.00404790
cmp ebx, 0x7d
jne 0x4166d0
mov dword [ebp - 0x14], 6
jmp 0x41660e
cmp ebx, 0x28
jne 0x416759
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 1
cmovae eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], 3
mov word [eax], bx
jmp 0x41660e
cmp ebx, 0x29
jne 0x416773
push ebx
lea ecx, [ebp - 0x30]
call fcn.004174a0
mov dword [ebp - 0x14], 4
jmp 0x41660e
cmp ebx, 0x24
jne 0x4168d6
push ebx
lea ecx, [ebp - 0x30]
call fcn.00404790
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.004162a0
lea ecx, [ebp - 0xa4]
call fcn.00416ee0
push ecx
lea eax, [edi + 0x4c]
mov byte [ebp - 4], 2
mov edx, ecx
lea ecx, [ebp - 0x4c]
push eax
call fcn.004184c0
test al, al
je 0x416829
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x64]
add ecx, 0xc
mov dword [ebp - 0x14], 5
push eax
call fcn.00417270
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x30]
call fcn.004032d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x416829
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41681f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d60
push edx
push ecx
call fcn.00460bf0
add esp, 8
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x9c]
test esi, esi
je 0x41689b
mov ecx, dword [ebp - 0x94]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x416873
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d65
push ecx
push esi
call fcn.00460bf0
add esp, 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x41660e
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416d3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d6a
jmp 0x416d3d
push ebx
call fcn.00480486
add esp, 4
test eax, eax
je 0x416bab
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00404790
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.004162a0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
call fcn.004032d0
lea ecx, [ebp - 0xdc]
call fcn.00416ee0
push ecx
lea eax, [edi + 0x24]
mov byte [ebp - 4], 5
mov edx, ecx
lea ecx, [ebp - 0x30]
push eax
call fcn.004184c0
test al, al
je 0x41694d
mov dword [ebp - 0x14], 1
jmp 0x416afe
mov ebx, dword [ebp - 0x20]
cmp ebx, 1
jbe 0x416adc
cmp dword [ebp - 0x1c], 0x10
lea esi, [ebp - 0x30]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x30]
xor ecx, ecx
test ebx, ebx
je 0x416981
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x416970
and edx, dword [0x5d1868]
mov ecx, dword [0x5d185c]
mov ecx, dword [ecx + edx*8]
lea edx, [edx*8 + 4]
mov dword [ebp - 0x18], ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov eax, dword [0x5d1854]
cmp ecx, eax
je 0x4169b2
mov eax, dword [0x5d185c]
mov eax, dword [edx + eax]
mov eax, dword [eax]
cmp esi, eax
je 0x416adc
cmp dword [ebp - 0x1c], 0x10
lea ecx, [esi + 8]
mov ebx, dword [ecx + 0x14]
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
cmp ebx, 0x10
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x68], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x6c], edx
jb 0x4169de
mov ecx, dword [ecx]
push ebx
push eax
call fcn.00419310
test al, al
jne 0x4169f3
mov esi, dword [esi]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
jmp 0x41699f
cmp dword [ebp - 0x68], 0x10
lea eax, [esi + 8]
jb 0x4169fe
mov eax, dword [eax]
push dword [ebp - 0x6c]
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x30]
push eax
cmovae ecx, dword [ebp - 0x30]
mov edx, ebx
call fcn.00419310
test al, al
cmove esi, dword [0x5d1854]
cmp esi, dword [0x5d1854]
je 0x416adc
lea eax, [ebp - 0x88]
mov dword [ebp - 0x14], 2
push eax
mov ecx, edi
call fcn.004164f0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x88], 6
jne 0x416a9f
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x64]
call fcn.00418620
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.004032d0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x416a9f
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416a95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d6f
push edx
push ecx
call fcn.00460bf0
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x70]
cmp edx, 0x10
jb 0x416afe
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416ad0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d74
push edx
push ecx
call fcn.00460bf0
add esp, 8
jmp 0x416afe
push ecx
lea eax, [edi + 0x4c]
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0x30]
call fcn.004184c0
xor edx, edx
mov ecx, 7
test al, al
cmovne ecx, edx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x416b70
mov ecx, dword [ebp - 0xcc]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x416b48
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d79
push ecx
push esi
call fcn.00460bf0
add esp, 8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x41660e
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416d3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d7e
jmp 0x416d3d
push ebx
call fcn.00480457
add esp, 4
lea ecx, [ebp - 0x30]
test eax, eax
je 0x416c74
push dword [ebp - 0x18]
call fcn.00404790
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0xdc]
call fcn.00416ee0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 9
push eax
mov ecx, edi
call fcn.004162a0
push ecx
lea eax, [edi + 0x38]
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0x4c]
call fcn.004184c0
test al, al
je 0x416c6b
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0x64]
add ecx, 0xc
push eax
call fcn.00417270
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x30]
call fcn.004032d0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x416c64
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416c5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d83
push edx
push ecx
call fcn.00460bf0
add esp, 8
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 8
jmp 0x416b02
cmp ebx, 0x23
jne 0x416c8b
push ebx
call fcn.00404790
mov dword [ebp - 0x14], 8
jmp 0x41660e
cmp ebx, 0x2a
jne 0x416d4c
push ebx
call fcn.00404790
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.004164f0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x88], 6
jne 0x416d05
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x64]
call fcn.00418620
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.004032d0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x416d05
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416cfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d79
push edx
push ecx
call fcn.00460bf0
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x14], 2
cmp edx, 0x10
jb 0x41660e
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416d3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416d79
push edx
push ecx
call fcn.00460bf0
add esp, 8
jmp 0x41660e
push dword [ebp - 0x18]
call fcn.00404790
mov dword [ebp - 0x14], 7
jmp 0x41660e
call fcn.0047e1a9
call fcn.0047e1a9
call fcn.0047e1a9
call fcn.0047e1a9
call fcn.0047e1a9
call fcn.0047e1a9
call fcn.0047e1a9
call fcn.0047e1a9
int3