Function at 0x14016a5c0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
mov dword [rcx + 0x10], r9d
lea r15, [0x14029e994]
mov eax, dword [0x14029e940]
mov rbx, rcx
mov rcx, qword [rcx]
mov r11d, 8
sub r11, r15
mov r14d, r8d
xor edi, edi
mov rsi, rdx
mov r8d, edi
mov dword [rcx], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e944]
mov dword [rcx + 4], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e948]
mov dword [rcx + 8], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e94c]
mov dword [rcx + 0xc], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e950]
mov dword [rcx + 0x10], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e954]
mov dword [rcx + 0x14], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e958]
mov dword [rcx + 0x18], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e95c]
mov dword [rcx + 0x1c], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e960]
mov dword [rcx + 0x20], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e964]
mov dword [rcx + 0x24], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e968]
mov dword [rcx + 0x28], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e96c]
mov dword [rcx + 0x2c], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e970]
mov dword [rcx + 0x30], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e974]
mov dword [rcx + 0x34], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e978]
mov dword [rcx + 0x38], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e97c]
mov dword [rcx + 0x3c], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e980]
mov dword [rcx + 0x40], eax
mov rcx, qword [rbx]
mov eax, dword [0x14029e984]
mov dword [rcx + 0x44], eax
nop dword [rax]
lea r9, [r8 + 0xc]
mov r10d, SHGetSetSettings
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [r8 + r15]
mov eax, dword [rdx - 4]
lea r9, [r9 + 0x10]
mov dword [r8 + rcx], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rdx]
mov dword [rcx + r8 + 4], eax
add r8, 0x10
mov rcx, qword [rbx + 8]
mov eax, dword [rdx + 4]
add rcx, r11
mov dword [rcx + rdx], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rdx + 8]
mov dword [r9 + rcx - 0x10], eax
sub r10, 1
jne 0x14016a6e0
cmp r8, 0x1000
jl 0x14016a6d0
movzx eax, byte [rsi]
mov byte [rbp + 0x4b], al
mov eax, 1
cdq
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov eax, 2
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov eax, 3
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx], eax
mov eax, 4
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 4], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 8], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0xc], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x10], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x14], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x18], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x1c], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x20], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x24], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x28], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x2c], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x30], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x34], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x38], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
mov dword [rbp + 0x30], edi
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x3c], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
xor dword [rcx + 0x40], eax
lea eax, [r8 + 4]
cdq
idiv r14d
movsxd r8, edx
movzx ecx, byte [r8 + rsi]
lea eax, [r8 + 1]
cdq
mov byte [rbp + 0x4b], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 2]
cdq
mov byte [rbp + 0x4a], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r8 + 3]
cdq
mov byte [rbp + 0x49], cl
idiv r14d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov rsi, rdi
mov byte [rbp + 0x48], cl
mov eax, dword [rbp + 0x48]
mov rcx, qword [rbx]
mov dword [rbp + 0x48], edi
xor dword [rcx + 0x44], eax
nop dword [rax]
lea r8, [rbp + 0x30]
mov rcx, rbx
lea rdx, [rbp + 0x48]
call fcn.140169e70
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x48]
mov dword [rsi + rcx], eax
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x30]
mov dword [rsi + rcx + 4], eax
add rsi, 8
cmp rsi, 0x48
jl 0x14016acf0
nop dword [rax]
mov esi, 0x80
nop word [rax + rax]
lea r8, [rbp + 0x30]
mov rcx, rbx
lea rdx, [rbp + 0x48]
call fcn.140169e70
mov rcx, qword [rbx + 8]
mov eax, dword [rbp + 0x48]
mov dword [rdi + rcx], eax
mov rcx, qword [rbx + 8]
mov eax, dword [rbp + 0x30]
mov dword [rdi + rcx + 4], eax
add rdi, 8
sub rsi, 1
jne 0x14016ad30
cmp rdi, 0x1000
jl 0x14016ad20
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret