Function at 0x18001f530
Capabilities:
Encode data using xor
Enumerate process modules

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov r15, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov ebx, 4
mov r14d, 8
cmp dword [rsp + 0x50], edi
cmove ebx, r14d
xor ecx, ecx
call fcn.1800be090
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x78]
xor r8d, r8d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x18001faff
xor edx, edx
mov eax, dword [rbp + 0x78]
div ebx
movsxd r12, eax
mov eax, r14d
mul r12
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.1800be090
mov r13, rax
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x78]
mov r8d, dword [rbp + 0x78]
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x18001faff
mov r14d, edi
test r12, r12
jle 0x18001faf8
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x58]
call fcn.18001fe80
nop
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x68]
mov rdx, qword [r13 + r14*8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
movsd xmm0, qword [str.YZXX8]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x18015bfb0]
mov ecx, WSAGetLastError
mov word [rsp + 0x30], cx
xor word [rsp + 0x32], 0x35
xor word [rsp + 0x34], 0x36
xor word [rsp + 0x36], 0x37
xor ax, 0x38
mov word [rsp + 0x38], ax
lea rcx, [rsp + 0x30]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18001f6a0
lea rcx, [rsp + 0x58]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
cmp rdi, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
call fcn.180015730
cmp rax, 0xffffffffffffffff
je 0x18001f9f4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
lea r9d, [rax + 0x18]
lea r8, [rbp - 0x48]
mov rdx, qword [r13 + r14*8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
jne 0x18001f753
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18001fa2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001fa2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001fb57
jmp 0x18001fa2a
mov r8, qword [rbp - 0x48]
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.18001f1e0
nop
movups xmm0, xmmword [str.YZXXg_OcOQP4]
movups xmmword [rsp + 0x78], xmm0
mov eax, dword [0x18015bf70]
mov dword [rbp - 0x78], eax
movzx eax, byte [0x18015bf74]
mov byte [rbp - 0x74], al
xor edi, edi
mov ecx, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18001f8e8
movdqa xmm5, xmmword [0x1801600f0]
movdqa xmm4, xmmword [0x180160350]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x180160180]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x180160230]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rsp + 0x78]
mov r8d, dword [rbp - 0x30]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180160210]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180160210]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x18001f7e0
cmp ecx, 0x15
jge 0x18001f92e
movsxd rax, ecx
lea r8, [rsp + 0x78]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x15
jl 0x18001f900
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
lea rax, [rsp + 0x78]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x18001f950
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.180008fc0
nop
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.18001fcc0
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x40]
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x18001f9bc
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001f9b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001fb5d
call fcn.1800bdc0c
test rbx, rbx
jne 0x18001fa46
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18001e580
lea edx, [rbx + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1800bdc0c
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
cmp rdi, 8
jb 0x18001fa2f
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18001fa27
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001fb51
mov rcx, rbx
call fcn.1800bdc0c
inc r14
xor edi, edi
cmp r14, r12
jge 0x18001faf8
lea rbx, [rdi - 1]
jmp 0x18001f610
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp + 0x70]
mov qword [rcx], rax
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov ecx, 0x48
call fcn.1800bdbd0
mov r8, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov qword [rsp + 0x40], r8
mov rcx, qword [rsi + 8]
mov rax, qword [rsp + 0x48]
mov qword [rsi + 8], rax
mov qword [rsp + 0x48], rcx
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18001e580
mov edx, 0x48
mov rcx, qword [rsp + 0x40]
call fcn.1800bdc0c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18001fb24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001faf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001fb57
call fcn.1800bdc0c
jmp 0x18001fb24
mov rcx, qword [rbp + 0x70]
mov qword [rcx], rdi
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov ecx, 0x48
call fcn.1800bdbd0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi], rax
mov rax, rsi
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800c9ad0
int3
call fcn.1800c9ad0
nop
call fcn.1800c9ad0
nop
int3