Function at 0x100050e0
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 method.libunwind::LocalAddressSpace.getULEB128_unsigned_int__unsigned_int_
add esp, 8
mov ecx, dword [esp]
add eax, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 8], eax
cmp ecx, eax
jae 0x10005342
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 0x10004d66
add edx, 0xffffffd0
mov dword [esi + 4], edx
add esi, 4
mov ecx, dword [esp]
cmp ecx, dword [esp + 8]
jae 0x10005340
lea ebx, [ecx + 1]
mov dword [esp], ebx
movzx edx, byte [ecx]
lea eax, [edx - 3]
cmp eax, 0x91
ja case.0x10004d7d.4
jmp dword [eax*4 + 0x100053f8]
add edx, 0xffffffb0
cmp edx, 7
ja case.default.0x10004d92
mov eax, ebp
jmp dword [edx*4 + 0x100056d8]
mov eax, dword [esp + 0x18]
jmp case.0x10004d92.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 0x1000534f
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 0x10004dd0
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.0x10004d92
mov ebp, dword [esp + 0x1e4]
mov ecx, ebp
mov esi, dword [esp + 0x14]
jmp dword [edx*4 + 0x10005688]
mov ecx, dword [esp + 0xc]
jmp case.0x10004e56.112
mov eax, dword [esp + 0xc]
jmp case.0x10004d92.80
mov eax, dword [esp + 0x1c]
jmp case.0x10004d92.80
mov eax, dword [esp + 0x20]
jmp case.0x10004d92.80
mov eax, dword [esp + 0x2c]
jmp case.0x10004d92.80
mov eax, dword [esp + 0x24]
jmp case.0x10004d92.80
mov eax, dword [esp + 0x28]
nop word cs:[eax + eax]
mov eax, dword [eax]
jmp 0x10005150
mov ecx, dword [esp + 0x1c]
jmp case.0x10004e56.112
mov ecx, dword [esp + 0x2c]
jmp case.0x10004e56.112
mov ecx, dword [esp + 0x30]
jmp case.0x10004e56.112
mov ecx, dword [esp + 0x18]
jmp case.0x10004e56.112
mov ecx, dword [esp + 0x24]
jmp case.0x10004e56.112
mov ecx, dword [esp + 0x20]
jmp case.0x10004e56.112
mov ecx, dword [esp + 0x28]
nop
mov edx, dword [esp + 4]
or edx, eax
add edx, dword [ecx]
jmp 0x10004d53
mov eax, dword [ecx + 1]
add ecx, 5
jmp 0x10005149
mov eax, dword [ecx + 1]
add ecx, 9
jmp 0x10005149
mov dword [esp + 0x14], esi
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call method.libunwind::LocalAddressSpace.getULEB128_unsigned_int__unsigned_int_
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 0x1000534f
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 0x10004f10
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.0x10004d92
mov ebp, dword [esp + 0x1e4]
mov eax, ebp
mov esi, dword [esp + 0x14]
jmp dword [ecx*4 + 0x10005660]
mov eax, dword [esp + 0xc]
jmp case.0x10004f96.0
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setb cl
jmp 0x10005253
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setbe cl
jmp 0x10005253
mov eax, dword [esi - 4]
cdq
idiv dword [esi]
mov dword [esi - 4], edx
add esi, 0xfffffffc
jmp 0x10004d59
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
sete cl
jmp 0x10005253
movsx eax, word [ecx + 1]
jmp 0x10005146
movsx eax, word [ecx + 1]
add ecx, 3
mov dword [esp], ecx
lea edx, [esi - 4]
cmp dword [esi], 0
je 0x100052a0
add ecx, eax
mov dword [esp], ecx
mov esi, edx
jmp 0x10004d59
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setae cl
jmp 0x10005253
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 0x1000534f
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 0x10005040
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 0x10004d59
mov eax, dword [esi]
and dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x10004d59
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
seta cl
jmp 0x10005253
mov eax, dword [esi]
xor dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x10004d59
mov eax, dword [esi]
test eax, eax
jns 0x10004d59
neg eax
mov dword [esi], eax
jmp 0x10004d59
mov eax, dword [esi]
jmp 0x10005150
movsx eax, byte [ecx + 1]
jmp 0x10005121
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call method.libunwind::LocalAddressSpace.getULEB128_unsigned_int__unsigned_int_
add esp, 8
jmp 0x10005150
movzx eax, byte [ecx + 1]
add ecx, 2
jmp 0x10005149
add esi, 0xfffffffc
jmp 0x10004d59
mov eax, dword [esi]
movsd xmm0, qword [esi - 8]
movsd qword [esi - 4], xmm0
mov dword [esi - 8], eax
jmp 0x10004d59
movzx eax, word [ecx + 1]
add ecx, 3
mov dword [esp], ecx
nop dword [eax]
mov dword [esi + 4], eax
jmp 0x10004d56
mov eax, dword [esi]
jmp case.0x100051db.4
mov eax, dword [esi - 4]
cdq
idiv dword [esi]
jmp 0x1000521d
mov eax, dword [esi - 4]
jmp 0x10005150
movsd xmm0, qword [esi - 4]
shufps xmm0, xmm0, 0xe1
movlps qword [esi - 4], xmm0
jmp 0x10004d59
movzx eax, byte [ecx + 1]
add ecx, 2
mov dword [esp], ecx
shl eax, 2
neg eax
mov eax, dword [esi + eax]
jmp 0x10005150
not dword [esi]
jmp 0x10004d59
movzx ecx, byte [esi]
shl dword [esi - 4], cl
add esi, 0xfffffffc
jmp 0x10004d59
movzx ecx, byte [esi]
shr dword [esi - 4], cl
add esi, 0xfffffffc
jmp 0x10004d59
mov eax, dword [esi]
add dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x10004d59
mov eax, dword [esi]
lea edx, [ecx + 2]
mov dword [esp], edx
movzx ecx, byte [ecx + 1]
dec ecx
cmp ecx, 7
ja case.0x100051db.3
jmp dword [ecx*4 + 0x10005640]
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x10004d59
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call method.libunwind::LocalAddressSpace.getULEB128_unsigned_int__unsigned_int_
add esp, 8
add dword [esi], eax
jmp 0x10004d59
movzx ecx, byte [esi]
sar dword [esi - 4], cl
add esi, 0xfffffffc
jmp 0x10004d59
mov eax, dword [esi]
mov eax, dword [eax]
jmp 0x1000521d
mov eax, dword [esi - 4]
imul eax, dword [esi]
mov dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x10004d59
mov eax, dword [esi]
sub dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x10004d59
mov eax, dword [esi]
or dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x10004d59
neg dword [esi]
jmp 0x10004d59
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setne cl
mov dword [esi - 4], ecx
add esi, 0xfffffffc
jmp 0x10004d59
movsx eax, word [ecx + 1]
add eax, ecx
add eax, 3
mov dword [esp], eax
jmp 0x10004d59
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call method.libunwind::LocalAddressSpace.getULEB128_unsigned_int__unsigned_int_
add esp, 8
add eax, 2
cmp eax, 9
ja case.default.0x10004d92
mov ecx, ebp
jmp dword [eax*4 + 0x100056b0]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
jmp 0x10005150
mov esi, edx
jmp 0x10004d59
movzx eax, byte [eax]
mov dword [esi], eax
jmp 0x10004d59
movzx eax, word [eax]
mov dword [esi], eax
jmp 0x10004d59
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
jmp 0x10005150
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
jmp 0x10005150
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
jmp 0x10005150
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
jmp 0x10005150
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
jmp 0x10005150
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
jmp 0x10005150
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
jmp 0x10005150
mov eax, dword [esp + 0x1c]
jmp case.0x10004f96.0
mov eax, dword [esp + 0x2c]
jmp case.0x10004f96.0
mov eax, dword [esp + 0x30]
jmp case.0x10004f96.0
mov eax, dword [esp + 0x18]
jmp case.0x10004f96.0
mov eax, dword [esp + 0x24]
jmp case.0x10004f96.0
mov eax, dword [esp + 0x20]
jmp case.0x10004f96.0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 4]
or ecx, edi
add ecx, dword [eax]
mov dword [esi + 4], ecx
jmp 0x10004d56
mov edi, dword [esi]
mov eax, edi
add esp, 0x1c8
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [dbg.__acrt_iob_func]
push 2
call esi
add esp, 4
push str.truncated_sleb128_expression
push str.getSLEB128
push 0x1000e3a8
push eax
call dbg.__mingw_fprintf
add esp, 0x10
push 2
call esi
add esp, 4
push eax
call sym._fflush
add esp, 4
call sym._abort
mov esi, dword [dbg.__acrt_iob_func]
push 2
call esi
add esp, 4
push str.unsupported_x86_register
push str.getRegister
jmp 0x10005366
mov esi, dword [dbg.__acrt_iob_func]
push 2
call esi
add esp, 4
push str.DWARF_opcode_not_implemented
jmp 0x100053dc
mov esi, dword [dbg.__acrt_iob_func]
push 2
call esi
add esp, 4
push str.DW_OP_piece_not_implemented
jmp 0x100053dc
mov esi, dword [dbg.__acrt_iob_func]
push 2
call esi
add esp, 4
push str.DW_OP_fbreg_not_implemented
push str.evaluateExpression
jmp 0x10005366
mov esi, dword [dbg.__acrt_iob_func]
push 2
call esi
add esp, 4
push str.DW_OP_deref_size_with_bad_size
jmp 0x100053dc