Function at 0x1400181d0
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 0x140018226
test dl, dl
je 0x140018226
mov rdx, qword [rcx]
test rdx, rdx
je 0x1400189f4
mov rcx, qword [rcx + 8]
shl rdx, 3
mov r8d, 8
call fcn.140003ab0
xor esi, esi
jmp 0x140018db8
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, [0x14004438d]
lea r9, [0x14004461e]
lea rcx, [rbp + 0xd8]
mov r8d, 0xe
call fcn.14001a660
mov rcx, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
mov qword [rbp + 0xf8], rcx
call fcn.14001b900
mov rdi, rax
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
je 0x1400182fd
mov r8d, 1
mov rcx, qword [rbp + 0xf8]
call fcn.140003ab0
mov rcx, rdi
call fcn.140019ca0
mov r14, rax
test rax, rax
je 0x1400184cf
mov r15d, edx
call fcn.140021840
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 0x1400183ab
mov eax, r9d
neg eax
xor edx, edx
div r9d
cmp edx, r15d
jbe 0x1400183ab
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 0x140018390
shr r15, 0x20
cmp esi, r15d
jbe 0x1400184cf
lea rax, [r15 + r15*2]
lea r12, [r14 + rax*4]
jmp 0x1400183e0
add r12, 0xc
inc r15d
cmp r15d, esi
je 0x1400184d2
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.1400194f0
mov r14d, eax
test eax, eax
je 0x1400183d0
cmp byte [rbp + 0xd8], 0
je 0x1400183d0
movzx eax, byte [0x14005a181]
lea rax, [rdi + rbx]
lea rcx, [rdi + r13]
add rcx, 0xfffffffffffffffd
cmp rcx, rax
jbe 0x1400183d0
lea rdx, [rdi + r13]
mov r8, rbx
sub r8, r13
add r8, 3
xor ecx, ecx
jmp 0x14001844b
inc rcx
mov r9, r8
add r9, rcx
je 0x1400183d0
cmp byte [rax + rcx], 0x48
jne 0x140018440
cmp byte [rax + rcx + 1], 0xff
jne 0x140018440
cmp byte [rax + rcx + 2], 0x15
jne 0x140018440
lea r8, [rax + rcx]
inc r8
je 0x1400183d0
add rax, rcx
add rax, 7
cmp rax, rdx
jge 0x1400183d0
lea eax, [rbx + rcx]
add eax, 7
test eax, eax
je 0x1400183d0
mov qword [rbp + 0xf8], rax
mov rsi, qword [rbp + 0xd0]
cmp rsi, qword [rbp + 0xc0]
jne 0x1400184ad
lea rcx, [rbp + 0xc0]
call fcn.14001a310
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 0x1400184db
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.140019ca0
mov r12, rax
test rax, rax
je 0x140018738
mov r15d, edx
call fcn.140021840
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 0x1400185ab
mov eax, r9d
neg eax
xor edx, edx
div r9d
cmp edx, r15d
movabs r10, 0xa0761d6478bd642f
movabs r11, 0xe7037ed1a0b428db
jbe 0x1400185ab
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 0x140018590
shr r15, 0x20
cmp esi, r15d
jbe 0x140018738
lea rax, [r15 + r15*2]
lea r13, [r12 + rax*4]
jmp 0x1400185e0
add r13, 0xc
inc r15d
cmp r15d, esi
je 0x140018738
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.140019900
cmp byte [rbp + 0xd8], 0
je 0x1400185d0
mov eax, dword [rbp + 0xf0]
cmp eax, dword [rbp + 0xf4]
jl 0x1400185d0
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 0x140018680
mov r8, rdx
add rdx, 8
add rcx, 0xfffffffffffffff8
cmp r12d, dword [r8]
jne 0x140018660
cmp ebx, dword [r8 + 4]
jne 0x140018660
jmp 0x1400185d0
movzx ecx, byte [0x14005a181]
lea rcx, [rdi + r12]
lea rdx, [rdi + rbx]
add rdx, 0xfffffffffffffffd
cmp rdx, rcx
jbe 0x1400185d0
lea r8, [rdi + rbx]
mov r9, r12
sub r9, rbx
add r9, 3
xor edx, edx
jmp 0x1400186bf
inc rdx
mov r10, r9
add r10, rdx
je 0x1400185d0
cmp byte [rcx + rdx], 0x48
jne 0x1400186b0
cmp byte [rcx + rdx + 1], 0xff
jne 0x1400186b0
cmp byte [rcx + rdx + 2], 0x15
jne 0x1400186b0
lea r9, [rcx + rdx]
inc r9
je 0x1400185d0
add rcx, rdx
add rcx, 7
cmp rcx, r8
jge 0x1400185d0
lea ecx, [r12 + rdx]
add ecx, 7
test ecx, ecx
je 0x1400185d0
mov rsi, r11
cmp r11, qword [rbp + 0xc0]
mov r13, rcx
jne 0x140018721
lea rcx, [rbp + 0xc0]
call fcn.14001a310
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 0x14001873b
xor r13d, r13d
mov dword [rbp + 0xbc], 0
lea rdx, [rbp + 0xbc]
lea r9, [rbp + 0xc0]
mov rcx, rdi
xor r8d, r8d
call fcn.140018f40
mov r15, rax
mov dword [rbp + 0xb8], 0
lea rdx, [rbp + 0xb8]
lea r9, [rbp + 0xc0]
mov rcx, rdi
mov r8d, 1
call fcn.140018f40
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 0x140018d15
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 0x140018d27
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, [0x140044660]
mov r14, r12
mov rax, r13
jmp 0x1400188cd
mov r15, rsi
lea r13, [rbp + 0x80]
cmp r12, 0xa
jbe 0x140018cbd
nop word cs:[rax + rax]
mov r15, qword [r15]
mov qword [r13], r15
mov r13, rax
dec r14
cmp r14, 0xb
ja case.default.0x1400188da
movsxd r15, dword [rbx + r14*4]
add r15, rbx
jmp r15
mov r15, rdi
lea r13, [rbp + 0x30]
test r12, r12
jne 0x1400188c0
jmp 0x140018c79
mov r15, r11
lea r13, [rbp + 0x78]
cmp r12, 9
ja 0x1400188c0
jmp 0x140018c8e
mov r15, qword [rbp + 0xa0]
lea r13, [rbp + 0x48]
cmp r12, 3
ja 0x1400188c0
jmp 0x140018ce9
mov r15, r13
lea r13, [rbp + 0x38]
cmp r12, 1
ja 0x1400188c0
jmp 0x140018ca7
mov r15, r9
lea r13, [rbp + 0x68]
cmp r12, 7
ja 0x1400188c0
jmp 0x140018c47
mov r15, rdx
lea r13, [rbp + 0x58]
cmp r12, 5
ja 0x1400188c0
jmp 0x140018cff
mov r15, r8
lea r13, [rbp + 0x60]
cmp r12, 6
ja 0x1400188c0
jmp 0x140018c2e
mov r15, qword [rbp + 0xf8]
lea r13, [rbp + 0x40]
cmp r12, 2
ja 0x1400188c0
jmp 0x140018cd3
mov r15, r10
lea r13, [rbp + 0x70]
cmp r12, 8
ja 0x1400188c0
jmp 0x140018c60
mov r15, rcx
lea r13, [rbp + 0x50]
cmp r12, 4
ja 0x1400188c0
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.140040820
jmp 0x140018d37
mov ecx, dword [0x14005a1c0]
test ecx, ecx
jne 0x1400189dc
call fcn.14001eb40
mov ecx, eax
cmp eax, 0xffffffff
je 0x140018a26
mov dword [0x14005a1c0], ecx
call fcn.14001ec80
test rax, rax
je 0x1400189fb
mov rsi, qword [rax]
test rsi, rsi
jne 0x140018d65
jmp 0x140018a26
xor esi, esi
jmp 0x140018db8
call fcn.14001f0c0
test eax, eax
je 0x140018a26
mov edx, 8
mov ecx, 0x40
call fcn.14001f200
test rax, rax
je 0x140018a26
mov ecx, dword [0x14005a1c0]
mov rdx, rax
call fcn.14001ede0
call fcn.14003b220
mov rsi, rax
mov qword [rsp + 0x20], 0x40
lea rdx, [0x1400444d8]
lea r9, [0x14004461e]
lea rcx, [rbp + 0xd8]
mov r8d, 0xc
call fcn.14001a660
mov rcx, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
mov qword [rbp + 0xf8], rcx
call fcn.14001b900
mov r14, rax
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
je 0x140018a92
mov r8d, 1
mov rcx, qword [rbp + 0xf8]
call fcn.140003ab0
mov qword [rsp + 0x20], 0x40
lea rdx, [0x1400444e4]
lea r9, [0x14004461e]
lea rcx, [rbp + 0xd8]
mov r8d, 0x13
call fcn.14001a660
mov rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xe8]
mov rcx, r14
mov qword [rbp + 0xf8], rdx
call fcn.14001cb20
mov rbx, rax
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
je 0x140018af9
mov r8d, 1
mov rcx, qword [rbp + 0xf8]
call fcn.140003ab0
mov rcx, r14
call fcn.140019ca0
test rax, rax
je 0x140018b0f
cmp edx, 0xc
jae 0x140018bb7
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 0x140018bad
lea rcx, [rbp + 0x9c]
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x90]
mov rcx, rax
mov edx, 9
mov r9d, 8
call fcn.14001f4f0
test eax, eax
jne 0x140018bad
mov r14, qword [rbp + 0x90]
mov qword [rbp + 0xd8], 0
lea r8, [rbp + 0xd8]
mov ecx, 4
mov rdx, r14
call fcn.14001ef50
test al, al
je 0x140018bad
mov r15, qword [rbp + 0xd8]
mov rcx, r15
call fcn.140019ca0
test rax, rax
je 0x140018baa
cmp edx, 0xc
jae 0x140018bf7
xor r12d, r12d
mov rax, qword [rsi]
xor ecx, ecx
jmp 0x140018d43
mov edx, edx
mov ecx, 0xaaaaaaab
imul rcx, rdx
shr rcx, 0x23
jmp 0x140018bdc
add rax, 0xc
dec ecx
je 0x140018b0f
mov edx, dword [rax]
add rdx, r14
cmp rdx, rbx
ja 0x140018bd0
mov r13d, dword [rax + 4]
add r13, r14
cmp r13, rbx
jbe 0x140018bd0
jmp 0x140018b12
mov ecx, edx
mov edx, 0xaaaaaaab
imul rdx, rcx
shr rdx, 0x23
jmp 0x140018c10
add rax, 0xc
dec edx
je 0x140018baa
mov r12d, dword [rax]
add r12, r15
cmp r12, r14
ja 0x140018c08
mov ecx, dword [rax + 4]
add rcx, r15
cmp rcx, r14
jbe 0x140018c08
mov rax, qword [rsi]
jmp 0x140018d39
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.140040820
jmp 0x140018d37
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.140040820
jmp 0x140018d37
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.140040820
jmp 0x140018d37
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.140040820
jmp 0x140018d37
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.140040820
jmp 0x140018d37
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.140040820
jmp 0x140018d37
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.140040820
jmp 0x140018d37
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.140040820
jmp 0x140018d37
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.140040820
jmp 0x140018d37
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.140040820
jmp 0x140018d37
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.140040570
jmp 0x140018d37
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.140040570
ud2
cmp rax, r12
jbe 0x140018d43
cmp rax, rcx
jb 0x140018d57
cmp rax, rbx
jbe 0x140018d4d
cmp rax, r13
jb 0x140018d57
mov rax, qword [rsi + 8]
add rsi, 8
jmp 0x140018d39
mov ecx, dword [0x14005a1c0]
call fcn.14001ec80
mov qword [rax], rsi
mov qword [rbp + 0x20], rsi
lea rcx, [rbp - 0x50]
call fcn.14003b301
mov rsi, rax
mov rdx, qword [rbp + 0xc0]
test rdx, rdx
je 0x140018d97
mov rcx, qword [rbp + 0xc8]
shl rdx, 3
mov r8d, 4
call fcn.140003ab0
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
test rdx, rdx
je 0x140018db8
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140003ab0
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret