Function at 0x140046758
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 - 0x3b8]
sub rsp, 0x490
mov rax, qword [0x14006f7c0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r14, rdx
mov qword [rbp + 0x2d0], rdx
xor r12d, r12d
mov cl, 0x5d
mov dword [rsp + 0x48], 0x313c2a5d
mov dword [rsp + 0x4c], 0x2e293831
mov word [rsp + 0x50], 1
mov eax, r12d
xor byte [rsp + rax + 0x49], cl
inc rax
cmp rax, 8
jae 0x1400467cb
mov cl, byte [rsp + 0x48]
jmp 0x1400467b8
mov byte [rsp + 0x51], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x49]
or rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], r12b
jne 0x1400467eb
lea rdx, [rsp + 0x49]
lea rcx, [rbp - 0x60]
call fcn.1400013b0
nop
mov r8, r14
mov r13d, 0xf
cmp qword [r14 + 0x18], r13
jbe 0x140046815
mov r8, qword [r14]
mov r9, rsi
inc r9
cmp byte [r8 + r9], r12b
jne 0x140046818
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140002ca0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f0], xmm0
mov qword [rbp + 0x300], r12
mov qword [rbp + 0x308], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2f0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x300], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r13
mov byte [rax], r12b
mov rdx, qword [rbp - 0x48]
cmp rdx, r13
jbe 0x1400468a1
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004689c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004689c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052234
movdqa xmm0, xmmword [0x140056df0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], r12b
lea rax, [rbp + 0x2f0]
cmp qword [rbp + 0x308], r13
cmova rax, qword [rbp + 0x2f0]
mov qword [rbp - 0x78], rax
mov r8b, r12b
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x220]
call fcn.140028ebc
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x2e0], xmm0
xor r8d, r8d
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x2e0]
call fcn.1400291fc
test eax, eax
jne 0x140047327
lea rcx, [rbp + 0x220]
call fcn.14002af00
xorps xmm0, xmm0
movups xmmword [rbp + 0x310], xmm0
mov rdi, qword [rbp + 0x2e8]
test rdi, rdi
je 0x140046936
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x2e8]
movaps xmm0, xmmword [rbp + 0x2e0]
movdqa xmmword [rbp + 0x310], xmm0
test rdi, rdi
je 0x140046955
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x2e8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f8], xmm1
test rdi, rdi
je 0x1400469a3
mov eax, esi
lock xadd dword [rdi + 8], eax
add eax, esi
jne 0x14004699c
mov rbx, qword [rbp + 0x2e8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14004699c
mov rdi, qword [rbp + 0x2e8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x1400469a3
mov rdi, qword [rbp + 0x2e8]
mov r15, qword [rbp + 0x310]
test r15, r15
je 0x1400471db
mov cl, 0x47
mov dword [rsp + 0x58], 0x26306947
mov dword [rsp + 0x5c], 0x33222b2b
xor eax, eax
mov byte [rsp + 0x60], al
mov rax, r12
xor byte [rsp + rax + 0x59], cl
inc rax
cmp rax, 7
jae 0x1400469e1
mov cl, byte [rsp + 0x58]
jmp 0x1400469ce
mov byte [rsp + 0x60], r12b
lea rax, [rsp + 0x59]
mov qword [rbp - 0x70], rax
mov r8b, r12b
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xe0]
call fcn.140028ebc
nop
lea rsi, [r15 + 0x20]
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140046a14
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x10]
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x88], rax
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x210], xmm0
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x2b0]
call fcn.14002a92c
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp + 0x260]
call fcn.140028ef8
lea rax, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 7
cmova rax, qword [rbp + 0xe0]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x1a0], xmm0
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x260]
call fcn.14002b058
mov ebx, eax
lea rcx, [rbp + 0x260]
call fcn.14002af00
nop
lea rcx, [rbp + 0xe0]
call fcn.14002af00
test ebx, ebx
jne 0x140047178
mov cl, 0x3d
mov dword [rsp + 0x28], 0x5c4a133d
mov dword [rsp + 0x2c], 0x49585151
xor eax, eax
mov byte [rsp + 0x30], al
mov rax, r12
xor byte [rsp + rax + 0x29], cl
inc rax
cmp rax, 7
jae 0x140046af9
mov cl, byte [rsp + 0x28]
jmp 0x140046ae6
mov byte [rsp + 0x30], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
lea rax, [rsp + 0x29]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x140046b16
lea rdx, [rsp + 0x29]
lea rcx, [rbp - 0x20]
call fcn.1400013b0
nop
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140046b3b
mov rcx, qword [rsi]
mov rax, qword [rsi + 0x10]
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rax
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x1b0], xmm0
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x2c0]
call fcn.14002a9f4
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.140028ef8
nop
lea rax, [rbp + 0x100]
cmp qword [rbp + 0x118], 7
cmova rax, qword [rbp + 0x100]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0x110]
mov qword [rbp + 0xb8], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0x1c0], xmm0
lea r8, [rsp + 0x21]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x40]
call fcn.140028f98
nop
lea r8, [rbp + 0x2f0]
cmp qword [rbp + 0x308], r13
cmova r8, qword [rbp + 0x2f0]
or rsi, 0xffffffffffffffff
mov r9, rsi
inc r9
cmp byte [r8 + r9], r12b
jne 0x140046bf0
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.140002ca0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r13
mov byte [rax], r12b
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x180]
mov dl, byte [rsp + 0x21]
lea rcx, [rbp + 0x360]
call fcn.14001903c
nop
mov rdx, qword [rbp + 0x198]
mov ebx, 0x1000
cmp rdx, r13
jbe 0x140046c82
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, rbx
jb 0x140046c7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047195
call fcn.140052234
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, r13
jbe 0x140046cb8
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rbx
jb 0x140046cb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004719c
call fcn.140052234
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r13
mov byte [rbp - 0x40], r12b
lea rcx, [rbp + 0x100]
call fcn.14002af00
nop
mov rdx, qword [rbp - 8]
cmp rdx, r13
jbe 0x140046d07
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140046d02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471a3
call fcn.140052234
mov cl, 0x32
mov dword [rsp + 0x38], 0x53451c32
mov dword [rsp + 0x3c], 0x46575e5e
xor eax, eax
mov byte [rsp + 0x40], al
mov rax, r12
xor byte [rsp + rax + 0x39], cl
inc rax
cmp rax, 7
jae 0x140046d35
mov cl, byte [rsp + 0x38]
jmp 0x140046d22
mov byte [rsp + 0x40], r12b
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
lea rax, [rsp + 0x39]
mov r8, rsi
inc r8
cmp byte [rax + r8], r12b
jne 0x140046d51
lea rdx, [rsp + 0x39]
lea rcx, [rbp + 0x40]
call fcn.1400013b0
nop
lea rcx, [r15 + 0x20]
cmp qword [r15 + 0x38], 7
jbe 0x140046d78
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x30]
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rax
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x1d0], xmm0
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x280]
call fcn.14002a9f4
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp + 0x120]
call fcn.140028ef8
nop
lea rax, [rbp + 0x120]
cmp qword [rbp + 0x138], 7
cmova rax, qword [rbp + 0x120]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0xd8], rax
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x1e0], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x20]
call fcn.140028f98
nop
movdqa xmm0, xmmword [0x140060580]
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x515c4a12
mov dword [rsp + 0x7c], 0x4e495851
mov word [rbp - 0x80], 0x12
mov rcx, r12
mov al, byte [rsp + 0x68]
xor byte [rsp + rcx + 0x69], al
inc rcx
cmp rcx, 0x18
jb 0x140046e37
mov byte [rbp - 0x7f], r12b
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
lea rax, [rsp + 0x69]
mov r8, rsi
inc r8
cmp byte [rax + r8], r12b
jne 0x140046e63
lea rdx, [rsp + 0x69]
lea rcx, [rbp]
call fcn.1400013b0
nop
lea r9, [rbp + 0x20]
lea r8, [rbp]
mov dl, byte [rsp + 0x20]
lea rcx, [rbp + 0x240]
call fcn.14001903c
nop
lea r9, [rbp + 0x40]
lea r8, [rbp + 0x240]
mov dl, byte [rsp + 0x20]
lea rcx, [rbp + 0x340]
call fcn.14001903c
nop
mov rdx, qword [rbp + 0x258]
cmp rdx, r13
jbe 0x140046eed
inc rdx
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, rbx
jb 0x140046ee7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471aa
call fcn.140052234
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, r13
jbe 0x140046f24
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, rbx
jb 0x140046f1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471b1
call fcn.140052234
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, r13
jbe 0x140046f5a
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x140046f55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471b8
call fcn.140052234
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r13
mov byte [rbp + 0x20], r12b
lea rcx, [rbp + 0x120]
call fcn.14002af00
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, r13
jbe 0x140046fa9
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, rbx
jb 0x140046fa4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471bf
call fcn.140052234
lea rdx, [rbp + 0x360]
cmp qword [rbp + 0x378], r13
cmova rdx, qword [rbp + 0x360]
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r12
mov qword [rbp + 0x158], r12
mov r8, rsi
inc r8
cmp byte [rdx + r8], r12b
jne 0x140046fda
lea rcx, [rbp + 0x140]
call fcn.1400013b0
mov r9d, 8
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0x320]
lea rcx, [0x1400708a0]
call fcn.14004f5d0
nop
lea rax, [rbp + 0x160]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r12
mov qword [rbp + 0x178], r12
lea rdx, [rbp + 0x320]
cmp qword [rbp + 0x338], r13
cmova rdx, qword [rbp + 0x320]
mov r8, qword [rbp + 0x330]
lea rcx, [rbp + 0x160]
call fcn.1400059c8
nop
lea rdx, [rbp + 0x340]
cmp qword [rbp + 0x358], r13
cmova rdx, qword [rbp + 0x340]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r12
mov r8, rsi
inc r8
cmp byte [rdx + r8], r12b
jne 0x140047085
lea rcx, [rbp + 0x60]
call fcn.1400013b0
nop
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x60]
lea rcx, [0x1400705c0]
call fcn.140017754
nop
mov rdx, qword [rbp + 0x338]
cmp rdx, r13
jbe 0x1400470ec
inc rdx
mov rcx, qword [rbp + 0x320]
mov rax, rcx
cmp rdx, rbx
jb 0x1400470e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471c6
call fcn.140052234
mov qword [rbp + 0x330], r12
mov qword [rbp + 0x338], r13
mov byte [rbp + 0x320], r12b
mov rdx, qword [rbp + 0x358]
cmp rdx, r13
jbe 0x14004713e
inc rdx
mov rcx, qword [rbp + 0x340]
mov rax, rcx
cmp rdx, rbx
jb 0x140047138
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471cd
call fcn.140052234
nop
mov rdx, qword [rbp + 0x378]
cmp rdx, r13
jbe 0x14004717c
inc rdx
mov rcx, qword [rbp + 0x360]
mov rax, rcx
cmp rdx, rbx
jb 0x140047171
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400471d4
call fcn.140052234
jmp 0x14004717c
or rsi, 0xffffffffffffffff
lea rcx, [rbp + 0x310]
call fcn.14002a3e0
test eax, eax
jne 0x14004733d
jmp 0x1400469a3
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 + 0x318]
test rcx, rcx
je 0x140047220
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x140047219
mov rbx, qword [rbp + 0x318]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140047219
mov rcx, qword [rbp + 0x318]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0x2e8]
test rdi, rdi
je 0x140047258
mov eax, esi
lock xadd dword [rdi + 8], eax
add eax, esi
jne 0x140047258
mov rbx, qword [rbp + 0x2e8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140047258
mov rcx, qword [rbp + 0x2e8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x308]
cmp rdx, r13
jbe 0x14004729b
inc rdx
mov rcx, qword [rbp + 0x2f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047296
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047296
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052234
mov qword [rbp + 0x300], r12
mov qword [rbp + 0x308], r13
mov byte [rbp + 0x2f0], r12b
mov rdx, qword [r14 + 0x18]
cmp rdx, r13
jbe 0x1400472e5
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400472e0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140047320
mov rcx, r8
call fcn.140052234
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r13
mov byte [r14], r12b
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140052350
lea r11, [rsp + 0x490]
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 + 0x220]
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