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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085700
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x100a5064]
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 - 0x1f8], edx
mov esi, ecx
mov dword [ebp - 0x1d0], 0
mov edi, esi
cmp dword [esi + 0x14], 0x10
jb 0x100249aa
mov edi, dword [esi]
mov ebx, dword [esi + 0x10]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x100249c9
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x100249b8
push edx
push esi
lea eax, [ebp - 0x200]
push eax
call fcn.100272d0
mov ecx, dword [0x100a8690]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x100a8690]
je 0x10025208
push esi
call fcn.10025a10
push 0x68
mov eax, dword [eax]
mov dword [ebp - 0x1f0], eax
call fcn.1005bb1d
mov edi, eax
mov dword [ebp - 0x1c8], edi
push 0x68
push 0
push edi
mov dword [ebp - 4], 0
call fcn.1005dbb0
add esp, 0x10
mov dword [ebp - 0x28], 0
push 0
push 0x1009613c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
call fcn.1000cf10
push dword [ebp - 0x1f8]
mov byte [ebp - 4], 2
lea ecx, [edi + 8]
mov dword [ebp - 0x1d0], 1
mov dword [edi], vtable.libpkpkgZ::PkArchive.0
call fcn.1000b720
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x2c]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.1000b720
movsd xmm0, qword [0x1009b718]
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
movsd qword [edi + 0x58], xmm0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xffffffff
mov dword [edi + 0x44], 0
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10024b0c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024b02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025226
push edx
push ecx
call fcn.1005be67
add esp, 8
sub esp, 8
mov ecx, edi
call fcn.10027680
cmp dword [edi + 0x20], esi
je 0x10025208
push 0x24
call fcn.1005bb1d
mov dword [ebp - 0x1f4], eax
lea ebx, [eax + 4]
mov dword [ebp - 4], 5
mov dword [ebp - 0x1c8], ebx
mov dword [ebx], 0
push 0x78
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.1005bb1d
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 4], eax
lea ecx, [ebx + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 7
push dword [ebx + 4]
mov dword [ebx + 0x18], 7
push 0x10
mov dword [ebx + 0x1c], 8
mov dword [ebx], 0x3f800000
call fcn.10025fd0
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1f4]
push ecx
mov ecx, edi
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [eax], edi
lea eax, [ebp - 0x34]
push eax
call fcn.10027d00
mov dword [ebp - 4], 8
mov ebx, dword [ebp - 0x34]
cmp ebx, dword [ebp - 0x30]
je 0x10024f49
add ebx, 0xc
mov dword [ebp - 0x1d0], ebx
push ebx
lea ecx, [ebp - 0x28]
call fcn.1000b720
or esi, 2
mov dword [ebp - 0x1cc], esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
jb 0x10024c0c
mov edi, dword [ebp - 0x28]
mov ecx, edi
mov esi, dword [ebp - 0x18]
add esi, edi
jmp 0x10024c15
lea esi, [ebp - 0x28]
add esi, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
cmp edi, esi
je 0x10024c3d
sub ecx, edi
mov dword [ebp - 0x1c8], ecx
mov ebx, ecx
movsx eax, byte [edi]
push eax
call fcn.1006af4b
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10024c23
mov ebx, dword [ebp - 0x1d0]
push 0x50
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.1005dbb0
add esp, 0xc
lea ecx, [ebp - 0x84]
call fcn.100257a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x84]
call fcn.10025bb0
mov esi, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x84]
or esi, 0xc
mov byte [ebp - 4], 9
call fcn.100256e0
mov ecx, dword [ebp - 0x1f0]
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x1fc]
push eax
mov edi, dword [ecx + 8]
lea ecx, [ecx + 4]
call fcn.10026720
mov edx, dword [ebp - 0x1d4]
mov eax, dword [eax]
mov dword [ebp - 0x1c8], eax
cmp edx, 8
jb 0x10024d08
mov ecx, dword [ebp - 0x1e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024cf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025226
push edx
push ecx
call fcn.1005be67
mov eax, dword [ebp - 0x1c8]
add esp, 8
cmp eax, edi
je 0x10024fba
cmp byte [ebp + 8], 0
je 0x10024dd4
push 0x50
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.1005dbb0
add esp, 0xc
lea ecx, [ebp - 0xd4]
call fcn.100257a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0xd4]
call fcn.10025bb0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 9
or esi, 0x30
call fcn.100256e0
cmp dword [ebp - 0x1d4], 8
lea eax, [ebp - 0x1e8]
cmovae eax, dword [ebp - 0x1e8]
push eax
push str._PkPackageZ__Replacing:__s_n
call fcn.10023d00
mov edx, dword [ebp - 0x1d4]
add esp, 8
cmp edx, 8
jb 0x10024dd4
mov ecx, dword [ebp - 0x1e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024dca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025226
push edx
push ecx
call fcn.1005be67
add esp, 8
push 0x50
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.1005dbb0
add esp, 0xc
lea ecx, [ebp - 0x124]
call fcn.100257a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x124]
call fcn.10025bb0
or esi, 0xc0
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x1cc], esi
call fcn.100256e0
mov ecx, dword [ebp - 0x1f0]
lea eax, [ebp - 0x1e8]
push eax
mov byte [ebp - 4], 0xd
lea ecx, [ecx + 4]
call fcn.10025aa0
mov ecx, dword [ebx - 4]
mov esi, eax
mov dword [esi + 8], ecx
lea ecx, [esi + 0xc]
cmp ecx, ebx
je 0x10024e6c
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x10024e63
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.1000cf10
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
movzx eax, word [ebx + 0x2c]
mov word [esi + 0x38], ax
movzx eax, word [ebx + 0x2e]
mov word [esi + 0x3a], ax
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x40]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ecx
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x50], eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1d4]
cmp edx, 8
jb 0x10024ef6
mov ecx, dword [ebp - 0x1e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024eec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025226
push edx
push ecx
call fcn.1005be67
add esp, 8
mov esi, dword [ebp - 0x1cc]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10024f34
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024f2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025226
push edx
push ecx
call fcn.1005be67
add esp, 8
add ebx, 0x58
mov dword [ebp - 0x1d0], ebx
lea eax, [ebx - 0xc]
cmp eax, dword [ebp - 0x30]
jne 0x10024be1
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x1ec]
call fcn.1000b720
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x1ec]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.100264f0
mov edx, dword [ebp - 0x1d8]
cmp edx, 0x10
jb 0x100251fc
mov ecx, dword [ebp - 0x1ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100251f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025226
jmp 0x100251f2
cmp byte [ebp + 8], 0
je 0x10025081
push 0x50
lea eax, [ebp - 0x174]
push 0
push eax
call fcn.1005dbb0
add esp, 0xc
lea ecx, [ebp - 0x174]
call fcn.100257a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x174]
call fcn.10025bb0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 9
or esi, 0x300
call fcn.100256e0
cmp dword [ebp - 0x1d4], 8
lea eax, [ebp - 0x1e8]
cmovae eax, dword [ebp - 0x1e8]
push eax
push 0x1009ae74
call fcn.10023d00
mov edx, dword [ebp - 0x1d4]
add esp, 8
cmp edx, 8
jb 0x10025081
mov ecx, dword [ebp - 0x1e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10025077
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025226
push edx
push ecx
call fcn.1005be67
add esp, 8
push 0x50
lea eax, [ebp - 0x1c4]
push 0
push eax
call fcn.1005dbb0
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.100257a0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x1c4]
call fcn.10025bb0
lea ecx, [ebp - 0x1c4]
or esi, 0xc00
call fcn.100256e0
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x278]
call fcn.10018fc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x254]
mov eax, dword [ebx - 4]
push ebx
mov dword [ebp - method.libpkpkgZ::PkgEntry.virtual_0], vtable.libpkpkgZ::PkgEntry.0
mov dword [ebp - 0x258], eax
call fcn.1000b720
mov eax, dword [ebx + 0x1c]
or esi, 0x1000
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x238], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x230], eax
movzx eax, word [ebx + 0x2c]
mov word [ebp - 0x228], ax
movzx eax, word [ebx + 0x2e]
mov dword [ebp - 0x234], ecx
mov ecx, dword [ebx + 0x28]
mov word [ebp - 0x226], ax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x220], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 0x218], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x278]
mov ecx, dword [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [ecx + 4]
call fcn.10026160
lea ecx, [ebp - 0x278]
call fcn.100248c0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1d4]
cmp edx, 8
jb 0x10024efc
mov ecx, dword [ebp - 0x1e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100251e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10025226
push edx
push ecx
call fcn.1005be67
add esp, 8
jmp 0x10024efc
push edx
push ecx
call fcn.1005be67
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.10025310
mov al, 1
jmp 0x1002520a
xor al, al
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.1005b901
mov esp, ebp
pop ebp
ret
call fcn.10064c03
int3