Function at 0x140003670
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x188
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], 0xfffffffffffffffe
cmp r8d, 0xffffffff
jne 0x1400036c6
test dl, dl
je 0x1400036c6
mov rdx, qword [rcx]
test rdx, rdx
je 0x140003e94
mov rcx, qword [rcx + 8]
shl rdx, 3
mov r8d, 8
call fcn.140003400
xor esi, esi
jmp 0x140004258
mov byte [rbp + 0xb0], dl
mov dword [rbp + 0xa0], r8d
mov qword [rbp + 0xa8], rcx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x80], xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xc8], 4
mov qword [rbp + 0xd0], 0
mov qword [rsp + 0x20], 0x40
lea rdx, [0x1400bd26d]
lea r9, [0x1400bd4fe]
lea rcx, [rbp + 0xd8]
mov r8d, 0xe
call fcn.140005b60
mov rcx, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
mov qword [rbp + 0xf8], rcx
call fcn.140006f40
mov rdi, rax
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
je 0x14000379d
mov r8d, 1
mov rcx, qword [rbp + 0xf8]
call fcn.140003400
mov rcx, rdi
call fcn.140005140
mov r14, rax
test rax, rax
je 0x14000396f
mov r15d, edx
call fcn.14000d320
mov rcx, rax
mov esi, r15d
mov eax, 0xaaaaaaab
imul rsi, rax
shr rsi, 0x23
mov r9d, r15d
imul r9, rax
shr r9, 0x24
movabs r10, 0xa0761d6478bd642f
lea rdx, [rcx + r10]
mov rax, rdx
movabs r11, 0xe7037ed1a0b428db
xor rax, r11
mul rdx
mov r15, rdx
xor r15d, eax
imul r15, r9
cmp r9d, r15d
jbe 0x14000384b
mov eax, r9d
neg eax
xor edx, edx
div r9d
cmp edx, r15d
jbe 0x14000384b
mov r8d, edx
movabs rax, 0x40ec3ac8f17ac85e
add rcx, rax
nop word cs:[rax + rax]
mov rax, rcx
xor rax, r11
mul rcx
mov r15, rdx
xor r15d, eax
imul r15, r9
add rcx, r10
cmp r8d, r15d
ja 0x140003830
shr r15, 0x20
cmp esi, r15d
jbe 0x14000396f
lea rax, [r15 + r15*2]
lea r12, [r14 + rax*4]
jmp 0x140003880
add r12, 0xc
inc r15d
cmp r15d, esi
je 0x140003972
mov ebx, dword [r12]
mov r13d, dword [r12 + 4]
mov edx, dword [r12 + 8]
mov byte [rbp + 0xd8], 0
mov rcx, rdi
lea r8, [rbp + 0xd8]
call fcn.140004990
mov r14d, eax
test eax, eax
je 0x140003870
cmp byte [rbp + 0xd8], 0
je 0x140003870
movzx eax, byte [0x1400cd141]
lea rax, [rdi + rbx]
lea rcx, [rdi + r13]
add rcx, 0xfffffffffffffffd
cmp rcx, rax
jbe 0x140003870
lea rdx, [rdi + r13]
mov r8, rbx
sub r8, r13
add r8, 3
xor ecx, ecx
jmp 0x1400038eb
inc rcx
mov r9, r8
add r9, rcx
je 0x140003870
cmp byte [rax + rcx], 0x48
jne 0x1400038e0
cmp byte [rax + rcx + 1], 0xff
jne 0x1400038e0
cmp byte [rax + rcx + 2], 0x15
jne 0x1400038e0
lea r8, [rax + rcx]
inc r8
je 0x140003870
add rax, rcx
add rax, 7
cmp rax, rdx
jge 0x140003870
lea eax, [rbx + rcx]
add eax, 7
test eax, eax
je 0x140003870
mov qword [rbp + 0xf8], rax
mov rsi, qword [rbp + 0xd0]
cmp rsi, qword [rbp + 0xc0]
jne 0x14000394d
lea rcx, [rbp + 0xc0]
call fcn.140005810
mov rax, qword [rbp + 0xc8]
mov dword [rax + rsi*8], ebx
mov dword [rax + rsi*8 + 4], r13d
inc rsi
mov qword [rbp + 0xd0], rsi
add qword [rbp + 0xf8], rdi
jmp 0x14000397b
xor r14d, r14d
xor eax, eax
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0xf4], 0
mov dword [rbp + 0xf0], 0
mov rcx, rdi
call fcn.140005140
mov r12, rax
test rax, rax
je 0x140003bd8
mov r15d, edx
call fcn.14000d320
mov rcx, rax
mov esi, r15d
mov eax, 0xaaaaaaab
imul rsi, rax
shr rsi, 0x23
mov r9d, r15d
imul r9, rax
shr r9, 0x24
movabs rax, 0xa0761d6478bd642f
lea rdx, [rcx + rax]
mov rax, rdx
movabs r8, 0xe7037ed1a0b428db
xor rax, r8
mul rdx
mov r15, rdx
xor r15d, eax
imul r15, r9
cmp r9d, r15d
jbe 0x140003a4b
mov eax, r9d
neg eax
xor edx, edx
div r9d
cmp edx, r15d
movabs r10, 0xa0761d6478bd642f
movabs r11, 0xe7037ed1a0b428db
jbe 0x140003a4b
mov r8d, edx
movabs rax, 0x40ec3ac8f17ac85e
add rcx, rax
nop dword [rax]
mov rax, rcx
xor rax, r11
mul rcx
mov r15, rdx
xor r15d, eax
imul r15, r9
add rcx, r10
cmp r8d, r15d
ja 0x140003a30
shr r15, 0x20
cmp esi, r15d
jbe 0x140003bd8
lea rax, [r15 + r15*2]
lea r13, [r12 + rax*4]
jmp 0x140003a80
add r13, 0xc
inc r15d
cmp r15d, esi
je 0x140003bd8
mov r12d, dword [r13]
mov ebx, dword [r13 + 4]
mov edx, dword [r13 + 8]
mov byte [rbp + 0xd8], 0
mov dword [rbp + 0xf4], 0
mov dword [rbp + 0xf0], 0
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov rcx, rdi
lea r8, [rbp + 0xd8]
lea r9, [rbp + 0xf4]
call fcn.140004da0
cmp byte [rbp + 0xd8], 0
je 0x140003a70
mov eax, dword [rbp + 0xf0]
cmp eax, dword [rbp + 0xf4]
jl 0x140003a70
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xd0]
mov r11, rcx
lea rcx, [rcx*8]
mov rdx, rax
nop dword [rax]
test rcx, rcx
je 0x140003b20
mov r8, rdx
add rdx, 8
add rcx, 0xfffffffffffffff8
cmp r12d, dword [r8]
jne 0x140003b00
cmp ebx, dword [r8 + 4]
jne 0x140003b00
jmp 0x140003a70
movzx ecx, byte [0x1400cd141]
lea rcx, [rdi + r12]
lea rdx, [rdi + rbx]
add rdx, 0xfffffffffffffffd
cmp rdx, rcx
jbe 0x140003a70
lea r8, [rdi + rbx]
mov r9, r12
sub r9, rbx
add r9, 3
xor edx, edx
jmp 0x140003b5f
inc rdx
mov r10, r9
add r10, rdx
je 0x140003a70
cmp byte [rcx + rdx], 0x48
jne 0x140003b50
cmp byte [rcx + rdx + 1], 0xff
jne 0x140003b50
cmp byte [rcx + rdx + 2], 0x15
jne 0x140003b50
lea r9, [rcx + rdx]
inc r9
je 0x140003a70
add rcx, rdx
add rcx, 7
cmp rcx, r8
jge 0x140003a70
lea ecx, [r12 + rdx]
add ecx, 7
test ecx, ecx
je 0x140003a70
mov rsi, r11
cmp r11, qword [rbp + 0xc0]
mov r13, rcx
jne 0x140003bc1
lea rcx, [rbp + 0xc0]
call fcn.140005810
mov rax, qword [rbp + 0xc8]
mov dword [rax + rsi*8], r12d
mov dword [rax + rsi*8 + 4], ebx
inc rsi
mov qword [rbp + 0xd0], rsi
add r13, rdi
jmp 0x140003bdb
xor r13d, r13d
mov dword [rbp + 0xbc], 0
lea rdx, [rbp + 0xbc]
lea r9, [rbp + 0xc0]
mov rcx, rdi
xor r8d, r8d
call fcn.1400043e0
mov r15, rax
mov dword [rbp + 0xb8], 0
lea rdx, [rbp + 0xb8]
lea r9, [rbp + 0xc0]
mov rcx, rdi
mov r8d, 1
call fcn.1400043e0
mov rcx, qword [rbp + 0xf8]
mov qword [rbp - 0x30], rcx
movsxd rcx, r14d
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x28], r13
movsxd rcx, dword [rbp + 0xf0]
mov qword [rbp - 8], rcx
mov qword [rbp - 0x20], r15
movsxd rcx, dword [rbp + 0xbc]
mov qword [rbp], rcx
mov qword [rbp - 0x18], rax
movsxd rax, dword [rbp + 0xb8]
mov qword [rbp + 8], rax
movsxd rax, dword [rbp + 0xf4]
mov qword [rbp + 0x10], rax
mov rbx, qword [rbp + 0xa8]
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x1400041b5
mov r14, qword [rbx + 8]
mov rsi, qword [r14]
lea r13, [r14 + 8]
lea rdi, [r12 - 1]
lea r8, [r12*8 - 8]
mov rcx, r14
mov rdx, r13
call sub.VCRUNTIME140.dll_memmove
mov qword [rbx + 0x10], rdi
mov qword [rbp + 0x18], rsi
movzx eax, byte [rbp + 0xb0]
mov dword [rbp + 0x88], eax
mov eax, dword [rbp + 0xa0]
mov dword [rbp + 0x8c], eax
test rdi, rdi
je 0x1400041c7
mov rax, qword [r14]
mov qword [rbp + 0xb0], rax
lea r8, [r12*8 - 0x10]
add r12, 0xfffffffffffffffe
mov rcx, r14
mov rdx, r13
call sub.VCRUNTIME140.dll_memmove
mov qword [rbx + 0x10], r12
mov qword [rbp + 0x28], r12
lea rax, [r14 + 0x10]
mov qword [rbp + 0xf8], rax
lea rax, [r14 + 0x18]
mov qword [rbp + 0xa0], rax
lea rcx, [r14 + 0x20]
lea rdx, [r14 + 0x28]
lea r8, [r14 + 0x30]
lea r9, [r14 + 0x38]
lea r10, [r14 + 0x40]
lea r11, [r14 + 0x48]
mov rdi, r14
lea rsi, [r14 + 0x50]
lea rbx, [0x1400bd540]
mov r14, r12
mov rax, r13
jmp 0x140003d6d
mov r15, rsi
lea r13, [rbp + 0x80]
cmp r12, 0xa
jbe 0x14000415d
nop word cs:[rax + rax]
mov r15, qword [r15]
mov qword [r13], r15
mov r13, rax
dec r14
cmp r14, 0xb
ja case.default.0x140003d7a
movsxd r15, dword [rbx + r14*4]
add r15, rbx
jmp r15
mov r15, rdi
lea r13, [rbp + 0x30]
test r12, r12
jne 0x140003d60
jmp 0x140004119
mov r15, r11
lea r13, [rbp + 0x78]
cmp r12, 9
ja 0x140003d60
jmp 0x14000412e
mov r15, qword [rbp + 0xa0]
lea r13, [rbp + 0x48]
cmp r12, 3
ja 0x140003d60
jmp 0x140004189
mov r15, r13
lea r13, [rbp + 0x38]
cmp r12, 1
ja 0x140003d60
jmp 0x140004147
mov r15, r9
lea r13, [rbp + 0x68]
cmp r12, 7
ja 0x140003d60
jmp 0x1400040e7
mov r15, rdx
lea r13, [rbp + 0x58]
cmp r12, 5
ja 0x140003d60
jmp 0x14000419f
mov r15, r8
lea r13, [rbp + 0x60]
cmp r12, 6
ja 0x140003d60
jmp 0x1400040ce
mov r15, qword [rbp + 0xf8]
lea r13, [rbp + 0x40]
cmp r12, 2
ja 0x140003d60
jmp 0x140004173
mov r15, r10
lea r13, [rbp + 0x70]
cmp r12, 8
ja 0x140003d60
jmp 0x140004100
mov r15, rcx
lea r13, [rbp + 0x50]
cmp r12, 4
ja 0x140003d60
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 4
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
mov ecx, dword [0x1400cd144]
test ecx, ecx
jne 0x140003e7c
call fcn.14000a180
mov ecx, eax
cmp eax, 0xffffffff
je 0x140003ec6
mov dword [0x1400cd144], ecx
call fcn.14000a2c0
test rax, rax
je 0x140003e9b
mov rsi, qword [rax]
test rsi, rsi
jne 0x140004205
jmp 0x140003ec6
xor esi, esi
jmp 0x140004258
call fcn.14000a700
test eax, eax
je 0x140003ec6
mov edx, 8
mov ecx, 0x40
call fcn.14000a840
test rax, rax
je 0x140003ec6
mov ecx, dword [0x1400cd144]
mov rdx, rax
call fcn.14000a420
call fcn.140025be0
mov rsi, rax
mov qword [rsp + 0x20], 0x40
lea rdx, [0x1400bd3b8]
lea r9, [0x1400bd4fe]
lea rcx, [rbp + 0xd8]
mov r8d, 0xc
call fcn.140005b60
mov rcx, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
mov qword [rbp + 0xf8], rcx
call fcn.140006f40
mov r14, rax
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
je 0x140003f32
mov r8d, 1
mov rcx, qword [rbp + 0xf8]
call fcn.140003400
mov qword [rsp + 0x20], 0x40
lea rdx, [0x1400bd3c4]
lea r9, [0x1400bd4fe]
lea rcx, [rbp + 0xd8]
mov r8d, 0x13
call fcn.140005b60
mov rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xe8]
mov rcx, r14
mov qword [rbp + 0xf8], rdx
call fcn.140008160
mov rbx, rax
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
je 0x140003f99
mov r8d, 1
mov rcx, qword [rbp + 0xf8]
call fcn.140003400
mov rcx, r14
call fcn.140005140
test rax, rax
je 0x140003faf
cmp edx, 0xc
jae 0x140004057
xor r13d, r13d
call qword [sym.imp.kernel32.dll_GetCurrentThread]
mov qword [rbp + 0x90], 0
mov dword [rbp + 0x9c], 0
mov r12d, 1
cmp qword [rbp + 0xb0], 0
je 0x14000404d
lea rcx, [rbp + 0x9c]
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x90]
mov rcx, rax
mov edx, 9
mov r9d, 8
call fcn.14000ab30
test eax, eax
jne 0x14000404d
mov r14, qword [rbp + 0x90]
mov qword [rbp + 0xd8], 0
lea r8, [rbp + 0xd8]
mov ecx, 4
mov rdx, r14
call fcn.14000a590
test al, al
je 0x14000404d
mov r15, qword [rbp + 0xd8]
mov rcx, r15
call fcn.140005140
test rax, rax
je 0x14000404a
cmp edx, 0xc
jae 0x140004097
xor r12d, r12d
mov rax, qword [rsi]
xor ecx, ecx
jmp 0x1400041e3
mov edx, edx
mov ecx, 0xaaaaaaab
imul rcx, rdx
shr rcx, 0x23
jmp 0x14000407c
add rax, 0xc
dec ecx
je 0x140003faf
mov edx, dword [rax]
add rdx, r14
cmp rdx, rbx
ja 0x140004070
mov r13d, dword [rax + 4]
add r13, r14
cmp r13, rbx
jbe 0x140004070
jmp 0x140003fb2
mov ecx, edx
mov edx, 0xaaaaaaab
imul rdx, rcx
shr rdx, 0x23
jmp 0x1400040b0
add rax, 0xc
dec edx
je 0x14000404a
mov r12d, dword [rax]
add r12, r15
cmp r12, r14
ja 0x1400040a8
mov ecx, dword [rax + 4]
add rcx, r15
cmp rcx, r14
jbe 0x1400040a8
mov rax, qword [rsi]
jmp 0x1400041d9
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 6
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 7
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 8
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
xor ecx, ecx
xor edx, edx
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 9
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 1
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 0xa
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 2
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 3
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
mov ecx, 5
mov rdx, r12
call fcn.1400288f0
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
xor ecx, ecx
xor edx, edx
call fcn.140028640
jmp 0x1400041d7
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001funwinder_0.1.2_srclib.rs
xor ecx, ecx
xor edx, edx
call fcn.140028640
ud2
cmp rax, r12
jbe 0x1400041e3
cmp rax, rcx
jb 0x1400041f7
cmp rax, rbx
jbe 0x1400041ed
cmp rax, r13
jb 0x1400041f7
mov rax, qword [rsi + 8]
add rsi, 8
jmp 0x1400041d9
mov ecx, dword [0x1400cd144]
call fcn.14000a2c0
mov qword [rax], rsi
mov qword [rbp + 0x20], rsi
lea rcx, [rbp - 0x50]
call fcn.140025cc1
mov rsi, rax
mov rdx, qword [rbp + 0xc0]
test rdx, rdx
je 0x140004237
mov rcx, qword [rbp + 0xc8]
shl rdx, 3
mov r8d, 4
call fcn.140003400
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004258
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140003400
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret