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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a87f7
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x75868c]
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 dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ecx + 0x1434]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 4], 0xffffffff
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5972e7
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00479ba0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae ecx, ebx
setae byte [ebp - 0x31]
add esi, ecx
xor edx, edx
cmp ecx, esi
jae 0x597326
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, esi
jb 0x597316
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.005965d0
mov esi, dword [eax + 4]
test esi, esi
jne 0x597344
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 4]
cmp byte [ebp - 0x31], 0
je 0x597376
mov ecx, dword [ebp - 0x14]
mov eax, ebx
inc ecx
cmp ecx, 0x1000
jb 0x59736c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x597585
push ecx
push ebx
call fcn.00617a75
add esp, 8
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], esi
jne 0x597481
push 0x1400
call fcn.00617a38
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x5973a8
mov ecx, eax
call fcn.00599780
mov esi, eax
jmp 0x5973aa
xor esi, esi
push dword [ebp - 0x38]
mov ebx, dword [ebp - 0x40]
mov ecx, esi
push 1
push edi
push dword [ebp - 0x3c]
lea eax, [ebx + 0xc]
mov dword [ebp - 4], 0xffffffff
push eax
mov dword [ebp - 0x30], esi
call fcn.0059c4d0
test al, al
je 0x59746e
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x3c]
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [ecx + 1]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x597400
sub ecx, dword [ebp - 0x38]
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00479ba0
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebx + 0x1434]
call fcn.00596790
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x59748a
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x597462
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x597585
push edx
push ecx
call fcn.00617a75
add esp, 8
jmp 0x59748a
test esi, esi
je 0x59747a
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor al, al
jmp 0x597567
mov eax, dword [esi + 0x20]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
test edi, edi
je 0x597565
cmp byte [edi], 0x2a
je 0x597565
push edi
lea ecx, [ebp - 0x28]
call fcn.00478a40
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebx + 0x1454]
call fcn.00596990
lea ecx, [ebp - 0x28]
call fcn.004787b0
mov eax, dword [ebx + 0x1458]
cmp eax, dword [ebp - 0x38]
jne 0x597565
lea eax, [ebp - 0x30]
lea ecx, [ebx + 0x142c]
push eax
call fcn.00598820
mov dword [ebp - 0x2c], 0
mov ecx, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x597502
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00479ba0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebx + 0x1454]
call fcn.00596790
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x597565
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59755b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x597585
push edx
push ecx
call fcn.00617a75
add esp, 8
mov al, 1
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.00617a25
mov esp, ebp
pop ebp
ret 0xc
call fcn.006533c4
int3