Function at 0x14003cfc4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x420
mov rax, qword [0x14006f7c0]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rsi, rdx
mov qword [rbp + 0x280], rdx
xor r12d, r12d
mov rax, rdx
lea r14d, [r12 + 0xf]
cmp qword [rdx + 0x18], r14
jbe 0x14003d019
mov rax, qword [rdx]
mov qword [rsp + 0x68], rax
mov r8b, r12b
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x1d0]
call fcn.140028ebc
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x290], xmm0
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x290]
call fcn.1400291fc
test eax, eax
jne 0x14003d9ff
lea rcx, [rbp + 0x1d0]
call fcn.14002af00
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov rdi, qword [rbp + 0x298]
test rdi, rdi
je 0x14003d089
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x298]
movaps xmm0, xmmword [rbp + 0x290]
movdqa xmmword [rbp + 0x2a0], xmm0
test rdi, rdi
je 0x14003d0a8
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x298]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c0], xmm1
or r13, 0xffffffffffffffff
test rdi, rdi
je 0x14003d0fe
mov eax, r13d
lock xadd dword [rdi + 8], eax
add eax, r13d
jne 0x14003d0f7
mov rbx, qword [rbp + 0x298]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x14003d0f7
mov rdi, qword [rbp + 0x298]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x14003d0fe
mov rdi, qword [rbp + 0x298]
mov r15, qword [rbp + 0x2a0]
test r15, r15
je 0x14003d903
mov cl, 0x60
mov dword [rsp + 0x34], 0x130a4e60
mov word [rsp + 0x38], 0xe0f
xor eax, eax
mov byte [rsp + 0x3a], al
mov rax, r12
xor byte [rsp + rax + 0x35], cl
inc rax
cmp rax, 5
jae 0x14003d13b
mov cl, byte [rsp + 0x34]
jmp 0x14003d128
mov byte [rsp + 0x3a], r12b
lea rax, [rsp + 0x35]
mov qword [rsp + 0x58], rax
mov r8b, r12b
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x110]
call fcn.140028ebc
nop
lea r14, [r15 + 0x20]
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14003d170
mov rcx, qword [r14]
mov rax, qword [r14 + 0x10]
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x1b0], xmm0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x250]
call fcn.14002a92c
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.140028ef8
lea rax, [rbp + 0x110]
cmp qword [rbp + 0x128], 7
cmova rax, qword [rbp + 0x110]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0x120]
mov qword [rbp + 0xa8], rax
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x1a0], xmm0
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x210]
call fcn.14002b058
mov ebx, eax
lea rcx, [rbp + 0x210]
call fcn.14002af00
nop
lea rcx, [rbp + 0x110]
call fcn.14002af00
test ebx, ebx
jne 0x14003d89e
mov cl, 0x2f
mov dword [rsp + 0x24], 0x5c45012f
mov word [rsp + 0x28], 0x4140
xor eax, eax
mov byte [rsp + 0x2a], al
mov rax, r12
xor byte [rsp + rax + 0x25], cl
inc rax
cmp rax, 5
jae 0x14003d254
mov cl, byte [rsp + 0x24]
jmp 0x14003d241
mov byte [rsp + 0x2a], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
lea rax, [rsp + 0x25]
mov r8, r13
inc r8
cmp byte [rax + r8], r12b
jne 0x14003d270
lea rdx, [rsp + 0x25]
lea rcx, [rbp - 0x50]
call fcn.1400013b0
nop
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14003d295
mov rcx, qword [r14]
mov rax, qword [r14 + 0x10]
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0x190], xmm0
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x260]
call fcn.14002a9f4
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140028ef8
nop
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rax, qword [rbp + 0x10]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0xc8], rax
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x180], xmm0
lea r8, [rsp + 0x21]
lea rdx, [rbp + 0x180]
lea rcx, [rbp - 0x30]
call fcn.140028f98
nop
mov r8, rsi
mov r14d, 0xf
cmp qword [rsi + 0x18], r14
jbe 0x14003d330
mov r8, qword [rsi]
mov r9, r13
inc r9
cmp byte [r8 + r9], r12b
jne 0x14003d333
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140002ca0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x140], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r14
mov byte [rax], r12b
lea r9, [rbp - 0x50]
lea r8, [rbp + 0x130]
mov dl, byte [rsp + 0x21]
lea rcx, [rbp + 0x2f0]
call fcn.14001903c
nop
mov rdx, qword [rbp + 0x148]
mov ebx, 0x1000
cmp rdx, r14
jbe 0x14003d3c5
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d3bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8bd
call fcn.140052234
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, r14
jbe 0x14003d3fb
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d3f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8c4
call fcn.140052234
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r14
mov byte [rbp - 0x30], r12b
lea rcx, [rbp + 0x10]
call fcn.14002af00
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, r14
jbe 0x14003d447
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d442
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8cb
call fcn.140052234
mov cl, 0x32
mov dword [rsp + 0x2c], 0x41581c32
mov word [rsp + 0x30], 0x5c5d
xor eax, eax
mov byte [rsp + 0x32], al
mov rax, r12
xor byte [rsp + rax + 0x2d], cl
inc rax
cmp rax, 5
jae 0x14003d474
mov cl, byte [rsp + 0x2c]
jmp 0x14003d461
mov byte [rsp + 0x32], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], r12
lea rax, [rsp + 0x2d]
mov r8, r13
inc r8
cmp byte [rax + r8], r12b
jne 0x14003d490
lea rdx, [rsp + 0x2d]
lea rcx, [rbp - 0x10]
call fcn.1400013b0
nop
lea rcx, [r15 + 0x20]
cmp qword [r15 + 0x38], 7
jbe 0x14003d4b7
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x30]
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rax
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x170], xmm0
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x270]
call fcn.14002a9f4
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140028ef8
nop
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rax, qword [rbp + 0x30]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0xe8], rax
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0x160], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x70]
call fcn.140028f98
nop
movdqa xmm0, xmmword [str.__b_414_48.r]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xd0b393c
mov word [rsp + 0x54], 0x7213
xor eax, eax
mov byte [rsp + 0x56], al
mov rcx, r12
mov al, byte [rsp + 0x40]
xor byte [rsp + rcx + 0x41], al
inc rcx
cmp rcx, 0x15
jb 0x14003d567
mov byte [rsp + 0x56], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
lea rax, [rsp + 0x41]
mov r8, r13
inc r8
cmp byte [rax + r8], r12b
jne 0x14003d594
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x70]
call fcn.1400013b0
nop
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x70]
mov dl, byte [rsp + 0x20]
lea rcx, [rbp + 0x1f0]
call fcn.14001903c
nop
lea r9, [rbp - 0x10]
lea r8, [rbp + 0x1f0]
mov dl, byte [rsp + 0x20]
lea rcx, [rbp + 0x2d0]
call fcn.14001903c
nop
mov rdx, qword [rbp + 0x208]
cmp rdx, r14
jbe 0x14003d61f
inc rdx
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d619
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8d2
call fcn.140052234
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r14
jbe 0x14003d656
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d650
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8d9
call fcn.140052234
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x14003d68d
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d688
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8e0
call fcn.140052234
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x70], r12b
lea rcx, [rbp + 0x30]
call fcn.14002af00
nop
mov rdx, qword [rbp + 8]
cmp rdx, r14
jbe 0x14003d6da
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d6d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8e7
call fcn.140052234
lea rdx, [rbp + 0x2f0]
cmp qword [rbp + 0x308], r14
cmova rdx, qword [rbp + 0x2f0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
mov r8, r13
inc r8
cmp byte [rdx + r8], r12b
jne 0x14003d702
lea rcx, [rbp + 0x50]
call fcn.1400013b0
mov r9d, 8
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x2b0]
lea rcx, [0x1400708a0]
call fcn.14004f5d0
nop
lea rax, [rbp + 0x70]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
lea rdx, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], r14
cmova rdx, qword [rbp + 0x2b0]
mov r8, qword [rbp + 0x2c0]
lea rcx, [rbp + 0x70]
call fcn.1400059c8
nop
lea rdx, [rbp + 0x2d0]
cmp qword [rbp + 0x2e8], r14
cmova rdx, qword [rbp + 0x2d0]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r12
mov r8, r13
inc r8
cmp byte [rdx + r8], r12b
jne 0x14003d7a8
lea rcx, [rbp + 0xf0]
call fcn.1400013b0
nop
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0xf0]
lea rcx, [0x1400705c0]
call fcn.140017754
nop
mov rdx, qword [rbp + 0x2c8]
cmp rdx, r14
jbe 0x14003d812
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d80d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8ee
call fcn.140052234
mov qword [rbp + 0x2c0], r12
mov qword [rbp + 0x2c8], r14
mov byte [rbp + 0x2b0], r12b
mov rdx, qword [rbp + 0x2e8]
cmp rdx, r14
jbe 0x14003d864
inc rdx
mov rcx, qword [rbp + 0x2d0]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d85e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8f5
call fcn.140052234
nop
mov rdx, qword [rbp + 0x308]
cmp rdx, r14
jbe 0x14003d8a4
inc rdx
mov rcx, qword [rbp + 0x2f0]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d897
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d8fc
call fcn.140052234
jmp 0x14003d8a4
mov r14d, 0xf
lea rcx, [rbp + 0x2a0]
call fcn.14002a3e0
test eax, eax
jne 0x14003da15
jmp 0x14003d0fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x2a8]
test rcx, rcx
je 0x14003d94c
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x14003d945
mov rbx, qword [rbp + 0x2a8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x14003d945
mov rcx, qword [rbp + 0x2a8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0x298]
test rdi, rdi
je 0x14003d988
mov eax, r13d
lock xadd dword [rdi + 8], eax
add eax, r13d
jne 0x14003d988
mov rbx, qword [rbp + 0x298]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x14003d988
mov rcx, qword [rbp + 0x298]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, r14
jbe 0x14003d9bd
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14003d9b8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003d9f8
mov rcx, r8
call fcn.140052234
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r14
mov byte [rsi], r12b
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140052350
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp + 0x1d0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14002ae24
nop
mov edx, eax
lea rcx, str.directory_iterator::operator
call fcn.14002adc8
int3