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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a8847
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 ebx, ecx
cmp byte [ebp + 0x14], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], eax
je 0x597605
push 0
push 1
push 0x6eed93
push edi
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebx + 0x2c]
call fcn.0059c700
test al, al
jne 0x5978b0
push edi
push str._s:_Pack_file_does_not_exist
call fcn.00555e70
add esp, 8
xor al, al
jmp 0x5978b2
mov dword [ebp - 0x28], 0
mov ecx, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 4], 0xffffffff
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x597626
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00479ba0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
setae byte [ebp - 0x31]
add eax, ecx
xor edx, edx
cmp ecx, eax
jae 0x597668
mov esi, eax
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, esi
jb 0x597655
mov esi, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebx + 0x1434]
call fcn.005965d0
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x59768f
mov eax, dword [ebx + 0x1438]
mov dword [ebp - 0x30], eax
cmp byte [ebp - 0x31], 0
je 0x5976c4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5976ba
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5978d0
push ecx
push edx
call fcn.00617a75
add esp, 8
mov eax, dword [ebp - 0x30]
cmp dword [ebx + 0x1438], eax
jne 0x59789b
push 0x1400
call fcn.00617a38
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x5976f9
mov ecx, eax
call fcn.00599780
mov esi, eax
jmp 0x5976fb
xor esi, esi
push dword [ebp - 0x3c]
lea eax, [ebx + 0xc]
mov dword [ebp - 4], 0xffffffff
push 1
push dword [ebp - 0x38]
mov ecx, esi
mov dword [ebp - 0x30], esi
push edi
push eax
call fcn.0059c700
test al, al
je 0x59788b
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 0x597746
sub ecx, edx
push ecx
push edi
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 - 0x44]
push eax
lea ecx, [ebx + 0x1434]
call fcn.00596790
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x5977b1
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5977a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5978d0
push edx
push ecx
call fcn.00617a75
add esp, 8
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x5978b0
cmp byte [esi], 0x2a
je 0x5978b0
push esi
lea ecx, [ebp - 0x28]
call fcn.00478a40
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x3c]
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 - 0x3c]
jne 0x5978b0
lea eax, [ebp - 0x30]
lea ecx, [ebx + 0x142c]
push eax
call fcn.00598820
mov dword [ebp - 0x2c], 0
mov ecx, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x597830
sub ecx, edx
push ecx
push esi
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 - 0x44]
push eax
lea ecx, [ebx + 0x1454]
call fcn.00596790
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x5978b0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5978a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5978d0
jmp 0x5978a6
test esi, esi
je 0x597897
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor al, al
jmp 0x5978b2
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x30], eax
jmp 0x5977b4
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 0x10
call fcn.006533c4
int3