Function at 0x43f8a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x110
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x100], 0
nop
mov rcx, qword [rbp + 0x48]
call fcn.0043f650
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
test rax, rax
je 0x43fe6c
mov rax, qword [rbp + 0x50]
mov eax, dword [rax]
and eax, 0xc0000000
cmp eax, 0x40000000
jne 0x43fe6c
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x2c]
mov rcx, rbp
neg rcx
cmp dword [rax + rcx], 0
jne 0x43f97b
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x2c]
mov rcx, rbp
neg rcx
mov rdx, qword [rbp + 0x50]
mov edx, dword [rdx]
mov dword [rax + rcx], edx
mov rax, qword [0x008a4820]
mov rax, qword [rax]
test rax, rax
je 0x43f99e
mov rcx, qword [rbp + 0x48]
mov ecx, ecx
cmp qword [rax + 8], rcx
je 0x43f99f
mov rax, qword [rax]
test rax, rax
jne 0x43f98a
nop
nop
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x43f9bc
mov rax, qword [rbp + 0x58]
cmp qword [rax + 0x30], 0
jne 0x43fe6d
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x58]
mov rcx, rbp
neg rcx
cmp qword [rax + rcx], 0
je 0x43f9ec
mov rcx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x40]
lea rax, [rax + rbp + 0x58]
mov rbx, rbp
neg rbx
call qword [rax + rbx]
test al, al
jne 0x43f9f1
xor rax, rax
jmp 0x43f9f3
mov al, 1
mov byte [rbp + 0x67], al
lea rcx, [rbp + 0xd8]
mov rdx, qword [rbp + 0x48]
call fcn.0043ffc0
lea rcx, [rbp + 0xe0]
mov rdx, qword [rbp + 0xd8]
call fcn.004338e0
lea rcx, [rbp + 0xe8]
mov rdx, qword [rbp + 0xe0]
xor r8, r8
call fcn.00433780
lea rcx, [rbp + 0x100]
mov rdx, qword [rbp + 0xe8]
mov r8w, 0xfde9
call fcn.0040f5b0
mov rax, qword [rbp + 0x50]
lea rbx, [rax + 8]
mov rax, qword [rbp + 0x50]
mov esi, dword [rax + 4]
xor rax, rax
sub esi, 1
cmp eax, esi
mov dword [rbp + 0x7c], eax
jg 0x43faf1
add esi, 1
lea rcx, [rbp + 0xc8]
lea rdx, [rbx + 1]
mov r8d, 0xff
call fcn.004148d0
lea rcx, [rbp + 0xd0]
mov rdx, qword [rbp + 0xc8]
lea r8, [0x0043ff48]
call fcn.00433780
mov rcx, qword [rbp + 0xd0]
call fcn.0040fa70
mov rcx, rax
call sub.kernel32.dll_GetModuleHandleW_2
mov rcx, qword [rbp + 0x40]
mov rdx, rax
call fcn.0043f8a0
lea rax, [rbx + 1]
mov qword [rbp + 0xf8], rax
mov rcx, qword [rbp + 0xf8]
call fcn.0040eed0
add eax, 2
mov eax, eax
add rbx, rax
mov eax, dword [rbp + 0x7c]
add eax, 1
mov dword [rbp + 0x7c], eax
mov eax, dword [rbp + 0x7c]
cmp eax, esi
mov dword [rbp + 0x7c], eax
jne 0x43fa6a
nop
mov esi, dword [rbx]
lea rax, [rbx + 4]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x58]
test rax, rax
je 0x43fe6c
mov ecx, 0x10
mov rdx, qword [0x0043f230]
call fcn.00411070
mov qword [rbp + 0x70], rax
movzx rcx, byte [rbp + 0x67]
mov byte [rax], cl
movzx rax, byte [rbp + 0x67]
test al, al
je 0x43fb3f
lea rax, [0x008aa488]
mov qword [rbp + 0x80], rax
jmp 0x43fb4d
lea rax, [0x008ac470]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x58]
mov qword [rcx + 0x30], rax
lea rcx, [rax + 8]
mov rdx, qword [0x0043f2a8]
mov r8d, 1
mov r9d, esi
sub r9d, 1
movsxd r9, r9d
call fcn.00411940
xor rbx, rbx
mov rcx, qword [rbp + 0x100]
call fcn.0043f3f0
mov edi, eax
xor rax, rax
mov r13d, esi
sub r13d, 1
cmp eax, r13d
mov dword [rbp + 0x7c], eax
jg 0x43fe6b
add r13d, 1
mov rax, qword [rbp + 0x68]
lea rcx, [rax + 2]
call fcn.0043f3f0
mov esi, eax
cmp esi, dword [0x008aa480]
jne 0x43fbd8
mov rax, qword [rbp + 0x68]
lea rcx, [rax + 2]
lea rdx, [0x0043ff52]
call fcn.00433c40
test eax, eax
je 0x43fe28
mov rax, qword [rbp + 0x68]
movzx rax, byte [rax]
test al, 6
jne 0x43fe28
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x68]
lea rdx, [rax + 2]
mov r8d, esi
mov r9, qword [rbp + 0x48]
lea rax, [0x008ac470]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
call fcn.0043f710
test al, al
jne 0x43fc82
movzx rax, byte [rbp + 0x67]
test al, al
jne 0x43fd1b
mov rcx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x68]
lea rdx, [rax + 2]
mov r8d, esi
mov r9, qword [rbp + 0x48]
lea rax, [0x008aa488]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
call fcn.0043f710
test al, al
je 0x43fd1b
lea rcx, [rbp + 0x90]
mov rdx, qword [rbp + 0x100]
call fcn.0040fb90
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x98], rax
mov byte [rbp + 0xa0], 0x11
lea rcx, [rbp + 0x88]
mov rax, qword [rbp + 0x68]
lea rdx, [rax + 2]
mov r8d, 0xff
call fcn.004148d0
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xa8], rax
mov byte [rbp + 0xb0], 0x11
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0xb8], rax
mov byte [rbp + 0xc0], 0x11
mov rcx, qword [0x0042b130]
mov dl, 1
mov r8, qword [0x008a4290]
lea r9, [rbp + 0x98]
mov dword [rsp + 0x20], 2
call fcn.0043ca50
mov rcx, rax
call fcn.0040d950
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 8]
movsxd rcx, ebx
lea rcx, [rcx + rcx*4]
mov rdx, qword [rbp + 0x68]
lea rdx, [rdx + 2]
mov qword [rax + rcx*8 + 0x18], rdx
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 8]
movsxd rcx, ebx
lea rcx, [rcx + rcx*4]
mov rdx, qword [rbp + 0x58]
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 8]
movsxd rcx, ebx
lea rcx, [rcx + rcx*4]
mov rdx, qword [rbp + 0x50]
mov edx, dword [rdx]
test edx, 8
setne dl
mov byte [rax + rcx*8 + 0x20], dl
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 8]
movsxd rcx, ebx
lea rcx, [rcx + rcx*4]
mov qword [rax + rcx*8 + 8], 0
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 8]
movsxd rcx, ebx
lea rcx, [rcx + rcx*4]
mov dword [rax + rcx*8 + 0x24], esi
mov ecx, 0x3fd
mov eax, esi
xor edx, edx
div ecx
mov rsi, rdx
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 8]
movsxd rcx, ebx
lea rcx, [rcx + rcx*4]
mov edx, esi
mov r8, qword [rbp + 0x80]
mov rdx, qword [r8 + rdx*8]
mov qword [rax + rcx*8], rdx
mov eax, esi
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx + 8]
movsxd rdx, ebx
lea rdx, [rdx + rdx*4]
lea rcx, [rcx + rdx*8]
mov rdx, qword [rbp + 0x80]
mov qword [rdx + rax*8], rcx
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 8]
movsxd rcx, ebx
lea rcx, [rcx + rcx*4]
cmp qword [rax + rcx*8], 0
je 0x43fe25
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 8]
movsxd rcx, ebx
lea rcx, [rcx + rcx*4]
mov rax, qword [rax + rcx*8]
mov esi, esi
mov rcx, qword [rbp + 0x80]
mov rcx, qword [rcx + rsi*8]
mov qword [rax + 8], rcx
add ebx, 1
mov rax, qword [rbp + 0x68]
lea rax, [rax + 2]
mov qword [rbp + 0xf0], rax
mov rcx, qword [rbp + 0xf0]
call fcn.0040eed0
add eax, 3
mov eax, eax
mov rcx, qword [rbp + 0x68]
add rcx, rax
mov qword [rbp + 0x68], rcx
mov eax, dword [rbp + 0x7c]
add eax, 1
mov dword [rbp + 0x7c], eax
mov eax, dword [rbp + 0x7c]
cmp eax, r13d
mov dword [rbp + 0x7c], eax
jne 0x43fba5
nop
nop
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040e7c0
lea rcx, [rbp + 0xc8]
mov edx, 5
call fcn.0040e7c0
lea rcx, [rbp + 0x100]
call fcn.0040e730
lea rcx, [rbp + 0x108]
call fcn.0040e6e0
lea rsp, [rbp + 0x110]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret