joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180026d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov qword [rsp + 0x50], r14
mov rdi, rdx
mov qword [rsp + 0x20], r15
mov rsi, rcx
cmp rcx, rdx
je 0x180026d5f
mov rdx, qword [rdx]
mov r8, qword [rdi + 8]
sub r8, rdx
sar r8, 5
call fcn.180027110
mov eax, dword [rdi + 0x18]
lea r15, [rdi + 0x48]
mov dword [rsi + 0x18], eax
lea r14, [rsi + 0x48]
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x1c], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x20], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov eax, dword [rdi + 0x28]
mov dword [rsi + 0x28], eax
movzx eax, byte [rdi + 0x2c]
mov byte [rsi + 0x2c], al
mov eax, dword [rdi + 0x30]
mov dword [rsi + 0x30], eax
movzx eax, byte [rdi + 0x34]
mov byte [rsi + 0x34], al
movzx eax, byte [rdi + 0x35]
mov byte [rsi + 0x35], al
mov eax, dword [rdi + 0x38]
mov dword [rsi + 0x38], eax
mov eax, dword [rdi + 0x3c]
mov dword [rsi + 0x3c], eax
mov eax, dword [rdi + 0x40]
mov dword [rsi + 0x40], eax
cmp r14, r15
je 0x180026e17
cmp qword [r15 + 0x18], 7
mov r9, r15
mov rdx, qword [r15 + 0x10]
jbe 0x180026dc8
mov r9, qword [r15]
mov rax, qword [r14 + 0x18]
cmp rdx, rax
ja 0x180026e0f
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov rbp, r14
cmp rax, 7
jbe 0x180026de7
mov rbp, qword [r14]
lea rbx, [rdx + rdx]
mov qword [r14 + 0x10], rdx
mov r8, rbx
mov rdx, r9
mov rcx, rbp
call fcn.18010b0a0
xor eax, eax
mov word [rbx + rbp], ax
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
jmp 0x180026e17
mov rcx, r14
call fcn.180016fb0
lea rdx, [r15 + 0x20]
mov r15, qword [rsp + 0x20]
lea rcx, [r14 + 0x20]
mov r14, qword [rsp + 0x50]
cmp rcx, rdx
je 0x180026e41
cmp qword [rdx + 0x18], 0xf
mov r8, qword [rdx + 0x10]
jbe 0x180026e3c
mov rdx, qword [rdx]
call fcn.180026fb0
movzx eax, byte [rdi + 0x88]
mov byte [rsi + 0x88], al
mov eax, dword [rdi + 0x8c]
mov dword [rsi + 0x8c], eax
mov eax, dword [rdi + 0x90]
mov dword [rsi + 0x90], eax
mov rax, qword [rdi + 0x98]
mov qword [rsi + 0x98], rax
mov rax, qword [rdi + 0xa0]
mov qword [rsi + 0xa0], rax
mov rax, qword [rdi + 0xa8]
mov qword [rsi + 0xa8], rax
mov rax, qword [rdi + 0xb0]
mov qword [rsi + 0xb0], rax
mov rax, qword [rdi + 0xb8]
mov qword [rsi + 0xb8], rax
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x18002de30
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
xor ebp, ebp
lea r9, [rsp + 0x68]
mov r14, rcx
mov dword [rsp + 0x68], ebp
xor r8d, r8d
xor edx, edx
mov ebx, ebp
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
cmp eax, 0xc0000004
jne 0x18002e00f
test rbx, rbx
je 0x18002de7e
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x18002deb6
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x68]
mov rdx, rax
mov ecx, listen
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
cmp edi, 0xc0000004
je 0x18002de68
test rbx, rbx
je 0x18002e00f
mov qword [rsp + 0x60], rsi
test edi, edi
js 0x18002df96
mov edi, ebp
cmp dword [rbx], ebp
jbe 0x18002df96
nop
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x20], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rsi, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x30], rbp
add rdx, rcx
mov qword [rsp + 0x38], rbp
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bpl
jne 0x18002df15
lea rcx, [rsp + 0x20]
call fcn.1800091f0
cmp qword [r14 + 0x18], 0xf
mov rdx, r14
jbe 0x18002df35
mov rdx, qword [r14]
cmp qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
cmova rcx, qword [rsp + 0x20]
call fcn.1800e95f4
test eax, eax
je 0x18002dfbc
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18002df8c
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002df87
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e01f
call fcn.1800d95dc
inc edi
cmp edi, dword [rbx]
jb 0x18002dee0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov rdi, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18002e00a
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e005
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e01f
call fcn.1800d95dc
mov rax, rdi
jmp 0x18002dfa9
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
call fcn.1800e5940
int3
Function at 0x18002e8e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x18002e911
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x18002e98b
mov rdi, r14
mov rcx, rbx
call fcn.18002fcf0
test rax, rax
jle 0x18002e963
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.18010b0a0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18002e97b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18002e983
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18002e925
sub r14, rdi
jmp 0x18002ea6f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18002e9a2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18002e9a4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18002e9d6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.18010b0a0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18002ea6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18002ea11
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x18002ea4d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1800eaf98
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18002ea6c
cmp rbp, rax
ja 0x18002ea20
test rbp, rbp
je 0x18002ea6c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1800eaf98
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180030820
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x18003093f
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x18003093f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov r9d, r14d
mov qword [rsp + 0x38], r14
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x18003088e
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
jmp 0x18003094a
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x18003092d
nop dword [rax + rax]
mov edx, eax
cmp rdx, rbp
jae 0x18003092d
mov r8d, dword [rbx + 4]
test r8d, r8d
je 0x18003092d
mov dword [rsp + 0x54], r14d
lea rax, [rdx + rsi]
mov qword [rsp + 0x40], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x48], rax
lea rax, [r8 - 8]
shr rax, 1
mov dword [rsp + 0x50], eax
cmp rcx, r9
je 0x180030905
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x30], rcx
jmp 0x180030921
lea r8, [rsp + 0x40]
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.180031010
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x1800308b0
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r9
jmp 0x18003094a
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov rax, rdi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180032050
Capabilities:
Encode data using xor
Enumerate services

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
xor ebp, ebp
movaps xmmword [rsp + 0x70], xmm6
mov qword [r11 - 0x60], rbp
lea rax, [r11 + 0x18]
mov qword [r11 - 0x68], rax
xor r9d, r9d
lea rax, [r11 + 0x10]
mov dword [r11 + 0x10], ebp
mov qword [r11 - 0x70], rax
lea edx, [rbp + 0xb]
lea r8d, [rbp + 3]
mov dword [rsp + 0x20], ebp
mov rbx, rcx
mov dword [r11 + 0x18], ebp
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x1800320b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x18003227e
mov eax, dword [rsp + 0xa8]
add eax, 0x30
mov ecx, eax
mov dword [rsp + 0xa8], eax
call fcn.1800d9a50
mov ecx, dword [rsp + 0xa8]
mov rdi, rax
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov edx, listen
lea rax, [rsp + 0xa8]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, rbx
lea r8d, [rdx - 8]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x180032276
mov ebx, ebp
cmp dword [rsp + 0xb0], ebp
jbe 0x18003226a
mov esi, dword [reloc.WS2_32.dll_accept]
nop word [rax + rax]
mov eax, ebx
lea rcx, [rax + rax*2]
mov eax, dword [str.ES6]
add rcx, rcx
mov dword [rsp + 0xb8], eax
cmp byte [0x180182843], bpl
movups xmm4, xmmword [rdi + rcx*8]
movups xmm6, xmmword [rdi + rcx*8 + 0x10]
je 0x180032231
cmp esi, 2
jl 0x1800321ea
movdqa xmm3, xmmword [0x180186340]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x180186690]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x180186690]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1801863b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0xb8], xmm2
jmp 0x180032231
lea r8, [rsp + 0xb8]
mov ecx, ebp
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 4
jl 0x180032200
lea rdx, [rsp + 0xb8]
movq rcx, xmm4
call fcn.1800db664
test rax, rax
je 0x18003225b
psrldq xmm6, 4
movd eax, xmm6
add eax, 0xfffffffe
test eax, 0xfffffffd
je 0x18003227e
inc ebx
cmp ebx, dword [rsp + 0xb0]
jb 0x180032130
mov rcx, rdi
call fcn.1800d95dc
xor al, al
jmp 0x180032280
mov rcx, rdi
call fcn.1800d95dc
mov al, 1
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800330b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1803a3a80]
test rax, rax
jne 0x180033321
mov ecx, dword [0x180182920]
mov edx, 0x77
movups xmm0, xmmword [0x180182910]
movzx eax, word [0x180182924]
mov dword [rbp - 0x30], ecx
xor ax, 0x3d
xor word [rbp - 0x2e], 0x3c
xor cx, 0x3b
movups xmmword [rbp - 0x40], xmm0
xor word [rbp - 0x3e], 0x34
xor word [rbp - 0x3c], 0x35
xor word [rbp - 0x3a], 0x36
xor word [rbp - 0x38], 0x37
xor word [rbp - 0x36], 0x38
xor word [rbp - 0x34], 0x39
xor word [rbp - 0x32], 0x3a
mov word [rbp - 0x30], cx
lea rcx, [rbp - 0x40]
mov word [rbp - 0x40], dx
mov word [rbp - 0x2c], ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
test rax, rax
je 0x180033316
cmp byte [0x180182a31], 0
movups xmm0, xmmword [str.__ERJTNQyWL0_:]
movzx eax, word [0x180182a30]
mov word [rbp - 0x12], ax
movups xmmword [rbp - 0x2a], xmm0
movsd xmm0, qword [0x180182a28]
movsd qword [rbp - 0x1a], xmm0
je 0x1800332fd
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800332b9
movdqa xmm0, xmmword [str.3333333333333333]
lea rdx, [rbp - 0x26]
movdqa xmm5, xmmword [0x180186340]
movdqa xmm4, xmmword [0x1801865e0]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1801863c0]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1800331b0
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x1a
jge 0x1800332fd
movsxd rax, ecx
lea r8, [rbp - 0x2a]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x1800332d0
lea rdx, [rbp - 0x2a]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1803a3a80], rax
test rax, rax
jne 0x180033321
mov eax, 1
add rsp, 0x70
pop rbp
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rax
xor eax, eax
add rsp, 0x70
pop rbp
ret
Function at 0x180033340
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1803a3a78]
test rax, rax
jne 0x1800335a1
mov ecx, dword [0x180182920]
mov edx, 0x77
movups xmm0, xmmword [0x180182910]
movzx eax, word [0x180182924]
mov dword [rbp - 0x1c], ecx
xor ax, 0x3d
xor word [rbp - 0x1a], 0x3c
xor cx, 0x3b
movups xmmword [rbp - 0x2c], xmm0
xor word [rbp - 0x2a], 0x34
xor word [rbp - 0x28], 0x35
xor word [rbp - 0x26], 0x36
xor word [rbp - 0x24], 0x37
xor word [rbp - 0x22], 0x38
xor word [rbp - 0x20], 0x39
xor word [rbp - 0x1e], 0x3a
mov word [rbp - 0x1c], cx
lea rcx, [rbp - 0x2c]
mov word [rbp - 0x2c], dx
mov word [rbp - 0x18], ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
test rax, rax
je 0x180033596
movzx eax, word [0x1801829f8]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str.__ERJj_OoDM___17E]
mov word [rbp - 0x30], ax
movzx eax, byte [0x1801829fa]
mov byte [rbp - 0x2e], al
movups xmmword [rbp - 0x40], xmm0
jl 0x180033539
movdqa xmm0, xmmword [str.3333333333333333]
lea rdx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x180186340]
movdqa xmm4, xmmword [0x1801865e0]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1801863c0]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x180033430
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x13
jge 0x18003357d
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x13
jl 0x180033550
lea rdx, [rbp - 0x40]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1803a3a78], rax
test rax, rax
jne 0x1800335a1
mov eax, 1
add rsp, 0x70
pop rbp
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rax
xor eax, eax
add rsp, 0x70
pop rbp
ret
Function at 0x1800335c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1803a3a58]
test rax, rax
jne 0x180033844
mov ecx, dword [0x180182920]
mov edx, 0x77
movups xmm0, xmmword [0x180182910]
movzx eax, word [0x180182924]
mov dword [rbp + 7], ecx
xor ax, 0x3d
xor word [rbp + 9], 0x3c
xor cx, 0x3b
movups xmmword [rbp - 9], xmm0
xor word [rbp - 7], 0x34
xor word [rbp - 5], 0x35
xor word [rbp - 3], 0x36
xor word [rbp - 1], 0x37
xor word [rbp + 1], 0x38
xor word [rbp + 3], 0x39
xor word [rbp + 5], 0x3a
mov word [rbp + 7], cx
lea rcx, [rbp - 9]
mov word [rbp - 9], dx
mov word [rbp + 0xb], ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
test rax, rax
je 0x180033836
movups xmm0, xmmword [str._aY_WwZRYZ2]
movzx eax, word [0x1801829a0]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm1, xmmword [0x180182988]
mov word [rbp + 0x35], ax
movzx eax, byte [0x1801829a2]
movups xmmword [rbp + 0xd], xmm0
mov byte [rbp + 0x37], al
movsd xmm0, qword [0x180182998]
movsd qword [rbp + 0x2d], xmm0
movups xmmword [rbp + 0x1d], xmm1
jl 0x1800337dc
movdqa xmm0, xmmword [str.3333333333333333]
lea rdx, [rbp + 0x11]
movdqa xmm5, xmmword [0x180186340]
movdqa xmm4, xmmword [0x1801865e0]
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1801863c0]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x1800336d0
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x2b
jge 0x18003381d
movsxd rax, ecx
lea r8, [rbp + 0xd]
add r8, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x2b
jl 0x1800337f0
lea rdx, [rbp + 0xd]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1803a3a58], rax
test rax, rax
jne 0x180033844
mov eax, 1
add rsp, 0x90
pop rbp
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rax
xor eax, eax
add rsp, 0x90
pop rbp
ret
Function at 0x180034aa0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0x98
movups xmm0, xmmword [str.__SB_YK_gsO___]
mov eax, dword [0x180182d00]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm1, xmmword [0x180182ce0]
mov dword [rsp + 0x60], eax
movzx eax, word [0x180182d04]
movups xmmword [rsp + 0x30], xmm0
mov qword [r11 + 8], rcx
movups xmm0, xmmword [0x180182cf0]
mov word [rsp + 0x64], ax
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
jl 0x180034c2b
movdqa xmm5, xmmword [0x180186340]
lea rdx, [r11 - 0x68]
movdqa xmm4, xmmword [0x1801865c0]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [0x1801863e0]
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x1801864a0]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov eax, ecx
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x18
jl 0x180034b30
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp eax, 0x1b
jge 0x180034c71
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x36
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x33
xor word [r8 - 2], ax
cmp ecx, 0x1b
jl 0x180034c40
lea rax, [rsp + 0xa0]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x180034cba
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0xa0]
test rax, rax
setne al
add rsp, 0x98
ret