Function at 0x180043b30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
mov rbp, qword [rcx]
xor r8d, r8d
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
mov r15d, r8d
mov rsi, r9
mov r14d, r8d
mov qword [rax - 0x60], r8
mov r12d, r8d
mov qword [rax - 0x68], r8
mov r13d, r8d
mov qword [rax - 0x58], r8
test rdx, rdx
je 0x180043bd1
movsxd rdi, dword [rdx]
mov rbx, rdi
mov dword [rsp + 0x30], edi
shl rbx, 5
test rbp, rbp
je 0x180043ba0
mov rdx, rbx
mov rcx, rbp
call fcn.180046280
jmp 0x180043ba8
mov rcx, rbx
call fcn.180057350
mov qword [rsp + 0x38], rax
test rax, rax
je 0x180043bc4
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.180092be0
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0xc8]
xor r8d, r8d
jmp 0x180043be1
mov rax, r8
mov edi, r8d
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0xd0]
mov dword [rsp + 0x34], r8d
mov qword [rsp + 0x48], rax
mov word [rcx], di
mov qword [rsi], rax
mov esi, r8d
mov rdi, rax
cmp dword [rsp + 0x30], r12d
jle 0x180043f18
mov rcx, r8
mov qword [rsp + 0x40], rcx
cmp byte [rbp + 0x55], 0
jne 0x180043f18
mov r9, qword [rdx + 8]
add r9, rcx
mov rax, qword [r9]
test rax, rax
je 0x180043c55
nop dword [rax + rax]
mov ecx, dword [rax + 4]
bt ecx, 0xc
jae 0x180043c55
bt ecx, 0x12
jae 0x180043c4c
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
jmp 0x180043c50
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180043c30
mov r8, qword [r9 + 8]
test r8, r8
jne 0x180043cb6
cmp byte [rax], 0x7a
jne 0x180043c6c
mov rax, qword [rax + 0x18]
cmp byte [rax], 0x7a
je 0x180043c63
movzx ecx, byte [rax]
cmp cl, 0x98
jne 0x180043ca7
mov rdx, qword [rax + 0x40]
test rdx, rdx
je 0x180043ca7
movsx ecx, word [rax + 0x30]
test ecx, ecx
jns 0x180043c96
movsx ecx, word [rdx + 0x3c]
test ecx, ecx
jns 0x180043c96
lea r8, str.rowid
jmp 0x180043cb6
mov rax, qword [rdx + 8]
movsxd rcx, ecx
shl rcx, 5
mov r8, qword [rcx + rax]
jmp 0x180043cb6
cmp cl, 0x37
jne 0x180043cb2
mov r8, qword [rax + 8]
jmp 0x180043cb6
mov r8, qword [r9 + 0x10]
lea rdx, [0x1800a6394]
mov rcx, rbp
call fcn.180057320
mov rbx, rax
xor eax, eax
mov esi, eax
mov dword [rsp + 0xc0], eax
test rbx, rbx
je 0x180043e8b
nop dword [rax]
test r15, r15
je 0x180043d3d
movzx ecx, byte [rbx]
mov r8, rbx
test cl, cl
je 0x180043d28
lea r12, [0x180000000]
nop word [rax + rax]
movzx ecx, cl
lea r8, [r8 + 1]
movzx edx, byte [rcx + r12 + 0xa0de0]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [r8]
xor eax, edx
test cl, cl
jne 0x180043d00
mov r12d, dword [rsp + 0x54]
xor edx, edx
div r13d
mov ecx, edx
add rcx, rcx
mov r10, qword [r15 + rcx*8 + 8]
mov r11d, dword [r15 + rcx*8]
jmp 0x180043d43
mov r10, r14
mov r11d, r12d
test r11d, r11d
je 0x180043e86
movzx eax, byte [rbx]
lea rdx, [0x180000000]
movzx edi, byte [rax + rdx + 0xa0de0]
nop
mov r8, qword [r10 + 0x18]
dec r11d
movzx eax, byte [r8]
movzx ecx, byte [rax + rdx + 0xa0de0]
sub ecx, edi
jne 0x180043dc1
mov r9, rbx
sub r9, r8
nop dword [rax]
test al, al
je 0x180043dbd
movzx ecx, byte [r9 + r8 + 1]
movzx eax, byte [r8 + 1]
inc r8
movzx edx, byte [rcx + rdx + 0xa0de0]
lea rcx, [0x180000000]
movzx ecx, byte [rax + rcx + 0xa0de0]
sub ecx, edx
lea rdx, [0x180000000]
je 0x180043d80
lea rdx, [0x180000000]
jmp 0x180043dc1
test ecx, ecx
je 0x180043dce
mov r10, qword [r10]
test r11d, r11d
jne 0x180043d60
jmp 0x180043e86
cmp qword [r10 + 0x10], 0
je 0x180043e86
or rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rbx + rdx], 0
jne 0x180043de0
and edx, 0x3fffffff
jle 0x180043e35
lea r8d, [rdx - 1]
movsxd rcx, r8d
test r8d, r8d
jle 0x180043e2a
lea r9, [0x180000000]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rbx]
test byte [rax + r9 + 0xa0ee0], 4
je 0x180043e2a
dec rcx
dec r8d
test rcx, rcx
jg 0x180043e10
movsxd rax, r8d
cmp byte [rax + rbx], 0x3a
cmove edx, r8d
mov r8d, edx
inc esi
lea rdx, str._.z:_u
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0xc0], esi
mov dword [rsp + 0x20], esi
call fcn.180057320
mov rbx, rax
cmp esi, 3
jbe 0x180043e78
lea rdx, [rsp + 0xc0]
mov ecx, 4
call sym.sqlite3.dll_sqlite3_randomness
mov esi, dword [rsp + 0xc0]
mov eax, 0
test rbx, rbx
jne 0x180043ce0
mov rdi, qword [rsp + 0x48]
mov qword [rdi], rbx
test rbx, rbx
je 0x180043ee5
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, rbx
call fcn.1800530b0
cmp rax, rdi
jne 0x180043ed1
cmp byte [rbp + 0x55], 0
jne 0x180043ed1
cmp byte [rbp + 0x56], 0
jne 0x180043ed1
cmp dword [rbp + 0xb8], 0
mov byte [rbp + 0x55], 1
jle 0x180043ecb
mov dword [rbp + 0x150], 1
inc dword [rbp + 0x158]
mov r13d, dword [rsp + 0x50]
mov r12d, dword [rsp + 0x54]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
mov esi, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0xc8]
inc esi
add rcx, 0x28
add rdi, 0x20
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
cmp esi, dword [rsp + 0x30]
jl 0x180043c12
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
test r15, r15
je 0x180043f88
cmp dword [0x1800bce70], 0
je 0x180043f7f
mov rcx, qword [0x1800bf700]
test rcx, rcx
je 0x180043f48
call qword [0x1800bcef8]
mov rcx, r15
call qword [0x1800bceb0]
dec qword [0x1800bf788]
mov rcx, r15
movsxd rdx, eax
sub qword [0x1800bf740], rdx
call qword [0x1800bcea0]
mov rcx, qword [0x1800bf700]
test rcx, rcx
je 0x180043f8f
call qword [0x1800bcf08]
jmp 0x180043f88
mov rcx, r15
call qword [0x1800bcea0]
mov rcx, qword [0x1800bf700]
mov r15, qword [rsp + 0x78]
test r14, r14
je 0x180044006
nop dword [rax]
cmp dword [0x1800bce70], 0
mov rbx, qword [r14]
je 0x180043fee
test rcx, rcx
je 0x180043fb7
call qword [0x1800bcef8]
mov rcx, r14
call qword [0x1800bceb0]
dec qword [0x1800bf788]
mov rcx, r14
movsxd rdx, eax
sub qword [0x1800bf740], rdx
call qword [0x1800bcea0]
mov rcx, qword [0x1800bf700]
test rcx, rcx
je 0x180043ffe
call qword [0x1800bcf08]
jmp 0x180043ff7
mov rcx, r14
call qword [0x1800bcea0]
mov rcx, qword [0x1800bf700]
mov r14, rbx
test rbx, rbx
jne 0x180043fa0
cmp byte [rbp + 0x55], 0
mov r14, qword [rsp + 0x80]
je 0x1800441b1
movsxd rsi, esi
test rsi, rsi
jle 0x1800440e6
mov rdi, qword [rsp + 0x38]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1800440d9
cmp qword [rbp + 0x298], 0
je 0x180044053
mov rdx, rbx
mov rcx, rbp
call fcn.18002c290
jmp 0x1800440d2
cmp rbx, qword [rbp + 0x180]
jb 0x18004407e
cmp rbx, qword [rbp + 0x188]
jae 0x18004407e
mov rax, qword [rbp + 0x178]
mov qword [rbx], rax
dec dword [rbp + 0x160]
mov qword [rbp + 0x178], rbx
jmp 0x1800440d2
cmp dword [0x1800bce70], 0
je 0x1800440c9
test rcx, rcx
je 0x180044092
call qword [0x1800bcef8]
mov rcx, rbx
call qword [0x1800bceb0]
dec qword [0x1800bf788]
movsxd rcx, eax
sub qword [0x1800bf740], rcx
mov rcx, rbx
call qword [0x1800bcea0]
mov rcx, qword [0x1800bf700]
test rcx, rcx
je 0x1800440d9
call qword [0x1800bcf08]
jmp 0x1800440d2
mov rcx, rbx
call qword [0x1800bcea0]
mov rcx, qword [0x1800bf700]
add rdi, 0x20
dec rsi
jne 0x180044030
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x18004418a
cmp qword [rbp + 0x298], 0
je 0x18004410b
mov rdx, rbx
mov rcx, rbp
call fcn.18002c290
jmp 0x18004418a
cmp rbx, qword [rbp + 0x180]
jb 0x180044136
cmp rbx, qword [rbp + 0x188]
jae 0x180044136
mov rax, qword [rbp + 0x178]
mov qword [rbx], rax
dec dword [rbp + 0x160]
mov qword [rbp + 0x178], rbx
jmp 0x18004418a
cmp dword [0x1800bce70], 0
je 0x180044181
test rcx, rcx
je 0x18004414a
call qword [0x1800bcef8]
mov rcx, rbx
call qword [0x1800bceb0]
dec qword [0x1800bf788]
movsxd rcx, eax
sub qword [0x1800bf740], rcx
mov rcx, rbx
call qword [0x1800bcea0]
mov rcx, qword [0x1800bf700]
test rcx, rcx
je 0x18004418a
call qword [0x1800bcf08]
jmp 0x18004418a
mov rcx, rbx
call qword [0x1800bcea0]
mov rax, qword [rsp + 0xd8]
xor ecx, ecx
mov qword [rax], rcx
mov rax, qword [rsp + 0xd0]
mov word [rax], cx
lea eax, [rcx + 7]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret