Function at 0x18008bfe0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x340
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1803435b8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r14, rdx
mov qword [rsp + 0x78], rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov byte [rbp + 0x160], 1
mov dword [rsp + 0x30], 0x1005e41
mov edx, r15d
nop
lea eax, [rdx + 0x6f]
xor byte [rsp + rdx + 0x30], al
inc rdx
cmp rdx, 2
jb 0x18008c040
mov byte [rsp + 0x33], r15b
lea rax, [rsp + 0x30]
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], r15b
jne 0x18008c070
mov qword [rbp - 0x38], rax
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x168]
call fcn.180072b80
nop
mov dword [rbp + 0x20], 0x522c3434
mov dword [rbp + 0x24], 0x1005a5d
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x6f]
xor byte [rbp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x18008c0b0
mov byte [rbp + 0x27], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x188], xmm0
mov qword [rbp + 0x198], r15
mov qword [rbp + 0x1a0], r15
lea rax, [rbp + 0x20]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x18008c0e3
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x188]
call fcn.18005bb80
nop
xor eax, eax
mov word [rsp + 0x38], ax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x30], rax
lea rcx, [rsp + 0x38]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x18008c116
mov qword [rbp - 0x28], rax
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a8]
call fcn.180072b80
nop
lea r12, [rsi + 0xc8]
mov r8d, 1
lea rdx, [rbp + 0x160]
mov rcx, r12
call fcn.180072900
nop
lea r9, [fcn.180083090]
mov edx, 0x68
lea r8d, [rdx - 0x67]
lea rcx, [rbp + 0x160]
call fcn.1800ef77c
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.180074aa0
test eax, eax
jne 0x18008cb9a
mov r13, qword [rsp + 0x58]
test r13, r13
je 0x18008c1a5
lock inc dword [r13 + 8]
mov r13, qword [rsp + 0x58]
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
test r13, r13
je 0x18008c1c6
lock inc dword [r13 + 8]
mov r13, qword [rsp + 0x58]
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rcx, [rbp - 0x20]
call fcn.180082b40
nop
mov esi, 7
lea edi, [rsi + 8]
nop word [rax + rax]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x18008ca26
mov byte [rbp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
xor r14d, r14d
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], rsi
mov word [rbp + 0x58], r14w
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x90], rdi
mov byte [rbp + 0x78], r14b
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], rsi
mov word [rbp + 0x98], r14w
lea r8d, [r14 + 3]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.18008f000
mov rax, qword [rbp - 0x80]
mov edx, dword [rbp - 0x78]
test edx, edx
je 0x18008c276
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x18008cbac
cmp eax, 2
jne 0x18008c280
xor r15b, r15b
jmp 0x18008c2b8
mov r8d, 3
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.18008f000
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 0x68]
test edx, edx
je 0x18008c2ac
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x18008cb7a
cmp eax, 3
jne 0x18008c99c
mov r15b, 1
mov byte [rbp + 0x50], r15b
lea rsi, [rbx + 0x20]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18008c2cd
mov rcx, qword [rsi]
lea r14, [rsi + 0x10]
mov rax, qword [r14]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.18008ef00
cmp rax, rdi
je 0x18008c32b
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18008c2ff
cmp cx, 0x2f
jne 0x18008c308
add rax, 2
cmp rax, rdi
jne 0x18008c2f0
cmp rax, rdi
je 0x18008c32b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18008c32b
cmp cx, 0x2f
je 0x18008c32b
mov rbx, rdx
cmp rax, rdx
jne 0x18008c310
sub rdi, rbx
sar rdi, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xor eax, eax
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], rax
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x120]
call fcn.180072ab0
movups xmm7, xmmword [rbp + 0x120]
movups xmmword [rbp + 0x58], xmm7
movups xmm6, xmmword [rbp + 0x130]
movups xmmword [rbp + 0x68], xmm6
movq rax, xmm6
test rax, rax
jne 0x18008c3e3
lea edi, [rax + 0xf]
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 8
jb 0x18008c3c7
movq rcx, xmm7
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rax, rcx
jb 0x18008c3c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008ca1f
call fcn.1800ef5a0
mov esi, 7
lea rcx, [rsp + 0x60]
call fcn.18008e080
test eax, eax
jne 0x18008cb8b
jmp 0x18008c1f0
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18008c3f0
mov rcx, qword [rsi]
mov rax, qword [r14]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.18008ef00
cmp rax, rdi
je 0x18008c44b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18008c416
cmp cx, 0x2f
jne 0x18008c41f
add rax, 2
cmp rax, rdi
jne 0x18008c407
cmp rax, rdi
je 0x18008c44b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18008c44b
cmp cx, 0x2f
je 0x18008c44b
mov rbx, rdx
cmp rax, rdx
jne 0x18008c430
sub rdi, rbx
sar rdi, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xor eax, eax
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rax
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.180072ab0
nop
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 8
cmovae rcx, qword [rbp + 0xc0]
mov rax, qword [rbp + 0xd0]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.18008ef00
cmp rax, rdi
je 0x18008c4eb
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18008c4bf
cmp cx, 0x2f
jne 0x18008c4c8
add rax, 2
cmp rax, rdi
jne 0x18008c4b0
cmp rax, rdi
je 0x18008c4eb
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18008c4eb
cmp cx, 0x2f
je 0x18008c4eb
mov rbx, rdx
cmp rax, rdx
jne 0x18008c4d0
mov r8d, Ordinal_60
mov rdx, rdi
mov rcx, rbx
call fcn.1800ee7f0
cmp rbx, rax
je 0x18008c53f
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x18008c53f
cmp word [rdx], 0x2e
jne 0x18008c521
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x18008c542
cmp word [rcx], 0x2e
jne 0x18008c542
jmp 0x18008c53f
sub rdx, 2
cmp rbx, rdx
je 0x18008c53f
nop word [rax + rax]
cmp word [rdx], 0x2e
je 0x18008c542
sub rdx, 2
cmp rbx, rdx
jne 0x18008c530
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xor ecx, ecx
mov qword [rbp + 0x150], rcx
mov qword [rbp + 0x158], rcx
mov r8, rax
lea rcx, [rbp + 0x140]
call fcn.180072ab0
movups xmm0, xmmword [rbp + 0x140]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rbp + 0x150]
movups xmmword [rbp + 0xa8], xmm1
mov rdx, qword [rbp + 0xd8]
cmp rdx, 8
jb 0x18008c5d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008c5ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008ca11
call fcn.1800ef5a0
cmp qword [rsi + 0x18], 8
jb 0x18008c5dd
mov rsi, qword [rsi]
mov rax, qword [r14]
lea rdi, [rsi + rax*2]
mov rbx, rdi
mov rdx, rdi
mov rcx, rsi
call fcn.18008ef00
cmp rax, rdi
je 0x18008c63b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18008c606
cmp cx, 0x2f
jne 0x18008c60f
add rax, 2
cmp rax, rdi
jne 0x18008c5f7
cmp rax, rdi
je 0x18008c63b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18008c63b
cmp cx, 0x2f
je 0x18008c63b
mov rbx, rdx
cmp rax, rdx
jne 0x18008c620
sub rdi, rbx
sar rdi, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xor r14d, r14d
mov qword [rbp + 0x110], r14
mov qword [rbp + 0x118], r14
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.180072ab0
nop
lea rax, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae rax, qword [rbp + 0x100]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x110]
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x10], xmm0
lea r9, [rsp + 0x34]
lea r8, [rbp + 0x10]
mov edx, 0xfde9
lea rcx, [rbp - 0x60]
call fcn.180072c70
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbp + 0xe0], xmm1
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], r14b
mov ecx, r14d
test r15b, r15b
je 0x18008c71a
mov dword [rbp + 0x38], 0x1e1e3634
mov dword [rbp + 0x3c], 0x2b071117
mov dword [rbp + 0x40], 0x100585e
nop dword [rax + rax]
lea eax, [rcx + 0x6f]
xor byte [rbp + rcx + 0x38], al
inc rcx
cmp rcx, 0xa
jb 0x18008c700
mov byte [rbp + 0x43], 0
lea rdi, [rbp + 0x38]
jmp 0x18008c748
mov dword [rbp + 0x28], 0x1e183634
mov dword [rbp + 0x2c], 0x552916
mov byte [rbp + 0x30], 1
nop dword [rax]
lea eax, [rcx + 0x6f]
xor byte [rbp + rcx + 0x28], al
inc rcx
cmp rcx, 7
jb 0x18008c730
mov byte [rbp + 0x30], 0
lea rdi, [rbp + 0x28]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18008c750
movq r8, xmm0
psrldq xmm0, 8
movq rcx, xmm0
mov rax, rcx
sub rax, r8
cmp rbx, rax
ja 0x18008c7f7
lea rax, [rbx + r8]
mov qword [rbp + 0xf0], rax
lea rsi, [rbp + 0xe0]
movq rax, xmm1
cmp rcx, 0x10
cmovae rsi, rax
lea rax, [rbx + rdi]
cmp rax, rsi
jbe 0x18008c7b5
lea rax, [rsi + r8]
cmp rdi, rax
ja 0x18008c7b5
cmp rsi, rdi
jbe 0x18008c7b8
mov r14, rsi
sub r14, rdi
jmp 0x18008c7b8
mov r14, rbx
lea rcx, [rsi + rbx]
inc r8
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + r14]
mov r8, rbx
sub r8, r14
lea rdx, [r14 + rbx]
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp + 0xe0]
xor r14d, r14d
jmp 0x18008c816
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0xe0]
call fcn.180013c40
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x1f0], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x200], xmm7
mov qword [rax + 0x10], r14
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rdi
mov byte [rax], 0
movups xmmword [rbp + 0x78], xmm6
movups xmmword [rbp + 0x88], xmm7
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x18008c887
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008c882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008ca18
call fcn.1800ef5a0
mov qword [rbp + 0xf0], r14
mov qword [rbp + 0xf8], rdi
mov byte [rbp + 0xe0], 0
lea rcx, [rbp + 0x100]
call fcn.1800097f0
mov rbx, qword [r12 + 8]
cmp rbx, qword [r12 + 0x10]
je 0x18008c8f1
mov qword [rsp + 0x40], rbx
mov byte [rbx], r15b
lea rcx, [rbx + 8]
lea rdx, [rbp + 0x58]
call fcn.180080e40
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp + 0x78]
call fcn.180009d20
nop
lea rcx, [rbx + 0x48]
lea rdx, [rbp + 0x98]
call fcn.180080e40
nop
add qword [r12 + 8], 0x68
jmp 0x18008c901
lea r8, [rbp + 0x50]
mov rdx, rbx
mov rcx, r12
call fcn.180073920
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 8
jb 0x18008c947
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008c942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008ca1f
call fcn.1800ef5a0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x18008c985
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008c980
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008ca1f
call fcn.1800ef5a0
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x18008c3c7
mov rcx, qword [rbp + 0x58]
jmp 0x18008c395
cmp rdi, 0x10
jb 0x18008c9d0
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008c9cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008ca1f
call fcn.1800ef5a0
cmp rsi, 8
jb 0x18008c3cc
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008ca07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008ca1f
call fcn.1800ef5a0
jmp 0x18008c3cc
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 [rsp + 0x68]
mov rdi, 0xffffffffffffffff
test rcx, rcx
je 0x18008ca6c
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18008ca67
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18008ca67
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r13, qword [rsp + 0x58]
test r13, r13
je 0x18008caa0
mov eax, edi
lock xadd dword [r13 + 8], eax
cmp eax, 1
jne 0x18008caa0
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18008caa0
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x70]
mov r10, qword [rsi + 0xd0]
mov rcx, qword [r12]
mov r8, r10
sub r8, rcx
movabs rax, 0x4ec4ec4ec4ec4ec5
imul r8
sar rdx, 5
mov r8, rdx
shr r8, 0x3f
add r8, rdx
movzx r9d, byte [rsp + 0x34]
mov rdx, r10
call fcn.180076490
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x1d0]
call fcn.180090160
lea rcx, [rsi + 0x98]
mov rdx, rax
call fcn.180009860
lea rcx, [rbp + 0x1d0]
call fcn.1800097f0
mov rbx, qword [rsi + 0xb8]
mov r8, qword [rbx + 8]
lea rdx, [rsi + 0xb8]
lea rcx, [rsi + 0xb8]
call fcn.1800744a0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
xor ecx, ecx
mov qword [rsi + 0xc0], rcx
mov rax, qword [rsi + 0xe0]
mov byte [rax], cl
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1800ef6c0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbx + 0x20]
lea rcx, str.directory_entry::status
call fcn.18008ff90
nop
mov edx, eax
lea rcx, str.directory_iterator::operator
call fcn.18008ff30
nop
mov r8, r14
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.18008ff90
nop
lea r8, [rbx + 0x20]
lea rcx, str.directory_entry::status
call fcn.18008ff90
int3