Function at 0x1800338c0
Capabilities:
Encrypt data using rc4 ksa
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
lea eax, [r8 + 0x931]
mov esi, r8d
mov dword [rsp + 0x34], eax
mov r12, rdx
mov r13, rcx
cmp r8d, eax
jae 0x18003423a
mov ebx, dword [rsp + 0xe0]
mov eax, dword [rsp + 0xe0]
mov r14, qword [rsp + 0x58]
mov dword [rsp + 0xe0], eax
mov ecx, dword [rsp + 0xe0]
mov r11d, dword [rsp + 0xe0]
mov r8d, dword [rsp + 0xe0]
mov r10d, dword [rsp + 0xe0]
mov edx, dword [rsp + 0xe0]
mov r15d, dword [rsp + 0xe0]
mov ebp, dword [rsp + 0xe0]
mov dword [rsp + 0x54], ecx
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x4c], ecx
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x78], rcx
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x80], r14
mov dword [rsp + 0x3c], r10d
mov dword [rsp + 0x50], edx
nop dword [rax]
nop word [rax + rax]
mov edi, r8d
cmp esi, 0x1b7
ja 0x180033cf2
je 0x180033cbf
lea eax, [rsi - 0x4d]
cmp eax, 0xd2
ja case.default.0x1800339fc
lea rdi, [0x180000000]
movzx eax, byte [rdi + rax + 0x34278]
mov ecx, dword [rdi + rax*4 + 0x3425c]
add rcx, rdi
jmp rcx
mov ecx, dword [rsp + 0x54]
sub ecx, 0x32
je 0x180033a2d
sub ecx, 1
je 0x180033a2d
sub ecx, 2
je 0x180033a2d
cmp ecx, 1
je 0x180033a2d
mov rax, qword [r13]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x403
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax]
mov rax, qword [r13]
lea r8, [rsp + 0x40]
mov rdx, qword [r14 + 0x18]
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov esi, 0x102
mov qword [rsp + 0x20], rdi
lea ecx, [rdi + 0x28]
call fcn.18005b730
mov rdx, qword [r14 + 0x18]
lea r8, [rsp + 0x58]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov rax, qword [r13]
lea ecx, [rdi + 0x28]
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], rdi
call fcn.18005b730
mov r11d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0xe0], eax
mov r10d, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x34]
jmp 0x180033f39
mov rax, qword [r12]
xor esi, esi
mov edi, dword [rax + 0x1c]
imul edi, r10d
cmp dword [rax + 0x14], esi
jle 0x180033bb3
nop dword [rax]
nop word [rax + rax]
movsxd r14, esi
xor ebx, ebx
cmp ebx, 6
ja case.default.0x180033ae0
lea r8, [0x180000000]
mov ecx, dword [r8 + rbx*4 + 0x3434c]
add rcx, r8
jmp rcx
mov r15d, ebp
imul r15d, r10d
jmp case.default.0x180033ae0
mov rax, qword [r12]
mov ecx, dword [rax + 0x20]
sub ecx, edx
cmp ebp, ecx
cmovl ecx, ebp
mov ebp, dword [rax + 8]
sub ebp, edx
cmp ecx, ebp
cmovl ebp, ecx
jmp case.default.0x180033ae0
add edi, r15d
jmp case.default.0x180033ae0
mov rax, qword [r12]
cmp dword [r9], 0
mov r9d, edi
mov rcx, qword [r13]
mov dword [rsp + 0x20], r15d
mov r8, qword [rax]
lea rdx, [rax + 0x38]
mov r8, qword [r8 + r14*8]
je 0x180033b44
call qword [rax + 0x40]
mov edx, dword [rsp + 0x50]
mov r9, qword [rsp + 0xe8]
mov r10d, dword [rsp + 0x3c]
jmp case.default.0x180033ae0
call qword [rax + 0x38]
mov edx, dword [rsp + 0x50]
mov r9, qword [rsp + 0xe8]
mov r10d, dword [rsp + 0x3c]
jmp case.default.0x180033ae0
mov rax, qword [r12]
mov edx, dword [rax + 0x1c]
add edx, esi
mov dword [rsp + 0x50], edx
jmp case.default.0x180033ae0
test ebp, ebp
jle 0x180033b9d
jmp case.default.0x180033ae0
mov rax, qword [r12]
mov ebp, dword [rax + 0x14]
sub ebp, esi
cmp dword [rax + 0x18], ebp
cmovl ebp, dword [rax + 0x18]
inc ebx
lea eax, [rbx + 0x1e]
cmp eax, 0x25
jb 0x180033ac5
mov rax, qword [r12]
add esi, dword [rax + 0x18]
cmp esi, dword [rax + 0x14]
jl 0x180033ac0
mov r14, qword [rsp + 0x80]
mov r11d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
mov ebx, dword [rsp + 0x40]
mov esi, 0x11f
jmp case.0x1800339fc.78
mov rax, qword [r12]
mov r10d, dword [rax + 0xc]
shl r10d, 7
mov dword [rsp + 0x3c], r10d
jmp case.0x1800339fc.78
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x30]
mov rax, qword [r13]
mov r8d, dword [rax + 0x30]
test r8d, r8d
je 0x180033f29
mov r9, qword [rsp + 0x68]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov rcx, qword [rsp + 0x78]
movzx ecx, byte [rax + rcx]
mov byte [r9], cl
inc r9
add r8d, 0xffffffff
jne 0x180033c00
mov qword [rsp + 0x68], r9
jmp 0x180033f29
mov rdi, qword [r12]
mov edx, 1
mov qword [rsp + 0x70], rdi
mov rax, qword [rdi + 0x48]
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x40]
mov rcx, qword [rdi + 0x30]
mov qword [rsp + 0x78], rax
call fcn.180082cbc
cmp rax, qword [rdi + 0x40]
je 0x180033c6b
mov rax, qword [r13]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x2b
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax]
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
jmp 0x180033f1f
mov r14, qword [r12]
mov qword [rsp + 0x80], r14
mov rcx, qword [r14 + 0x18]
call fcn.180083414
cmp eax, 0x50
je 0x180033cad
mov rax, qword [r13]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x403
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [r14 + 0x18]
call fcn.180083414
mov dword [rsp + 0x54], eax
jmp 0x180033f1f
mov rax, qword [r13]
lea r8, [rsp + 0x58]
mov rdx, qword [r14 + 0x18]
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
lea ecx, [r9 + 0x28]
call fcn.18005b730
mov r11d, eax
mov dword [rsp + 0x38], eax
jmp 0x180033f24
cmp esi, 0x3d6
ja 0x18003411d
je 0x180033d95
cmp esi, 0x1c6
je 0x180034233
cmp esi, 0x26c
je 0x180033d31
cmp esi, 0x321
jne 0x180033f39
mov dword [rsp + 0x48], 0
jmp 0x180033f39
test ebx, ebx
je 0x180033d3e
test eax, eax
je 0x180033d3e
test r11d, r11d
jne 0x180033d5f
mov rax, qword [r13]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x403
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax]
mov r11d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x3c]
mov rax, qword [r13]
mov r8d, 1
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x30], r8d
mov dword [rax + 0x48], 8
mov rax, qword [r13]
mov dword [rax + 0x30], ebx
mov rax, qword [r13]
mov dword [rax + 0x34], ecx
mov eax, ecx
mov ecx, dword [rsp + 0x34]
jmp 0x180033f39
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x4c], 1
sub ecx, 0x32
je 0x180033e9b
sub ecx, 1
je 0x180033fd6
sub ecx, 2
je 0x180034070
cmp ecx, 1
jne case.0x1800339fc.78
mov ebx, 0x27
nop word [rax + rax]
mov eax, ebx
mov dword [rsp + 0x30], edi
mov r8d, edi
sub eax, 0x27
je 0x180033dec
cmp eax, 1
je 0x180033ece
jmp 0x180033e7b
mov rax, qword [r13]
mov edx, 1
mov dword [rax + 0x38], 3
mov rax, qword [r13]
mov dword [rax + 0x3c], 2
mov rax, qword [r13]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x406
mov rax, qword [r13]
mov rcx, qword [rax]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 0x2c], eax
mov rax, qword [r13]
mov rcx, qword [rax]
mov eax, dword [rsp + 0xe0]
mov dword [rcx + 0x30], eax
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax + 8]
mov r11d, dword [rsp + 0x38]
cmp r11d, 0xff
jbe 0x180033e55
lea rax, [0x180040290]
jmp 0x180033e77
jne 0x180033e70
lea rax, [0x18003fd80]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], 0
jmp 0x180033e77
lea rax, [0x18003fde0]
mov qword [r14 + 8], rax
inc ebx
cmp ebx, 0x29
jb 0x180033dd0
mov r10d, dword [rsp + 0x3c]
mov r8d, edi
mov ebx, dword [rsp + 0x40]
mov dword [rsp + 0x30], edi
jmp case.0x1800339fc.78
mov ebx, 0xbe
cmp ebx, 0xbe
je 0x180033f62
cmp ebx, 0x15b
je 0x180033f58
mov r8d, dword [rsp + 0x30]
cmp ebx, 0x1f8
jne 0x180033fc4
mov r11d, dword [rsp + 0x38]
mov ebx, dword [rsp + 0x40]
mov eax, dword [rsp + 0xe0]
mov esi, 0x48b
test r8d, r8d
je 0x180033a8f
mov rax, qword [r13]
mov edx, 1
movsxd r8, dword [rax + 0x38]
xor eax, eax
cmp r11d, 0xff
seta al
inc rax
imul r8, rax
mov eax, ebx
imul r8, rax
mov qword [r14 + 0x40], r8
mov rcx, qword [r13]
mov rax, qword [rcx + 8]
call qword [rax]
mov qword [r14 + 0x30], rax
mov r11d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0xe0]
add esi, 0xb5
cmp esi, ecx
jae 0x18003423a
mov edx, dword [rsp + 0x50]
mov r9, qword [rsp + 0xe8]
jmp 0x1800339c0
xor r8d, r8d
mov dword [rsp + 0x30], r8d
jmp 0x180033fc4
mov rax, qword [r13]
mov edx, 1
mov dword [rax + 0x38], 1
mov rax, qword [r13]
mov dword [rax + 0x3c], 1
mov rax, qword [r13]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x405
mov rax, qword [r13]
mov rcx, qword [rax]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 0x2c], eax
mov rax, qword [r13]
mov rcx, qword [rax]
mov eax, dword [rsp + 0xe0]
mov dword [rcx + 0x30], eax
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax + 8]
mov r8d, dword [rsp + 0x30]
lea rax, [0x18003fe10]
mov qword [r14 + 8], rax
add ebx, 0x9d
cmp ebx, 0x295
jb 0x180033ea0
mov ebx, 0x13
nop dword [rax + rax]
cmp ebx, 0x13
je 0x180033ff0
cmp ebx, 0x44
je 0x180033ec9
jmp 0x180034055
mov rax, qword [r13]
mov edx, 1
mov dword [rax + 0x38], 3
mov rax, qword [r13]
mov dword [rax + 0x3c], 2
mov rax, qword [r13]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x407
mov rax, qword [r13]
mov rcx, qword [rax]
mov eax, dword [rsp + 0x40]
mov dword [rcx + 0x2c], eax
mov rax, qword [r13]
mov rcx, qword [rax]
mov eax, dword [rsp + 0xe0]
mov dword [rcx + 0x30], eax
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [0x18003fe40]
xor r8d, r8d
mov qword [r14 + 8], rax
mov dword [rsp + 0x30], r8d
add ebx, 0x31
cmp ebx, 0x75
jb 0x180033fe0
mov ebx, dword [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r13]
mov edx, 1
mov dword [rax + 0x38], 1
mov rax, qword [r13]
mov dword [rax + 0x3c], 1
mov rax, qword [r13]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x404
mov rax, qword [r13]
mov rcx, qword [rax]
mov dword [rcx + 0x2c], ebx
mov rax, qword [r13]
mov rcx, qword [rax]
mov eax, dword [rsp + 0xe0]
mov dword [rcx + 0x30], eax
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax + 8]
mov r11d, dword [rsp + 0x38]
cmp r11d, 0xff
jbe 0x1800340e1
mov r8d, dword [rsp + 0x30]
lea rax, [0x18003fe80]
mov qword [r14 + 8], rax
jmp 0x180033ed2
jne 0x180034108
mov r8d, dword [rsp + 0x30]
lea rax, [0x18003fd80]
mov qword [r14 + 8], rax
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], 0
jmp 0x180033ed2
mov r8d, dword [rsp + 0x30]
lea rax, [0x18003fdb0]
mov qword [r14 + 8], rax
jmp 0x180033ed2
cmp esi, 0x48b
je 0x180033ed9
cmp esi, 0x540
jne 0x180033f39
cmp dword [rsp + 0x48], 0
je 0x180034149
mov rax, qword [r14 + 0x30]
lea rcx, [r14 + 0x38]
mov qword [rcx], rax
jmp 0x180034176
mov rcx, qword [r13]
mov edx, 1
mov r9d, edx
mov r8d, dword [rcx + 0x38]
mov rax, qword [rcx + 8]
imul r8d, ebx
call qword [rax + 0x10]
mov r11d, dword [rsp + 0x38]
mov rcx, rax
mov r8d, dword [rsp + 0x30]
mov r10d, dword [rsp + 0x3c]
cmp dword [rsp + 0x4c], 0
mov qword [r14 + 0x20], rcx
mov dword [r14 + 0x28], 1
je case.0x1800339fc.78
mov r12d, dword [rsp + 0x60]
mov ebx, 0xc1
cmp ebx, 0xc1
je 0x1800341e5
cmp ebx, 0xf14
jne 0x18003420b
xor r9d, r9d
test r11d, r11d
js 0x18003420b
lea eax, [r11 + 1]
mov ecx, r12d
movsxd r10, eax
nop dword [rax]
mov eax, ecx
lea r9, [r9 + 1]
xor edx, edx
add ecx, 0xff
div r11d
mov r8d, eax
mov rax, qword [r14 + 0x48]
mov byte [r9 + rax - 1], r8b
sub r10, 1
jne 0x1800341c0
jmp 0x18003420b
mov rcx, qword [r13]
lea eax, [r11 + 1]
movsxd r8, eax
mov edx, 1
mov r9, qword [rcx + 8]
call qword [r9]
mov r11d, dword [rsp + 0x38]
mov r12d, r11d
shr r12d, 1
mov qword [r14 + 0x48], rax
add ebx, 0xe53
cmp ebx, 0x1ca6
jbe 0x180034197
mov ebx, dword [rsp + 0x40]
mov dword [rsp + 0x60], r12d
mov r12, qword [rsp + 0xd8]
jmp 0x180033f24
mov eax, 1
jmp 0x180034241
mov eax, dword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret