Function at 0x180b17320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test rax, rax
je 0x180bb40bc
cmp r11, rsi
jmp 0x180bb4429
call rax
mov r11, rax
cmp r13, 0x6f317906
test rax, rax
jne 0x180b1732c
lea rcx, [rsp + 0x50]
jmp 0x180bb441d
call rax
jmp 0x180bb4571
mov byte [rsp + 0x18], r8b
cmp r11b, 0xe3
mov qword [rsp + 0x10], rdx
test spl, r13b
cmp bpl, spl
clc
push rbp
movsx ebp, si
push rsi
sub rsp, 0x178
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
je 0x180bb3f8b
test rdx, rdx
jmp 0x180bb3f6c
je 0x180bb3f8b
mov eax, 0x5a4d
test edx, 0x3e976a48
cmp word [rcx], ax
jmp 0x180bb3f85
je 0x180bb3fb5
sub eax, eax
xor rsi, 0x6a844e95
clc
sub sil, 0x5a
add rsp, 0x178
pop rsi
xchg bpl, bpl
jmp 0x180bb3fae
pop rbp
jmp 0x180bb3fb4
ret
movsxd rax, dword [rcx + 0x3c]
test ah, 0xd9
jmp 0x180bb3fc2
cmp dword [rax + rcx], 0x4550
jmp 0x180bb3fce
jne 0x180bb3f8b
mov r8d, dword [rax + rcx + 0x88]
test dil, 4
cmp r10d, 0x33b01265
mov dword [rsp + 0x30], r8d
jmp 0x180bb3ff1
test r8d, r8d
jmp 0x180bb3ff9
je 0x180bb3f8b
mov r9d, dword [rax + rcx + 0x8c]
cqo
cwd
or cx, 0xd78
lea rdx, [rsi + r8]
test sil, 0x34
rcr ch, 0xd3
btr cx, r14w
mov qword [rsp + 0x170], rbx
rcl ch, 0xaf
mov qword [rsp + 0x168], rdi
rol ch, 0xea
and cl, 0x46
rcr ch, 0x15
mov ecx, 0xffffffff
xor edi, edi
test ax, ax
mov dword [rsp + 0x20], r9d
test r9w, si
test r15b, 0x68
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x190], ecx
test ecx, 0x750d6822
cmp dil, r10b
cmp rbp, 0xffff
ja 0x180bb40c8
mov ecx, ebp
cmc
sub ecx, dword [rdx + 0x10]
jmp 0x180bb4080
cmp ecx, dword [rdx + 0x14]
jmp 0x180bb4088
jae 0x180bb40bc
mov eax, dword [rdx + 0x1c]
mov edx, 0x61f37237
or edx, 0x11f2612a
test bp, 0x3616
lea rax, [rax + rsi]
setge dh
mov edx, dword [rax + rcx*4]
cmp r11, r13
clc
test edx, edx
jmp 0x180bb40b6
jne 0x180bb42f6
xor eax, eax
jmp 0x180bb40c3
jmp 0x180bb4571
mov eax, dword [rdx + 0x18]
cmp r8, 0x7b4904c7
clc
test eax, eax
jmp 0x180bb40da
je 0x180bb42cc
mov r9d, dword [rdx + 0x20]
lea r11d, [rax - 1]
mov ebx, edi
cmp r9w, 0x56fc
test bp, r10w
lea r9, [r9 + rsi]
mov qword [rsp + 0x40], r9
test r9, rsp
test r11d, r11d
jmp 0x180bb4108
js 0x180bb42c7
nop
cwd
mov r10, qword [rsp + 0x198]
rcr rbp, cl
nop
test r12d, 0x52b356f
lea eax, [r11 + rbx]
bts bp, r8w
bt bp, ax
mov rbp, rdi
cdq
btr r8w, 0x5e
xadd dl, r8b
sar eax, 1
sar edx, cl
sbb r8b, cl
btr r8w, ax
mov dword [rsp + 0x1a8], eax
adc r8b, bpl
mov qword [rsp + 0x38], rax
test dil, r14b
movsxd rdx, r9d
mov r8d, dword [r9 + rax*4]
setle dl
shld rdx, rbp, 0x11
adc dl, r9b
mov eax, dword [r9 + rax*4]
xadd dl, dh
rol r9b, cl
sub r10, rax
and r9w, 0x1d6d
movzx eax, byte [rsp + 0x1a0]
shr r9w, cl
or r9b, r15b
rcr dh, 0x28
add r8, rsi
btc r9w, si
sub r10, rsi
movzx dx, dh
nop
movzx edx, byte [r10 + r8]
movsx r9d, r15w
movzx r9d, byte [r8]
inc r8
cmp r12b, 0xe9
test al, al
jmp 0x180bb41c0
je 0x180bb41ed
mov ecx, ebp
mov eax, 0x571b41b5
clc
stc
cmc
rol eax, cl
add al, bpl
cmc
stc
jmp 0x180bb41dc
xor dl, al
mov al, byte [rsp + 0x1a0]
jmp 0x180bb41ea
inc rbp
test dl, dl
jmp 0x180bb41f4
je 0x180bb4203
cmp dl, r9b
je 0x180bb41a5
cmp dl, r9b
jb 0x180bb426d
cmp dl, r9b
jbe 0x180bb423d
mov ebx, dword [rsp + 0x1a8]
xchg edx, edx
movsx rdx, si
mov rdx, qword [rsp + 0x28]
movsxd rcx, r12d
mov ecx, dword [rsp + 0x190]
inc ebx
jmp 0x180bb4238
jmp 0x180bb428f
mov rdx, qword [rsp + 0x28]
lea ebx, [r11 + 1]
bswap ecx
movsx ecx, bx
mov eax, dword [rdx + 0x24]
lea rcx, [rsi + rax]
cwde
mov rax, qword [rsp + 0x38]
jmp 0x180bb425d
movzx ecx, word [rcx + rax*2]
mov dword [rsp + 0x190], ecx
jmp 0x180bb428f
mov r11d, dword [rsp + 0x1a8]
inc dx
mov rdx, qword [rsp + 0x28]
movzx r9d, r9w
setle r9b
mov ecx, dword [rsp + 0x190]
dec r11d
cmp ebx, r11d
bswap r9d
mov r9, qword [rsp + 0x40]
jle 0x180bb4111
mov rbp, qword [rsp + 0x198]
mov r8d, dword [rsp + 0x30]
cmovg r9d, r8d
movsx r9, r13w
movsxd r9, r15d
mov r9d, dword [rsp + 0x20]
jmp 0x180bb42c2
jmp 0x180bb42cc
mov r9d, dword [rsp + 0x20]
cmp ecx, dword [rdx + 0x14]
jmp 0x180bb42d4
jae 0x180bb40bc
mov eax, dword [rdx + 0x1c]
add rax, rsi
add dl, 0x5b
mov edx, dword [rax + rcx*4]
cmp r11b, spl
jmp 0x180bb42ee
test edx, edx
je 0x180bb40bc
cmp edx, r8d
jmp 0x180bb42fe
jb 0x180bb455f
lea eax, [r9 + r8]
test si, 0x6f57
cmc
cmp cx, ax
cmp edx, eax
jae 0x180bb455f
mov eax, edx
bt cx, 0xae
xor rcx, rbx
lea rax, [rax + rsi]
movsxd rbx, edx
xadd ch, cl
sar cl, cl
mov rbx, rax
shl ch, 0xdf
movzx ecx, byte [rax]
jmp 0x180bb433d
test cl, cl
jmp 0x180bb4344
je 0x180bb40bc
cmp cl, 0x2e
jmp 0x180bb4352
je 0x180bb4377
mov cl, byte [rbx + 1]
jmp 0x180bb4360
inc rbx
test cl, cl
jmp 0x180bb436a
jne 0x180bb434a
xor eax, eax
jmp 0x180bb4571
mov r8, rbx
clc
sub r8, rax
test esi, r12d
cmp r8, 0x104
jae 0x180bb40bc
mov rcx, rdi
jmp 0x180bb4397
test r8, r8
jmp 0x180bb439f
je 0x180bb43f5
lea r9, [rsp + 0x50]
sub r9, rax
nop
shrd edx, r12d, 0x8d
movzx edx, byte [rax]
jmp 0x180bb43bf
test dl, dl
jmp 0x180bb43c6
je 0x180bb43f5
inc rcx
jmp 0x180bb43d4
mov byte [r9 + rax], dl
jmp 0x180bb43dd
inc rax
test r8b, bpl
cmp r9b, 0x62
cmp rcx, r8
jmp 0x180bb43ef
jb 0x180bb43b3
mov byte [rsp + rcx + 0x50], dil
movsx rcx, r10w
lea rcx, [rsp + 0x50]
movzx ax, ch
jmp 0x180bb440c
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA_2]
jmp 0x180b38282
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA_2]
jmp 0x180b1731e
jne 0x180bb44cf
cmp byte [rsp + 0x1a0], dil
jmp 0x180bb443c
je 0x180bb44ae
lea rax, [rsp + 0x50]
cmovp rcx, r13
sub rbp, rax
rol eax, cl
nop
bts cx, dx
lea rdx, [rsp + rdi + 0x50]
bts eax, r12d
mov ecx, edi
xchg ah, ah
mov eax, 0x571b41b5
jmp 0x180bb446e
rol eax, cl
add al, dil
cmp r15w, 0x70f
cmc
xor al, byte [rdx + rbp]
jmp 0x180bb4482
mov byte [rdx], al
jmp 0x180bb4489
je 0x180bb44a4
inc rdi
cmp rdi, 0x104
jmp 0x180bb449e
jb 0x180bb4455
lea rbp, [rsp + 0x50]
movzx dx, r15b
mov rdx, rbp
cwde
movzx eax, bx
mov rcx, rsi
mov eax, r14d
cmovo eax, edi
jmp 0x180bb44c3
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress_2]
jmp 0x180ba0d07
cmp byte [rbx + 1], 0x23
lea rdx, [rbx + 1]
jmp 0x180bb44dc
jne 0x180bb4547
movzx edx, byte [rbx + 2]
cmp dil, bl
clc
add rbx, 2
test dl, dl
jmp 0x180bb44f5
je 0x180bb4544
nop
cdqe
lea eax, [rdx - 0x30]
inc rbx
test dil, r13b
cmp di, 0x32a3
stc
cmp al, 9
ja 0x180bb4544
movsx eax, dl
movsx rcx, r15w
mov dl, byte [rbx]
bsf cx, bx
and cx, r10w
rcr cx, 0x97
lea ecx, [rdi + rdi*4]
lea edi, [rax + rcx*2 - 0x30]
cmp r9b, 0xe1
cmc
clc
test dl, dl
jmp 0x180bb453e
jne 0x180bb44fe
movsxd rdx, edi
xor r8d, r8d
mov cl, r13b
mov rcx, r11
jmp 0x180bb4555
call fcn.180bb3f34
jmp 0x180bb4571
mov eax, edx
shrd di, r11w, 0x26
shr dil, cl
lea rax, [rax + rsi]
shl esi, 0xc
mov rbx, qword [rsp + 0x170]
sar dil, 0x70
mov rdi, qword [rsp + 0x168]
add rsp, 0x178
xchg sil, sil
pop rsi
movzx ebp, sp
not rbp
movsx rbp, bx
pop rbp
jmp 0x180bb45a0
ret