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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523b50
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x88], edi
mov esi, dword [eax]
mov eax, dword [0x598598]
mov dword [ebp - 0x84], 0x14
cmp eax, dword [esi + 8]
jg 0x417a83
mov eax, dword [0x5985c0]
cmp eax, dword [esi + 8]
jg 0x417b28
mov ecx, edi
mov dword [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417890
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x78]
call fcn.00408af0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x68]
inc ecx
cmp dword [ebp - 0x64], 8
push ecx
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.004fbeca
xorps xmm0, xmm0
movlpd qword [ebp - 0x80], xmm0
push 0x5985c4
mov dword [ebp - 0x80], 0x5985c4
mov byte [ebp - 0x7c], 1
call fcn.004ba67b
add esp, 0xc
mov byte [ebp - 4], 4
lea esi, [ebp - 0x78]
mov eax, dword [ebp - 0x68]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x64], 8
cmovae esi, dword [ebp - 0x78]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x417917
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x417906
push edx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0041c170
mov eax, dword [eax + 4]
test eax, eax
je 0x417966
cmp eax, dword [0x5985a4]
je 0x417966
add eax, 0x20
cmp ebx, eax
je 0x417952
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x417949
mov eax, dword [eax]
push ecx
push eax
mov ecx, ebx
call fcn.00408af0
push 0x5985c4
call fcn.004ba6b9
add esp, 4
mov bl, 1
jmp 0x417a2b
push 0x5985c4
mov byte [ebp - 4], 3
call fcn.004ba6b9
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x60]
push eax
push ecx
mov ecx, dword [ebp - 0x88]
call fcn.0042f080
add esp, 0x10
test eax, eax
js 0x417a29
cmp dword [ebp - 0x84], 0
jbe 0x417a29
mov edx, dword [ebp - 0x60]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4179b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00408af0
push 0x5985c4
mov dword [ebp - 0x88], 0x5985c4
call fcn.004ba66d
add esp, 4
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x40]
call fcn.0041b5a0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0041b5a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0041af10
lea ecx, [ebp - 0x40]
call fcn.00417c20
push 0x5985c4
call fcn.004ba6ab
add esp, 4
mov bl, 1
jmp 0x417a2b
xor bl, bl
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x417a65
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417a5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417b5e
push edx
push ecx
call fcn.004d24a7
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
push 0x598598
call fcn.004d2972
add esp, 4
cmp dword [0x598598], 0xffffffff
jne 0x41785d
push 0x38
mov dword [ebp - 4], 0
call fcn.004d2477
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x5985a4], eax
mov dword [0x5985ac], 0
mov dword [0x5985b0], 0
mov dword [0x5985b4], 0
mov byte [ebp - 4], 2
mov ecx, 0x5985ac
push eax
push 0x10
mov dword [0x5985b8], 7
mov dword [0x5985bc], 8
mov dword [0x5985a0], 0x3f800000
call fcn.0041a8e0
push 0x53e530
call fcn.004d282a
push 0x598598
mov dword [ebp - 4], 0xffffffff
call fcn.004d2928
add esp, 8
jmp 0x41785d
push 0x5985c0
call fcn.004d2972
add esp, 4
cmp dword [0x5985c0], 0xffffffff
jne 0x41786e
push 0x53e520
call fcn.004d282a
push 0x5985c0
call fcn.004d2928
add esp, 8
jmp 0x41786e
call fcn.004e0791
int3