Function at 0x100131a2
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100133e7
push ebx
mov ebx, dword [0x10029b4c]
push edi
push 0xa
pop edi
push 6
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x40], 0x57
mov edx, eax
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], 0xffffff92
push esi
mov esi, str.wrong_certid_in_rp
mov cl, 0x77
sub cl, 0x30
cmp cl, 9
ja 0x100131fe
inc esi
mov cl, byte [esi]
test cl, cl
jne 0x100131ed
jmp 0x10013204
add ebx, 0x5e7e96a0
xor ebx, 0x599c6afb
mov esi, str.wrong_certid_in_rp
mov cl, 0x77
sub cl, 0x30
cmp cl, 9
ja 0x10013222
inc esi
mov cl, byte [esi]
test cl, cl
jne 0x10013211
jmp 0x10013228
imul ebx, ebx, 0x8ea204ef
sub edi, dword [ebp + edx*4 - 0x40]
and ebx, 0x4fb7e731
inc edx
cmp edx, 5
jl 0x100131e6
mov dword [ebp - 0x20], edi
mov esi, str._tfunction_OnProgress_progress__MaxProgress_
push 0xb
pop ecx
lea edi, [ebp - 0x80]
mov dword [ebp - 0x10], 0x572f8dfd
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], 0x5c6cdc9f
mov ecx, eax
mov dword [ebp - 8], eax
mov byte [ebp + ecx - 0x180], cl
inc ecx
cmp ecx, 0x100
jb 0x1001325b
mov edi, str.._AVMemTableInserter__A0x105a6a7e_leveldb__
mov esi, eax
mov dword [ebp - 0x18], edi
xor edx, edx
mov dword [ebp - 0x14], 0x2b
mov eax, esi
mov cl, byte [ebp + esi - 0x180]
div dword [ebp - 0x14]
mov byte [ebp - 1], cl
movzx ecx, cl
push 0x46
movzx eax, byte [ebp + edx - 0x80]
add eax, dword [ebp - 8]
add ecx, eax
movzx eax, cl
pop edx
push 0x2e
mov dword [ebp - 8], eax
mov eax, edi
pop ecx
add edx, ecx
lea eax, [eax + 2]
cmp edx, 0x94c
ja 0x100132be
movzx ecx, word [eax]
test ecx, ecx
jne 0x100132a8
jmp 0x100132d3
push ecx
and ebx, 0x9ff06165
push ecx
mov dword [0x10029b4c], ebx
call fcn.10012e5d
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
add ebx, 0x82117a2e
mov al, byte [ebp + ecx - 0x180]
mov byte [ebp + esi - 0x180], al
inc esi
mov al, byte [ebp - 1]
mov byte [ebp + ecx - 0x180], al
cmp esi, 0x100
jb 0x10013275
lea esi, [ebx - 0x5127df5a]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 8], esi
mov esi, ebx
mov edi, eax
mov ebx, eax
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x180]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x180]
mov byte [ebp + edi - 0x180], al
mov byte [ebp + ebx - 0x180], cl
movzx eax, byte [ebp + edi - 0x180]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x180]
xor al, byte [ebp + esi - 0x10]
mov byte [ebp + esi - 0x2c], al
inc esi
cmp esi, 8
jb 0x10013314
mov esi, dword [ebp - 8]
xor ebx, ebx
mov edi, dword [ebp - 0x18]
push 0x2e
mov byte [ebp - 0x24], bl
pop ecx
lea eax, [ecx - 0x30]
cmp ax, 9
ja 0x10013387
add edi, 2
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x1001336f
jmp 0x1001338d
xor esi, 0x91de7dea
add esi, 0x1319c65f
mov dword [0x10029b4c], esi
call fcn.10012950
mov dword [ebp - 0x54], 0x63
mov eax, ebx
mov dword [ebp - 0x50], 0x51
mov dword [ebp - 0x4c], 0x1f
mov dword [ebp - 0x48], 0x17
mov dword [ebp - 0x44], 0xffffff16
pop esi
sub ebx, dword [ebp + eax*4 - 0x54]
inc eax
cmp eax, 5
jl 0x100133c4
push dword [ebp - 0x1c]
push ebx
call fcn.10012ecf
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x2c]
push eax
call fcn.1001b5c7
call eax
pop edi
pop ebx
leave
ret