Function at 0x10086c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c8
mov edi, dword [esp + 0x1e8]
mov eax, dword [esp + 0x1dc]
mov dword [esp], eax
add eax, 0x14
mov ecx, esp
push eax
push ecx
call fcn.100866a0
add esp, 8
mov ecx, dword [esp]
add eax, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 8], eax
cmp ecx, eax
jae 0x10086ed2
mov ebp, dword [esp + 0x1e4]
lea esi, [esp + 0x3c]
lea eax, [ebp + 0x10]
mov dword [esp + 0x2c], eax
lea eax, [ebp + 0x14]
mov dword [esp + 0x28], eax
lea eax, [ebp + 0x1c]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x18]
mov dword [esp + 0x24], eax
lea eax, [ebp + 4]
mov dword [esp + 0x20], eax
lea eax, [ebp + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [ebp + 8]
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x28]
mov dword [esp + 0x30], eax
jmp 0x100868f6
add edx, 0xffffffd0
mov dword [esi + 4], edx
add esi, 4
mov ecx, dword [esp]
cmp ecx, dword [esp + 8]
jae 0x10086ed0
lea ebx, [ecx + 1]
mov dword [esp], ebx
movzx edx, byte [ecx]
lea eax, [edx - 3]
cmp eax, 0x91
ja case.0x1008690d.4
jmp dword [eax*4 + 0x10086f88]
add edx, 0xffffffb0
cmp edx, 7
ja case.default.0x10086922
mov eax, ebp
jmp dword [edx*4 + 0x10087268]
mov eax, dword [esp + 0x18]
jmp case.0x10086922.80
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], esi
mov dword [esp + 4], 0
mov ecx, 0xfffffff9
xor edi, edi
mov dword [esp + 0x10], ebx
mov eax, ebx
nop dword [eax]
cmp eax, dword [esp + 8]
je 0x10086edf
add ecx, 7
movzx ebx, byte [eax]
mov bh, bl
and bh, 0x7f
movzx esi, bh
xor ebp, ebp
shld ebp, esi, cl
inc eax
shl esi, cl
test cl, 0x20
cmovne ebp, esi
mov edx, 0
cmovne esi, edx
or edi, ebp
or dword [esp + 4], esi
inc dword [esp + 0x10]
test bl, bl
js 0x10086960
cmp bl, 0x40
setae bl
cmp ecx, 0x39
setb bh
add cl, 7
mov eax, 0xffffffff
shl eax, cl
test cl, 0x20
mov ecx, 0
cmovne eax, ecx
test bl, bh
cmove eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
add edx, 0xffffff92
cmp edx, 9
ja case.default.0x10086922
mov ebp, dword [esp + 0x1e4]
mov ecx, ebp
mov esi, dword [esp + 0x14]
jmp dword [edx*4 + 0x10087218]
mov ecx, dword [esp + 0xc]
jmp case.0x100869e6.112
mov eax, dword [esp + 0xc]
jmp case.0x10086922.80
mov eax, dword [esp + 0x1c]
jmp case.0x10086922.80
mov eax, dword [esp + 0x20]
jmp case.0x10086922.80
mov eax, dword [esp + 0x2c]
jmp case.0x10086922.80
mov eax, dword [esp + 0x24]
jmp case.0x10086922.80
mov eax, dword [esp + 0x28]
nop word cs:[eax + eax]
mov eax, dword [eax]
jmp 0x10086ce0
mov ecx, dword [esp + 0x1c]
jmp case.0x100869e6.112
mov ecx, dword [esp + 0x2c]
jmp case.0x100869e6.112
mov ecx, dword [esp + 0x30]
jmp case.0x100869e6.112
mov ecx, dword [esp + 0x18]
jmp case.0x100869e6.112
mov ecx, dword [esp + 0x24]
jmp case.0x100869e6.112
mov ecx, dword [esp + 0x20]
jmp case.0x100869e6.112
mov ecx, dword [esp + 0x28]
nop
mov edx, dword [esp + 4]
or edx, eax
add edx, dword [ecx]
jmp 0x100868e3
mov eax, dword [ecx + 1]
add ecx, 5
jmp 0x10086cd9
mov eax, dword [ecx + 1]
add ecx, 9
jmp 0x10086cd9
mov dword [esp + 0x14], esi
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call fcn.100866a0
add esp, 8
mov dword [esp + 0x34], eax
mov esi, dword [esp]
mov dword [esp + 4], 0
mov ecx, 0xfffffff9
xor edi, edi
mov ebx, esi
mov dword [esp + 0x10], esi
cmp ebx, dword [esp + 8]
je 0x10086edf
add ecx, 7
movzx eax, byte [ebx]
mov ah, al
and ah, 0x7f
movzx esi, ah
xor edx, edx
shld edx, esi, cl
inc ebx
shl esi, cl
test cl, 0x20
cmovne edx, esi
mov ebp, 0
cmovne esi, ebp
or edi, edx
or dword [esp + 4], esi
mov esi, dword [esp + 0x10]
inc esi
test al, al
js 0x10086aa0
cmp al, 0x40
setae al
cmp ecx, 0x39
setb dl
add cl, 7
mov edi, 0xffffffff
shl edi, cl
test cl, 0x20
mov ecx, 0
cmovne edi, ecx
test al, dl
cmove edi, ecx
mov dword [esp], esi
mov ecx, dword [esp + 0x34]
add ecx, 2
cmp ecx, 9
ja case.default.0x10086922
mov ebp, dword [esp + 0x1e4]
mov eax, ebp
mov esi, dword [esp + 0x14]
jmp dword [ecx*4 + 0x100871f0]
mov eax, dword [esp + 0xc]
jmp case.0x10086b26.0
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setb cl
jmp 0x10086de3
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setbe cl
jmp 0x10086de3
mov eax, dword [esi - 4]
cdq
idiv dword [esi]
mov dword [esi - 4], edx
add esi, 0xfffffffc
jmp 0x100868e9
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
sete cl
jmp 0x10086de3
movsx eax, word [ecx + 1]
jmp 0x10086cd6
movsx eax, word [ecx + 1]
add ecx, 3
mov dword [esp], ecx
lea edx, [esi - 4]
cmp dword [esi], 0
je 0x10086e30
add ecx, eax
mov dword [esp], ecx
mov esi, edx
jmp 0x100868e9
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setae cl
jmp 0x10086de3
mov dword [esp + 0x14], esi
mov dword [esp + 4], 0
mov ecx, 0xfffffff9
mov edi, ebx
xor ebx, ebx
mov dword [esp + 0x10], edi
nop word [eax + eax]
cmp edi, dword [esp + 8]
je 0x10086edf
add ecx, 7
movzx eax, byte [edi]
mov ah, al
and ah, 0x7f
movzx esi, ah
xor edx, edx
shld edx, esi, cl
inc edi
shl esi, cl
test cl, 0x20
cmovne edx, esi
mov ebp, 0
cmovne esi, ebp
or ebx, edx
or dword [esp + 4], esi
inc dword [esp + 0x10]
test al, al
js 0x10086bd0
cmp al, 0x40
setae al
cmp ecx, 0x39
setb dl
add cl, 7
mov esi, 0xffffffff
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne esi, ecx
test al, dl
cmove esi, ecx
mov eax, dword [esp + 4]
or eax, esi
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
mov esi, dword [esp + 0x14]
mov dword [esi + 4], eax
add esi, 4
mov ebp, dword [esp + 0x1e4]
jmp 0x100868e9
mov eax, dword [esi]
and dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x100868e9
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
seta cl
jmp 0x10086de3
mov eax, dword [esi]
xor dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x100868e9
mov eax, dword [esi]
test eax, eax
jns 0x100868e9
neg eax
mov dword [esi], eax
jmp 0x100868e9
mov eax, dword [esi]
jmp 0x10086ce0
movsx eax, byte [ecx + 1]
jmp 0x10086cb1
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call fcn.100866a0
add esp, 8
jmp 0x10086ce0
movzx eax, byte [ecx + 1]
add ecx, 2
jmp 0x10086cd9
add esi, 0xfffffffc
jmp 0x100868e9
mov eax, dword [esi]
movsd xmm0, qword [esi - 8]
movsd qword [esi - 4], xmm0
mov dword [esi - 8], eax
jmp 0x100868e9
movzx eax, word [ecx + 1]
add ecx, 3
mov dword [esp], ecx
nop dword [eax]
mov dword [esi + 4], eax
jmp 0x100868e6
mov eax, dword [esi]
jmp case.0x10086d6b.4
mov eax, dword [esi - 4]
cdq
idiv dword [esi]
jmp 0x10086dad
mov eax, dword [esi - 4]
jmp 0x10086ce0
movsd xmm0, qword [esi - 4]
shufps xmm0, xmm0, 0xe1
movlps qword [esi - 4], xmm0
jmp 0x100868e9
movzx eax, byte [ecx + 1]
add ecx, 2
mov dword [esp], ecx
shl eax, 2
neg eax
mov eax, dword [esi + eax]
jmp 0x10086ce0
not dword [esi]
jmp 0x100868e9
movzx ecx, byte [esi]
shl dword [esi - 4], cl
add esi, 0xfffffffc
jmp 0x100868e9
movzx ecx, byte [esi]
shr dword [esi - 4], cl
add esi, 0xfffffffc
jmp 0x100868e9
mov eax, dword [esi]
add dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x100868e9
mov eax, dword [esi]
lea edx, [ecx + 2]
mov dword [esp], edx
movzx ecx, byte [ecx + 1]
dec ecx
cmp ecx, 7
ja case.0x10086d6b.3
jmp dword [ecx*4 + 0x100871d0]
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x100868e9
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call fcn.100866a0
add esp, 8
add dword [esi], eax
jmp 0x100868e9
movzx ecx, byte [esi]
sar dword [esi - 4], cl
add esi, 0xfffffffc
jmp 0x100868e9
mov eax, dword [esi]
mov eax, dword [eax]
jmp 0x10086dad
mov eax, dword [esi - 4]
imul eax, dword [esi]
mov dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x100868e9
mov eax, dword [esi]
sub dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x100868e9
mov eax, dword [esi]
or dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x100868e9
neg dword [esi]
jmp 0x100868e9
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setne cl
mov dword [esi - 4], ecx
add esi, 0xfffffffc
jmp 0x100868e9
movsx eax, word [ecx + 1]
add eax, ecx
add eax, 3
mov dword [esp], eax
jmp 0x100868e9
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call fcn.100866a0
add esp, 8
add eax, 2
cmp eax, 9
ja case.default.0x10086922
mov ecx, ebp
jmp dword [eax*4 + 0x10087240]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
jmp 0x10086ce0
mov esi, edx
jmp 0x100868e9
movzx eax, byte [eax]
mov dword [esi], eax
jmp 0x100868e9
movzx eax, word [eax]
mov dword [esi], eax
jmp 0x100868e9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
jmp 0x10086ce0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
jmp 0x10086ce0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
jmp 0x10086ce0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
jmp 0x10086ce0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
jmp 0x10086ce0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
jmp 0x10086ce0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
jmp 0x10086ce0
mov eax, dword [esp + 0x1c]
jmp case.0x10086b26.0
mov eax, dword [esp + 0x2c]
jmp case.0x10086b26.0
mov eax, dword [esp + 0x30]
jmp case.0x10086b26.0
mov eax, dword [esp + 0x18]
jmp case.0x10086b26.0
mov eax, dword [esp + 0x24]
jmp case.0x10086b26.0
mov eax, dword [esp + 0x20]
jmp case.0x10086b26.0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 4]
or ecx, edi
add ecx, dword [eax]
mov dword [esi + 4], ecx
jmp 0x100868e6
mov edi, dword [esi]
mov eax, edi
add esp, 0x1c8
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [fcn.1007aff0]
push 2
call esi
add esp, 4
push str.truncated_sleb128_expression
push str.getSLEB128
push str.libunwind:__s____s_n
push eax
call fcn.1007b400
add esp, 0x10
push 2
call esi
add esp, 4
push eax
call sub.msvcrt.dll_fflush
add esp, 4
call sub.msvcrt.dll_abort
mov esi, dword [fcn.1007aff0]
push 2
call esi
add esp, 4
push str.unsupported_x86_register
push str.getRegister
jmp 0x10086ef6
mov esi, dword [fcn.1007aff0]
push 2
call esi
add esp, 4
push str.DWARF_opcode_not_implemented
jmp 0x10086f6c
mov esi, dword [fcn.1007aff0]
push 2
call esi
add esp, 4
push str.DW_OP_piece_not_implemented
jmp 0x10086f6c
mov esi, dword [fcn.1007aff0]
push 2
call esi
add esp, 4
push str.DW_OP_fbreg_not_implemented
push str.evaluateExpression
jmp 0x10086ef6
mov esi, dword [fcn.1007aff0]
push 2
call esi
add esp, 4
push str.DW_OP_deref_size_with_bad_size
jmp 0x10086f6c