joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180031110
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x18021ea00]
test rax, rax
jne 0x18003134b
movups xmm0, xmmword [str.u_YJIezRLK._6]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1800f9538]
movups xmmword [rsp + 0x50], xmm1
movzx eax, word [0x1800f9548]
mov word [rsp + 0x60], ax
movzx eax, byte [0x1800f954a]
mov byte [rsp + 0x62], al
xor ecx, ecx
cmp dword [0x18011f090], 2
jl 0x180031286
movdqa xmm4, xmmword [0x18010ac10]
movdqa xmm3, xmmword [0x18010adf0]
movdqa xmm5, xmmword [0x18010acf0]
movdqa xmm0, xmmword [0x18010ae10]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x18010ad90]
mov r8d, dword [rsp + 0x20]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x1800311a2
cmp ecx, 0x23
jge 0x1800312bc
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x23
jl 0x180031291
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800312e0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180015c40
nop
lea rcx, [rsp + 0x20]
call fcn.180032530
mov qword [0x18021ea00], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18003134b
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003133f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180031358
call fcn.1800c3c28
mov rax, qword [0x18021ea00]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
ret
call fcn.1800c99b4
int3
Function at 0x180031360
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x18021ea88]
test rax, rax
jne 0x1800315ab
movups xmm0, xmmword [0x1800f9478]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1800f9488]
movups xmmword [rsp + 0x50], xmm1
mov eax, dword [0x1800f9498]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1800f949c]
mov word [rsp + 0x64], ax
movzx eax, byte [0x1800f949e]
mov byte [rsp + 0x66], al
xor ecx, ecx
cmp dword [0x18011f090], 2
jl 0x1800314e4
movdqa xmm4, xmmword [0x18010ac10]
movdqa xmm3, xmmword [0x18010adf0]
movdqa xmm5, xmmword [0x18010acf0]
movdqa xmm0, xmmword [0x18010ae10]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x18010ad90]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x180031400
cmp ecx, 0x27
jge 0x18003151b
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x27
jl 0x1800314f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180031540
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180015c40
nop
lea rcx, [rsp + 0x20]
call fcn.180032530
mov qword [0x18021ea88], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800315ab
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003159f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800315b8
call fcn.1800c3c28
mov rax, qword [0x18021ea88]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
ret
call fcn.1800c99b4
int3
Function at 0x180031ff0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x18021ea20]
test rax, rax
jne 0x18003223b
movups xmm0, xmmword [str.tBQURRZnS_81]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1800f9410]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [str._87_T]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1800f941c]
mov word [rsp + 0x5c], ax
movzx eax, byte [0x1800f941e]
mov byte [rsp + 0x5e], al
xor ecx, ecx
cmp dword [0x18011f090], 2
jl 0x180032174
movdqa xmm4, xmmword [0x18010ac10]
movdqa xmm3, xmmword [0x18010adf0]
movdqa xmm5, xmmword [0x18010acf0]
movdqa xmm0, xmmword [0x18010ae10]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
movdqa xmm6, xmmword [0x18010ad90]
mov r8d, dword [rsp + 0x20]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x180032090
cmp ecx, 0x1f
jge 0x1800321ab
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1f
jl 0x180032180
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800321d0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180015c40
nop
lea rcx, [rsp + 0x20]
call fcn.18002fb40
mov qword [0x18021ea20], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18003223b
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003222f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180032245
call fcn.1800c3c28
mov rax, qword [0x18021ea20]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
ret
call fcn.1800c99b4
int3
Function at 0x180034310
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov qword [rsp + 0x20], rdx
xor edi, edi
test rcx, rcx
je 0x180034433
cmp qword [0x18021eb20], rdi
je 0x180034433
mov rax, qword [0x18021eb18]
test rax, rax
jne 0x180034373
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x10]
mov rax, qword [0x18021eb20]
add rax, rdx
mov qword [0x18021eb18], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
call rax
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x180034416
lea rcx, [rsp + 0x40]
call fcn.180029f60
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.18002a4b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1800345a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003440c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800345c4
call fcn.1800c3c28
jmp 0x1800345a6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x1800f9195]
jmp 0x18003459e
mov rax, qword [0x1800f95c8]
mov qword [rsp + 0x20], rax
cmp byte [str.KJSU_], dil
je 0x180034575
mov ecx, edi
cmp dword [0x18011f090], 2
jl 0x180034543
movdqa xmm4, xmmword [0x18010b140]
movdqa xmm2, xmmword [0x18010ac10]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18010ad20]
psubd xmm2, xmm0
andps xmm2, xmmword [0x18010ad90]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18010ae10]
movd xmm0, dword [rsp + 0x20]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x18010ac30]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18010ad20]
psubd xmm2, xmm0
andps xmm2, xmmword [0x18010ad90]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x18010ae10]
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x180034575
lea r8, [rsp + 0x20]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
mul ecx
shr edx, 5
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 8
jl 0x180034550
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x180034590
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180015c40
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800c3890
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
call fcn.1800c99b4
int3
Function at 0x180036750
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x60]
mov rbp, rcx
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x180036804
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180036804
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x38f359c0
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1800367ff
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1800367e0
cmp edx, 0x7025f4d9
je 0x18003684e
test r8d, r8d
jne 0x1800367c0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x18003681a
cmp qword [rax + 0x30], 0
jne 0x180036790
xor eax, eax
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbp
call rax
test rax, rax
je 0x180036867
mov ecx, dword [rsp + 0x44]
test cl, 0xee
sete al
test ecx, 0x101
movzx eax, al
mov ecx, 1
cmovne eax, ecx
jmp 0x180036869
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x18003681c
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800c3890
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18005a100
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movzx eax, byte [rcx]
xor r9d, r9d
mov edx, r9d
test al, al
je 0x18005a129
cmp al, 0x3f
je 0x18005a31e
movzx eax, byte [rcx + 1]
inc rcx
inc edx
test al, al
jne 0x18005a114
cmp dword [0x18011f090], 2
mov ecx, r9d
movups xmm0, xmmword [0x1800fb2c0]
movzx eax, word [0x1800fb2e0]
movups xmm1, xmmword [0x1800fb2d0]
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
jl 0x18005a28b
movdqa xmm0, xmmword [0x18010ae10]
lea rdx, [rsp + 0x44]
movdqa xmm4, xmmword [0x18010ac10]
movdqa xmm3, xmmword [0x18010b0e0]
movdqa xmm5, xmmword [0x18010acd0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x18010ad90]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x18005a1a0
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x22
jge 0x18005a2cd
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x22
jl 0x18005a2a0
xorps xmm0, xmm0
mov qword [rsp + 0x30], r9
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], r9
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r9b
jne 0x18005a2f0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180015c40
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.18002c520
xor eax, eax
add rsp, 0x88
ret
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
add rsp, 0x88
ret
Function at 0x180063f10
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword gs:[0x60]
xor esi, esi
mov r12, rcx
mov rbp, qword [rax + 0x10]
movsxd rax, dword [rbp + 0x3c]
mov r15d, dword [rax + rbp + 0x50]
test r15d, r15d
jle 0x180064039
lea rdi, [rbp + 3]
nop word [rax + rax]
movzx eax, byte [rdi - 3]
sub al, 0x48
test al, 0xfb
jne 0x18006402b
cmp byte [rdi - 2], 0x8d
jne 0x18006402b
mov eax, dword [rdi]
add eax, 7
movsxd r14, esi
movsxd rbx, eax
mov rax, qword gs:[0x60]
add rbx, r14
add rbx, rbp
mov rdx, qword [rax + 0x10]
cmp rbx, rdx
jbe 0x18006402b
movsxd rax, dword [rdx + 0x3c]
mov ecx, dword [rax + rdx + 0x50]
add rcx, rdx
cmp rbx, rcx
jae 0x18006402b
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180029f60
mov rax, r12
sub rbx, r12
movzx edx, word [rax]
movzx ecx, word [rax + rbx]
sub edx, ecx
jne 0x180063fe5
add rax, 2
test ecx, ecx
jne 0x180063fd2
test edx, edx
mov rdx, qword [rsp + 0x38]
je 0x180064067
cmp rdx, 7
jbe 0x18006402b
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180064026
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800640a9
call fcn.1800c3c28
inc esi
inc rdi
cmp esi, r15d
jl 0x180063f70
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800c3890
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
lea rbx, [r14 + rbp]
cmp rdx, 7
jbe 0x1800640a4
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006409f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800640a9
call fcn.1800c3c28
mov rax, rbx
jmp 0x18006403b
call fcn.1800c99b4
int3
Function at 0x180071530
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
cmp rdi, 0x40000000
jbe 0x18007157a
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18021ed70]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x60], r15
cmovbe r15, qword [rsp + 0x60]
sub r15, 0xfff
test rsi, rsi
je 0x1800715bd
nop
cmp rsi, r14
jb 0x1800715b5
cmp rsi, r15
jae 0x1800715b5
cmp qword [rsi + 8], 0
jne 0x180071787
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800715a0
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180071652
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180071649
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180071649
cmp dword [rsp + 0x40], 0x10000
je 0x1800716cb
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180071649
sub rbx, rbp
cmp rbx, r14
jae 0x180071610
test rsi, rsi
jne 0x180071730
cmp rdi, r15
ja 0x18007176f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18007176f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007176f
cmp dword [rsp + 0x40], 0x10000
je 0x180071701
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180071682
jmp 0x18007176f
test rbx, rbx
je 0x180071649
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180071730
cmp rbx, r14
jae 0x1800715f0
jmp 0x180071652
test rdi, rdi
je 0x18007176f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180071730
cmp rdi, r15
jbe 0x180071660
jmp 0x18007176f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180071740
mov rax, qword [0x18021ed70]
mov qword [rsi], rax
mov qword [0x18021ed70], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800c3890
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180072120
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18007224b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180072242
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180072224
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180072224
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180072224
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800721e2
mov rcx, qword [0x18021e748]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180072242
jmp 0x180072217
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180072217
mov rcx, qword [0x18021e748]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180072242
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180072190
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1800722a5
cmp dword [rbx + 0xc], esi
jbe 0x1800722a5
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18007229e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180071f70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180072260
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800c3890
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret