Function at 0x4165f0
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.00416020
add esp, 8
mov ecx, dword [esp]
add eax, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 8], eax
cmp ecx, eax
jae 0x416852
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 0x416276
add edx, 0xffffffd0
mov dword [esi + 4], edx
add esi, 4
mov ecx, dword [esp]
cmp ecx, dword [esp + 8]
jae 0x416850
lea ebx, [ecx + 1]
mov dword [esp], ebx
movzx edx, byte [ecx]
lea eax, [edx - 3]
cmp eax, 0x91
ja case.0x41628d.4
jmp dword [eax*4 + 0x416908]
add edx, 0xffffffb0
cmp edx, 7
ja case.default.0x4162a2
mov eax, ebp
jmp dword [edx*4 + 0x416be8]
mov eax, dword [esp + 0x18]
jmp case.0x4162a2.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 0x41685f
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 0x4162e0
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.0x4162a2
mov ebp, dword [esp + 0x1e4]
mov ecx, ebp
mov esi, dword [esp + 0x14]
jmp dword [edx*4 + 0x416b98]
mov ecx, dword [esp + 0xc]
jmp case.0x416366.112
mov eax, dword [esp + 0xc]
jmp case.0x4162a2.80
mov eax, dword [esp + 0x1c]
jmp case.0x4162a2.80
mov eax, dword [esp + 0x20]
jmp case.0x4162a2.80
mov eax, dword [esp + 0x2c]
jmp case.0x4162a2.80
mov eax, dword [esp + 0x24]
jmp case.0x4162a2.80
mov eax, dword [esp + 0x28]
nop word cs:[eax + eax]
mov eax, dword [eax]
jmp 0x416660
mov ecx, dword [esp + 0x1c]
jmp case.0x416366.112
mov ecx, dword [esp + 0x2c]
jmp case.0x416366.112
mov ecx, dword [esp + 0x30]
jmp case.0x416366.112
mov ecx, dword [esp + 0x18]
jmp case.0x416366.112
mov ecx, dword [esp + 0x24]
jmp case.0x416366.112
mov ecx, dword [esp + 0x20]
jmp case.0x416366.112
mov ecx, dword [esp + 0x28]
nop
mov edx, dword [esp + 4]
or edx, eax
add edx, dword [ecx]
jmp 0x416263
mov eax, dword [ecx + 1]
add ecx, 5
jmp 0x416659
mov eax, dword [ecx + 1]
add ecx, 9
jmp 0x416659
mov dword [esp + 0x14], esi
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call fcn.00416020
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 0x41685f
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 0x416420
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.0x4162a2
mov ebp, dword [esp + 0x1e4]
mov eax, ebp
mov esi, dword [esp + 0x14]
jmp dword [ecx*4 + 0x416b70]
mov eax, dword [esp + 0xc]
jmp case.0x4164a6.0
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setb cl
jmp 0x416763
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setbe cl
jmp 0x416763
mov eax, dword [esi - 4]
cdq
idiv dword [esi]
mov dword [esi - 4], edx
add esi, 0xfffffffc
jmp 0x416269
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
sete cl
jmp 0x416763
movsx eax, word [ecx + 1]
jmp 0x416656
movsx eax, word [ecx + 1]
add ecx, 3
mov dword [esp], ecx
lea edx, [esi - 4]
cmp dword [esi], 0
je 0x4167b0
add ecx, eax
mov dword [esp], ecx
mov esi, edx
jmp 0x416269
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setae cl
jmp 0x416763
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 0x41685f
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 0x416550
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 0x416269
mov eax, dword [esi]
and dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x416269
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
seta cl
jmp 0x416763
mov eax, dword [esi]
xor dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x416269
mov eax, dword [esi]
test eax, eax
jns 0x416269
neg eax
mov dword [esi], eax
jmp 0x416269
mov eax, dword [esi]
jmp 0x416660
movsx eax, byte [ecx + 1]
jmp 0x416631
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call fcn.00416020
add esp, 8
jmp 0x416660
movzx eax, byte [ecx + 1]
add ecx, 2
jmp 0x416659
add esi, 0xfffffffc
jmp 0x416269
mov eax, dword [esi]
movsd xmm0, qword [esi - 8]
movsd qword [esi - 4], xmm0
mov dword [esi - 8], eax
jmp 0x416269
movzx eax, word [ecx + 1]
add ecx, 3
mov dword [esp], ecx
nop dword [eax]
mov dword [esi + 4], eax
jmp 0x416266
mov eax, dword [esi]
jmp case.0x4166eb.4
mov eax, dword [esi - 4]
cdq
idiv dword [esi]
jmp 0x41672d
mov eax, dword [esi - 4]
jmp 0x416660
movsd xmm0, qword [esi - 4]
shufps xmm0, xmm0, 0xe1
movlps qword [esi - 4], xmm0
jmp 0x416269
movzx eax, byte [ecx + 1]
add ecx, 2
mov dword [esp], ecx
shl eax, 2
neg eax
mov eax, dword [esi + eax]
jmp 0x416660
not dword [esi]
jmp 0x416269
movzx ecx, byte [esi]
shl dword [esi - 4], cl
add esi, 0xfffffffc
jmp 0x416269
movzx ecx, byte [esi]
shr dword [esi - 4], cl
add esi, 0xfffffffc
jmp 0x416269
mov eax, dword [esi]
add dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x416269
mov eax, dword [esi]
lea edx, [ecx + 2]
mov dword [esp], edx
movzx ecx, byte [ecx + 1]
dec ecx
cmp ecx, 7
ja case.0x4166eb.3
jmp dword [ecx*4 + 0x416b50]
mov eax, dword [eax]
mov dword [esi], eax
jmp 0x416269
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call fcn.00416020
add esp, 8
add dword [esi], eax
jmp 0x416269
movzx ecx, byte [esi]
sar dword [esi - 4], cl
add esi, 0xfffffffc
jmp 0x416269
mov eax, dword [esi]
mov eax, dword [eax]
jmp 0x41672d
mov eax, dword [esi - 4]
imul eax, dword [esi]
mov dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x416269
mov eax, dword [esi]
sub dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x416269
mov eax, dword [esi]
or dword [esi - 4], eax
add esi, 0xfffffffc
jmp 0x416269
neg dword [esi]
jmp 0x416269
mov eax, dword [esi - 4]
xor ecx, ecx
cmp eax, dword [esi]
setne cl
mov dword [esi - 4], ecx
add esi, 0xfffffffc
jmp 0x416269
movsx eax, word [ecx + 1]
add eax, ecx
add eax, 3
mov dword [esp], eax
jmp 0x416269
push dword [esp + 8]
lea eax, [esp + 4]
push eax
call fcn.00416020
add esp, 8
add eax, 2
cmp eax, 9
ja case.default.0x4162a2
mov ecx, ebp
jmp dword [eax*4 + 0x416bc0]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
jmp 0x416660
mov esi, edx
jmp 0x416269
movzx eax, byte [eax]
mov dword [esi], eax
jmp 0x416269
movzx eax, word [eax]
mov dword [esi], eax
jmp 0x416269
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
jmp 0x416660
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
jmp 0x416660
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
jmp 0x416660
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
jmp 0x416660
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
jmp 0x416660
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
jmp 0x416660
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
jmp 0x416660
mov eax, dword [esp + 0x1c]
jmp case.0x4164a6.0
mov eax, dword [esp + 0x2c]
jmp case.0x4164a6.0
mov eax, dword [esp + 0x30]
jmp case.0x4164a6.0
mov eax, dword [esp + 0x18]
jmp case.0x4164a6.0
mov eax, dword [esp + 0x24]
jmp case.0x4164a6.0
mov eax, dword [esp + 0x20]
jmp case.0x4164a6.0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 4]
or ecx, edi
add ecx, dword [eax]
mov dword [esi + 4], ecx
jmp 0x416266
mov edi, dword [esi]
mov eax, edi
add esp, 0x1c8
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [fcn.00412b80]
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.0040d3a0
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.00412b80]
push 2
call esi
add esp, 4
push str.unsupported_x86_register
push str.getRegister
jmp 0x416876
mov esi, dword [fcn.00412b80]
push 2
call esi
add esp, 4
push str.DWARF_opcode_not_implemented
jmp 0x4168ec
mov esi, dword [fcn.00412b80]
push 2
call esi
add esp, 4
push str.DW_OP_piece_not_implemented
jmp 0x4168ec
mov esi, dword [fcn.00412b80]
push 2
call esi
add esp, 4
push str.DW_OP_fbreg_not_implemented
push str.evaluateExpression
jmp 0x416876
mov esi, dword [fcn.00412b80]
push 2
call esi
add esp, 4
push str.DW_OP_deref_size_with_bad_size
jmp 0x4168ec