Function at 0x180023f90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov r14, r9
mov r13d, r8d
mov rsi, rdx
mov rbx, rcx
cmp byte [0x18004feee], 0
mov qword [rbp], rdx
jne 0x1800240fa
mov qword [rbp - 0x48], rbx
mov ebx, r13d
mov rdx, qword [0x18004dc20]
movabs rax, 0xb3e1a423818ce99b
add rax, rdx
movabs rcx, 0xb3e1a423818ce9b6
add rcx, rdx
xor edx, edx
lea r8, [0x18004fee0]
nop word cs:[rax + rax]
movzx r11d, byte [rcx + rdx]
mov esi, r11d
not sil
movzx r9d, byte [rax + rdx]
mov r12d, r11d
xor r12b, 0xdb
and sil, 0x24
or r11b, 0xc2
mov r15d, r11d
and r15b, 0xe6
lea r13d, [r15 + 0x19]
xor r15b, 0xe5
and r15b, r13b
or r15b, sil
or sil, r12b
mov edi, r9d
and dil, 0xdb
mov r10d, esi
xor r10b, 0xfc
and r10b, r12b
mov r12d, esi
and r12b, 0xfc
xor r12b, r10b
xor r15b, r12b
xor r15b, 0xfc
and r11b, 0x24
xor r11b, sil
xor r11b, 0xdb
and sil, r13b
or sil, r11b
not sil
or sil, r15b
mov r10d, r9d
and r10b, 0x4a
mov r15d, r9d
or r15b, 0x4a
mov r11d, r15d
and r11b, 0x6e
xor r15b, 0x20
or r10b, 0x20
and r10b, r15b
mov r15d, r9d
and r15b, 0x91
or r15b, 4
xor r11b, 0xdf
and r11b, r15b
or r11b, r10b
mov r10d, r9d
or r10b, 0x82
and r10b, 0xa6
xor r10b, dil
xor r10b, 0xa6
xor r9b, 0xdb
or r9b, r10b
not r9b
or r9b, r11b
xor r9b, sil
mov byte [rdx + r8], r9b
inc rdx
cmp rdx, 0xe
jne 0x180024010
mov byte [0x18004feee], 1
mov rsi, qword [rbp]
mov r13d, ebx
mov rbx, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
lea rdi, [0x18004fee0]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, rsi
mov rdx, rdi
mov r8, rax
call fcn.180013420
mov r15, qword [r14 + 0x10]
movabs rdi, 0xb3e1a423818cba76
test r15, r15
je 0x180024445
mov byte [rbp - 0x40], 0x20
cmp byte [0x18004fefe], 0
jne 0x180024346
mov rax, qword [0x18004dc20]
movabs rcx, 0xb3e1a423818ce9e3
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818ce9fa
xor cl, byte [rax + rdx]
mov byte [0x18004feef], cl
movabs rcx, 0xb3e1a423818ce9e4
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818ce9fb
xor cl, byte [rax + rdx]
mov byte [0x18004fef0], cl
movabs rcx, 0xb3e1a423818ce9e5
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818ce9fc
xor cl, byte [rax + rdx]
mov byte [0x18004fef1], cl
movabs rcx, 0xb3e1a423818ce9e6
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818ce9fd
xor cl, byte [rax + rdx]
mov byte [0x18004fef2], cl
movabs rcx, 0xb3e1a423818ce9e7
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818ce9fe
xor cl, byte [rax + rdx]
mov byte [0x18004fef3], cl
movabs rcx, 0xb3e1a423818ce9e8
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818ce9ff
xor cl, byte [rax + rdx]
mov byte [0x18004fef4], cl
movabs rcx, 0xb3e1a423818ce9e9
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea00
xor cl, byte [rax + rdx]
mov byte [0x18004fef5], cl
movabs rcx, 0xb3e1a423818ce9ea
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea01
xor cl, byte [rax + rdx]
mov byte [0x18004fef6], cl
movabs rcx, 0xb3e1a423818ce9eb
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea02
xor cl, byte [rax + rdx]
mov byte [0x18004fef7], cl
movabs rcx, 0xb3e1a423818ce9ec
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea03
xor cl, byte [rax + rdx]
mov byte [0x18004fef8], cl
movabs rcx, 0xb3e1a423818ce9ed
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea04
xor cl, byte [rax + rdx]
mov byte [0x18004fef9], cl
movabs rcx, 0xb3e1a423818ce9ee
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea05
xor cl, byte [rax + rdx]
mov byte [0x18004fefa], cl
movabs rcx, 0xb3e1a423818ce9ef
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea06
xor cl, byte [rax + rdx]
mov byte [0x18004fefb], cl
movabs rcx, 0xb3e1a423818ce9f0
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea07
xor cl, byte [rax + rdx]
mov byte [0x18004fefc], cl
movabs rcx, 0xb3e1a423818ce9f1
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea08
xor cl, byte [rax + rdx]
mov byte [0x18004fefd], cl
mov byte [0x18004fefe], 1
mov r12, qword [0x18004dc30]
add r12, rdi
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rdx, [r15 + rax]
inc rdx
cmp rdx, 0x10
jb 0x18002438d
lea rcx, [rbp - 0x20]
call fcn.180011560
mov qword [rbp - 0x10], 0
lea r15, [rbp - 0x20]
lea r9, [rbp - 0x40]
mov rcx, r15
mov rdx, r12
mov r8, r14
call fcn.18002d920
mov r8, qword [rbp - 0x10]
cmp qword [rbp - 8], 0x10
jb 0x1800243b2
mov r15, qword [rbp - 0x20]
mov r9, qword [rbp]
mov rcx, qword [r9 + 0x10]
mov rax, qword [r9 + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x1800243de
mov qword [rsp + 0x20], r8
mov rcx, r9
mov rdx, r8
mov r9, r15
call fcn.180010c20
jmp 0x180024402
lea r14, [rcx + r8]
mov qword [r9 + 0x10], r14
mov r12, r9
cmp rax, 0x10
jb 0x1800243f2
mov r12, qword [r9]
add rcx, r12
mov rdx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [r12 + r14], 0
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x180024441
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x18002443c
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180024adc
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180039c44
mov rsi, qword [rbp]
cmp byte [0x18004ff02], 0
jne 0x180024526
mov rax, qword [0x18004dc20]
movabs rcx, 0xb3e1a423818cea2e
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea1d
mov r8d, ecx
xor r8b, 0x42
mov r9d, ecx
and r9b, 0xf3
xor cl, 0xb1
and cl, r8b
xor r9b, 0xb1
or r9b, cl
xor r9b, byte [rax + rdx]
xor r9b, 0xb1
mov byte [0x18004feff], r9b
movabs rcx, 0xb3e1a423818cea2f
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea1e
mov r8d, ecx
xor r8b, 0x42
mov r9d, ecx
and r9b, 0xf3
xor cl, 0xb1
and cl, r8b
xor r9b, 0xb1
or r9b, cl
xor r9b, byte [rax + rdx]
xor r9b, 0xb1
mov byte [0x18004ff00], r9b
movabs rcx, 0xb3e1a423818cea30
movzx ecx, byte [rax + rcx]
movabs rdx, 0xb3e1a423818cea1f
mov r8d, ecx
xor r8b, 0x42
mov r9d, ecx
and r9b, 0xf3
xor cl, 0xb1
and cl, r8b
xor r9b, 0xb1
or r9b, cl
xor r9b, byte [rax + rdx]
xor r9b, 0xb1
mov byte [0x18004ff01], r9b
mov byte [0x18004ff02], 1
mov r14, qword [0x18004dc38]
add r14, rdi
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov r8, rdx
sub r8, rcx
cmp r8, rax
jae 0x180024560
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov rdx, rax
mov r9, r14
call fcn.180010c20
jmp 0x180024589
mov r15, rax
add r15, rcx
mov qword [rsi + 0x10], r15
mov r12, rsi
cmp rdx, 0x10
jb 0x180024576
mov r12, qword [rsi]
add rcx, r12
mov rdx, r14
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
mov byte [r12 + r15], 0
mov ecx, dword [rbx + 0x40]
cmp ecx, 0xe
jne 0x18002471b
mov byte [rbp + 0xf], 0x27
lea rcx, [rbx + 0x48]
lea rdx, [rbp - 0x40]
call fcn.180024cb0
mov rax, qword [rbx + 0xb8]
mov qword [rbp - 0x50], rax
cmp byte [0x18004ff12], 0
jne 0x1800246b2
mov rdx, qword [0x18004dc20]
movabs rax, 0xb3e1a423818cea42
add rax, rdx
movabs rcx, 0xb3e1a423818cea61
add rcx, rdx
xor edx, edx
lea r8, [0x18004ff03]
nop dword [rax + rax]
movzx r14d, byte [rcx + rdx]
mov esi, r14d
not sil
movzx r9d, byte [rax + rdx]
mov r10d, r9d
not r10b
mov ebx, r9d
and bl, 0x12
mov r11d, r14d
and r11b, 0xed
mov r15d, r14d
or r15b, 0x12
xor r11b, 0x26
and r11b, r15b
and sil, 0x24
or sil, r11b
mov r11d, r14d
and r11b, 0x12
xor r11b, sil
mov esi, r14d
xor sil, 0x12
xor r14b, 0xed
or r14b, sil
xor r11b, 0x34
mov esi, r11d
xor sil, r14b
or r11b, r14b
not r11b
or r11b, sil
mov r14d, r9d
and r14b, 0xed
and r10b, 0x10
xor bl, 0x10
and bl, r9b
mov esi, r14d
xor sil, 0xfd
or r14b, 2
and r14b, bl
or bl, r10b
and r10b, r9b
or r10b, bl
not r10b
and r10b, sil
mov ebx, r9d
xor bl, 0x12
xor r9b, 0xed
or r9b, bl
not r9b
or r9b, r14b
or r9b, r10b
xor r9b, r11b
mov byte [rdx + r8], r9b
inc rdx
cmp rdx, 0xf
jne 0x1800245f0
mov byte [0x18004ff12], 1
mov r8, qword [0x18004dc40]
add r8, rdi
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
lea rbx, [rbp - 0x20]
lea rdx, [rbp - 0x50]
lea r9, [rbp - 0x40]
mov rcx, rbx
call fcn.18002faf0
mov r8, qword [rbp - 0x10]
cmp qword [rbp - 8], 0x10
jb 0x1800246e8
mov rbx, qword [rbp - 0x20]
mov r9, qword [rbp]
mov rcx, qword [r9 + 0x10]
mov rax, qword [r9 + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x18002483b
mov qword [rsp + 0x20], r8
mov rcx, r9
mov rdx, r8
mov r9, rbx
call fcn.180010c20
jmp 0x18002485f
call fcn.18002fc30
mov qword [rbp - 0x40], rax
cmp byte [0x18004ff1f], 0
jne 0x1800247ab
mov rdx, qword [0x18004dc20]
movabs rax, 0xb3e1a423818cea89
add rax, rdx
movabs rcx, 0xb3e1a423818cea99
add rcx, rdx
xor edx, edx
lea r8, [0x18004ff13]
nop word [rax + rax]
movzx r9d, byte [rcx + rdx]
movzx r10d, byte [rax + rdx]
mov r11d, r10d
not r11b
or r11b, r9b
not r9b
or r9b, r10b
mov r10d, r11d
xor r10b, 0xde
mov ebx, r9d
xor bl, 0xde
xor r11b, 0x21
and r11b, bl
xor r9b, 0x21
and r9b, r10b
or r9b, r11b
mov byte [rdx + r8], r9b
inc rdx
cmp rdx, 0xc
jne 0x180024760
mov byte [0x18004ff1f], 1
mov rdx, qword [0x18004dc48]
add rdx, rdi
lea rbx, [rbp - 0x20]
lea r8, [rbp - 0x40]
mov rcx, rbx
call fcn.18002c3b0
mov r8, qword [rbp - 0x10]
cmp qword [rbp - 8], 0x10
jb 0x1800247d4
mov rbx, qword [rbp - 0x20]
mov r9, qword [rbp]
mov rcx, qword [r9 + 0x10]
mov rax, qword [r9 + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x180024800
mov qword [rsp + 0x20], r8
mov rcx, r9
mov rdx, r8
mov r9, rbx
call fcn.180010c20
jmp 0x180024824
lea r14, [rcx + r8]
mov qword [r9 + 0x10], r14
mov r15, r9
cmp rax, 0x10
jb 0x180024814
mov r15, qword [r9]
add rcx, r15
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + r14], 0
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x1800248f1
mov rcx, qword [rbp - 0x20]
jmp 0x1800248c0
lea r14, [rcx + r8]
mov qword [r9 + 0x10], r14
mov r15, r9
cmp rax, 0x10
jb 0x18002484f
mov r15, qword [r9]
add rcx, r15
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + r14], 0
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x18002489e
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x180024899
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180024adc
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180039c44
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x1800248f1
mov rcx, qword [rbp - 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1800248ec
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180024adc
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180039c44
mov rax, qword [rbp]
test r13d, r13d
je 0x180024ac8
mov ecx, r13d
call fcn.18002fc30
mov qword [rbp - 0x40], rax
cmp byte [0x18004ff2c], 0
jne 0x180024a11
mov rdx, qword [0x18004dc20]
movabs rax, 0xb3e1a423818ceab8
add rax, rdx
movabs rcx, 0xb3e1a423818ceace
add rcx, rdx
xor edx, edx
lea r8, [0x18004ff20]
nop word cs:[rax + rax]
movzx r9d, byte [rcx + rdx]
mov r11d, r9d
not r11b
movzx r10d, byte [rax + rdx]
mov ebx, r9d
and bl, 9
mov esi, r9d
and sil, 0xf6
or bl, 0xe0
xor bl, sil
mov esi, ebx
and sil, 0xf7
xor sil, 0xe0
xor bl, 0x17
or bl, sil
and r11b, 8
xor r9b, 0xf7
or r9b, r11b
and r9b, bl
mov r11d, r10d
or r11b, 0xf7
mov ebx, r10d
and bl, 0xf7
mov esi, r11d
and r11b, 0xc9
xor r11b, bl
xor bl, 0x40
and bl, r10b
xor sil, 0xbf
mov r14d, r10d
or r14b, 8
xor r14b, bl
and bl, 0xb7
and r14b, sil
or r14b, bl
xor r11b, 0xc9
xor r10b, 0xf7
or r10b, r11b
mov r11d, r9d
and r11b, 0x14
not r14b
and r14b, r10b
or r11b, 0xb
mov r10d, r9d
and r10b, 0x6b
xor r10b, r11b
and r9b, 0x80
or r9b, r10b
xor r9b, r14b
xor r9b, 0xb
mov byte [rdx + r8], r9b
inc rdx
cmp rdx, 0xc
jne 0x180024950
mov byte [0x18004ff2c], 1
add rdi, qword [0x18004dc50]
lea rsi, [rbp - 0x20]
lea r8, [rbp - 0x40]
mov rcx, rsi
mov rdx, rdi
call fcn.18002c3b0
mov r8, qword [rbp - 0x10]
cmp qword [rbp - 8], 0x10
jb 0x180024a3a
mov rsi, qword [rbp - 0x20]
mov r9, qword [rbp]
mov rcx, qword [r9 + 0x10]
mov rax, qword [r9 + 0x18]
mov rdx, rax
sub rdx, rcx
cmp rdx, r8
jae 0x180024a66
mov qword [rsp + 0x20], r8
mov rcx, r9
mov rdx, r8
mov r9, rsi
call fcn.180010c20
jmp 0x180024a89
lea rdi, [rcx + r8]
mov qword [r9 + 0x10], rdi
mov rbx, r9
cmp rax, 0x10
jb 0x180024a7a
mov rbx, qword [r9]
add rcx, rbx
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x180024ac4
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x180024abf
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x180024adc
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.180039c44
mov rax, qword [rbp]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3