Function at 0x18008f890
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 [0x180174838]
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], 0x1005756
mov edx, r15d
nop
lea eax, [rdx + 0x78]
xor byte [rsp + rdx + 0x30], al
inc rdx
cmp rdx, 2
jb 0x18008f8f0
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 0x18008f920
mov qword [rbp - 0x38], rax
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x168]
call fcn.180073820
nop
mov dword [rbp + 0x20], 0x5b273d23
mov dword [rbp + 0x24], 0x1005352
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx + 0x20], al
inc rcx
cmp rcx, 6
jb 0x18008f960
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 0x18008f993
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x188]
call fcn.18005c5d0
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 0x18008f9c6
mov qword [rbp - 0x28], rax
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a8]
call fcn.180073820
nop
lea r12, [rsi + 0xc8]
mov r8d, 1
lea rdx, [rbp + 0x160]
mov rcx, r12
call fcn.1800735a0
nop
lea r9, [fcn.180083eb0]
mov edx, 0x68
lea r8d, [rdx - 0x67]
lea rcx, [rbp + 0x160]
call fcn.1800f520c
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.180075740
test eax, eax
jne 0x18009044a
mov r13, qword [rsp + 0x58]
test r13, r13
je 0x18008fa55
lock inc dword [r13 + 8]
mov r13, qword [rsp + 0x58]
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
test r13, r13
je 0x18008fa76
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.180083960
nop
mov esi, 7
lea edi, [rsi + 8]
nop word [rax + rax]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1800902d6
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.1800929a0
mov rax, qword [rbp - 0x80]
mov edx, dword [rbp - 0x78]
test edx, edx
je 0x18008fb26
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x18009045c
cmp eax, 2
jne 0x18008fb30
xor r15b, r15b
jmp 0x18008fb68
mov r8d, 3
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.1800929a0
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 0x68]
test edx, edx
je 0x18008fb5c
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x18009042a
cmp eax, 3
jne 0x18009024c
mov r15b, 1
mov byte [rbp + 0x50], r15b
lea rsi, [rbx + 0x20]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18008fb7d
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.1800928a0
cmp rax, rdi
je 0x18008fbdb
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18008fbaf
cmp cx, 0x2f
jne 0x18008fbb8
add rax, 2
cmp rax, rdi
jne 0x18008fba0
cmp rax, rdi
je 0x18008fbdb
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18008fbdb
cmp cx, 0x2f
je 0x18008fbdb
mov rbx, rdx
cmp rax, rdx
jne 0x18008fbc0
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.180073750
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 0x18008fc93
lea edi, [rax + 0xf]
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 8
jb 0x18008fc77
movq rcx, xmm7
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rax, rcx
jb 0x18008fc72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800902cf
call fcn.1800f5030
mov esi, 7
lea rcx, [rsp + 0x60]
call fcn.180091930
test eax, eax
jne 0x18009043b
jmp 0x18008faa0
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18008fca0
mov rcx, qword [rsi]
mov rax, qword [r14]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.1800928a0
cmp rax, rdi
je 0x18008fcfb
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18008fcc6
cmp cx, 0x2f
jne 0x18008fccf
add rax, 2
cmp rax, rdi
jne 0x18008fcb7
cmp rax, rdi
je 0x18008fcfb
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18008fcfb
cmp cx, 0x2f
je 0x18008fcfb
mov rbx, rdx
cmp rax, rdx
jne 0x18008fce0
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.180073750
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.1800928a0
cmp rax, rdi
je 0x18008fd9b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18008fd6f
cmp cx, 0x2f
jne 0x18008fd78
add rax, 2
cmp rax, rdi
jne 0x18008fd60
cmp rax, rdi
je 0x18008fd9b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18008fd9b
cmp cx, 0x2f
je 0x18008fd9b
mov rbx, rdx
cmp rax, rdx
jne 0x18008fd80
mov r8d, Ordinal_60
mov rdx, rdi
mov rcx, rbx
call fcn.1800f4280
cmp rbx, rax
je 0x18008fdef
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x18008fdef
cmp word [rdx], 0x2e
jne 0x18008fdd1
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x18008fdf2
cmp word [rcx], 0x2e
jne 0x18008fdf2
jmp 0x18008fdef
sub rdx, 2
cmp rbx, rdx
je 0x18008fdef
nop word [rax + rax]
cmp word [rdx], 0x2e
je 0x18008fdf2
sub rdx, 2
cmp rbx, rdx
jne 0x18008fde0
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.180073750
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 0x18008fe83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008fe7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800902c1
call fcn.1800f5030
cmp qword [rsi + 0x18], 8
jb 0x18008fe8d
mov rsi, qword [rsi]
mov rax, qword [r14]
lea rdi, [rsi + rax*2]
mov rbx, rdi
mov rdx, rdi
mov rcx, rsi
call fcn.1800928a0
cmp rax, rdi
je 0x18008feeb
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18008feb6
cmp cx, 0x2f
jne 0x18008febf
add rax, 2
cmp rax, rdi
jne 0x18008fea7
cmp rax, rdi
je 0x18008feeb
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x18008feeb
cmp cx, 0x2f
je 0x18008feeb
mov rbx, rdx
cmp rax, rdx
jne 0x18008fed0
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.180073750
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.180073910
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 0x18008ffca
mov dword [rbp + 0x38], 0x17153f23
mov dword [rbp + 0x3c], 0x220c1818
mov dword [rbp + 0x40], 0x100a1a9
nop dword [rax + rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx + 0x38], al
inc rcx
cmp rcx, 0xa
jb 0x18008ffb0
mov byte [rbp + 0x43], 0
lea rdi, [rbp + 0x38]
jmp 0x18008fff8
mov dword [rbp + 0x28], 0x17133f23
mov dword [rbp + 0x2c], 0x5e2019
mov byte [rbp + 0x30], 1
nop dword [rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx + 0x28], al
inc rcx
cmp rcx, 7
jb 0x18008ffe0
mov byte [rbp + 0x30], 0
lea rdi, [rbp + 0x28]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180090000
movq r8, xmm0
psrldq xmm0, 8
movq rcx, xmm0
mov rax, rcx
sub rax, r8
cmp rbx, rax
ja 0x1800900a7
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 0x180090065
lea rax, [rsi + r8]
cmp rdi, rax
ja 0x180090065
cmp rsi, rdi
jbe 0x180090068
mov r14, rsi
sub r14, rdi
jmp 0x180090068
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 0x1800900c6
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.1800146c0
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 0x180090137
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090132
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800902c8
call fcn.1800f5030
mov qword [rbp + 0xf0], r14
mov qword [rbp + 0xf8], rdi
mov byte [rbp + 0xe0], 0
lea rcx, [rbp + 0x100]
call fcn.18000a270
mov rbx, qword [r12 + 8]
cmp rbx, qword [r12 + 0x10]
je 0x1800901a1
mov qword [rsp + 0x40], rbx
mov byte [rbx], r15b
lea rcx, [rbx + 8]
lea rdx, [rbp + 0x58]
call fcn.180081cc0
nop
lea rcx, [rbx + 0x28]
lea rdx, [rbp + 0x78]
call fcn.18000a7a0
nop
lea rcx, [rbx + 0x48]
lea rdx, [rbp + 0x98]
call fcn.180081cc0
nop
add qword [r12 + 8], 0x68
jmp 0x1800901b1
lea r8, [rbp + 0x50]
mov rdx, rbx
mov rcx, r12
call fcn.1800745c0
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 8
jb 0x1800901f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800901f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800902cf
call fcn.1800f5030
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x180090235
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180090230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800902cf
call fcn.1800f5030
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x18008fc77
mov rcx, qword [rbp + 0x58]
jmp 0x18008fc45
cmp rdi, 0x10
jb 0x180090280
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009027b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800902cf
call fcn.1800f5030
cmp rsi, 8
jb 0x18008fc7c
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800902b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800902cf
call fcn.1800f5030
jmp 0x18008fc7c
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 0x18009031c
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180090317
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 0x180090317
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 0x180090350
mov eax, edi
lock xadd dword [r13 + 8], eax
cmp eax, 1
jne 0x180090350
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 0x180090350
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.180077130
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x1d0]
call fcn.180093b00
lea rcx, [rsi + 0x98]
mov rdx, rax
call fcn.18000a2e0
lea rcx, [rbp + 0x1d0]
call fcn.18000a270
mov rbx, qword [rsi + 0xb8]
mov r8, qword [rbx + 8]
lea rdx, [rsi + 0xb8]
lea rcx, [rsi + 0xb8]
call fcn.180075140
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.1800f5150
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.180093930
nop
mov edx, eax
lea rcx, str.directory_iterator::operator
call fcn.1800938d0
nop
mov r8, r14
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.180093930
nop
lea r8, [rbx + 0x20]
lea rcx, str.directory_entry::status
call fcn.180093930
int3