Function at 0x10002aa2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10006020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
je 0x10002ad2
cmp dword [ebx + 0x38], 0
jne 0x10002ada
push 0xffffffffffffff9a
pop eax
jmp 0x10002d34
cmp dword [ebx + 0x9c], 0
je 0x10002aea
push ebx
call sym.minizip.dll_unzCloseCurrentFile
pop ecx
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov esi, ebx
call fcn.1000228a
add esp, 0xc
test eax, eax
je 0x10002b0d
push 0xffffffffffffff99
pop eax
jmp 0x10002d33
push edi
mov edi, dword [sym.imp.MSVCR71.dll_malloc]
push 0x90
call edi
mov esi, eax
test esi, esi
pop ecx
mov dword [ebp - 0x14], esi
jne 0x10002b2d
push 0xffffffffffffff98
pop eax
jmp 0x10002d32
push 0x4000
call edi
pop ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
cmp eax, edx
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi], eax
mov dword [esi + 0x4c], edx
mov dword [esi + 0x8c], ecx
jne 0x10002b5d
push 0xffffffffffffff98
pop edi
jmp 0x10002c6f
mov eax, dword [ebp - 0x28]
cmp eax, edx
mov dword [esi + 0x40], edx
je 0x10002b6c
mov ecx, dword [ebx + 0x54]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x20]
cmp ecx, edx
je 0x10002b9e
push 6
pop edi
mov dword [ecx], edi
mov eax, dword [ebx + 0x50]
and eax, edi
push 2
pop edi
sub eax, edi
je 0x10002b98
sub eax, edi
je 0x10002b94
sub eax, edi
jne 0x10002b9e
mov dword [ecx], 1
jmp 0x10002b9e
mov dword [ecx], edi
jmp 0x10002b9e
mov dword [ecx], 9
mov eax, dword [ebx + 0x5c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], edx
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x84], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x80], eax
lea edi, [esi + 0x60]
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebp - 0x14]
xor esi, esi
mov dword [edi + 0x88], eax
mov dword [edi + 0x18], esi
cmp dword [ebx + 0x54], 8
jne 0x10002c0d
cmp dword [ebp + 0x14], esi
jne 0x10002c0d
push 0x38
push str.1.2.3
lea eax, [edi + 4]
push 0xfffffffffffffff1
push eax
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [eax], esi
mov dword [edi + 8], esi
call sub.zlib1.dll_inflateInit2_
add esp, 0x10
cmp eax, esi
jne 0x10002c6a
mov dword [edi + 0x40], 1
cmp dword [ebp - 0x18], esi
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x98]
lea eax, [eax + ecx + 0x1e]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], esi
mov dword [ebx + 0x9c], edi
je 0x10002d30
call sub.zlib1.dll_get_crc_table
mov edi, eax
mov eax, dword [ebp - 0x18]
lea esi, [ebx + 0xa4]
mov dword [ebx + 0xb0], edi
mov dword [ebp - 0x14], eax
mov dword [esi], 0x12345678
mov dword [esi + 4], 0x23456789
mov dword [esi + 8], 0x34567890
jmp 0x10002c92
mov esi, dword [ebp - 0x14]
mov edi, eax
push esi
call dword [sym.imp.MSVCR71.dll_free]
pop ecx
mov eax, edi
jmp 0x10002d32
movsx eax, al
push eax
mov ecx, esi
call fcn.10001a4b
add esp, 4
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
test al, al
jne 0x10002c7e
mov eax, dword [ebx + 0x9c]
mov ecx, dword [eax + 0x88]
add ecx, dword [eax + 0x3c]
push 0
push ecx
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0x10]
add esp, 0x10
test eax, eax
jne 0x10002b25
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 4]
add esp, 0x10
cmp eax, 0xc
jb 0x10002b25
and dword [ebp - 0x14], 0
mov eax, dword [ebx + 0xac]
mov edi, dword [ebp - 0x14]
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
lea edi, [ebp + edi - 0x10]
shr ecx, 8
xor byte [edi], cl
movsx eax, byte [edi]
mov edi, dword [ebx + 0xb0]
push eax
mov ecx, esi
call fcn.10001a4b
add esp, 4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jl 0x10002cdd
mov eax, dword [ebx + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [ebx + 0xa0], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10003fcd
leave
ret