joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180018970
Capabilities:
Allocate or change rwx memory
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor edx, edx
lea r9, [rbp + 0xf]
mov rsi, rcx
xor r15d, r15d
xor r8d, r8d
mov dword [rbp + 0xf], r15d
mov edi, r15d
lea ecx, [rdx + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x180018a06
nop dword [rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0xf]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp + 0xf]
lea r9, [rbp + 0xf]
mov rdx, rax
mov ecx, 0x40
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1800189c0
test eax, eax
jns 0x180018a22
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x180018ab7
mov qword [rsp + 0xb8], rbx
mov ebx, r15d
mov qword [rsp + 0xc0], r14
mov r14, r15
cmp qword [rdi], rbx
jbe 0x180018adb
mov rax, r15
nop dword [rax]
nop dword [rax + rax]
lea rax, [rax + rax*4]
movups xmm0, xmmword [rdi + rax*8 + 0x10]
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rdi + rax*8 + 0x20]
movups xmmword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rbp - 0x29]
mov ecx, eax
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x180018a8b
cmp qword [rbp - 9], rsi
je 0x180018ad7
inc ebx
mov eax, ebx
cmp rax, qword [rdi]
jb 0x180018a50
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rbx, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18007b140
mov rsi, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop rdi
pop rbp
ret
mov r14, qword [rbp - 0x19]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x180018aa5
lea r8, [r14 + 8]
mov qword [rbp + 0x1f], r15
mov r9d, 8
lea rdx, [rbp + 0x1f]
mov rcx, rsi
call fcn.180017aa0
test al, al
je 0x180018aa5
mov r8, qword [rbp + 0x1f]
lea rdx, [rbp + 0x27]
add r8, 8
mov qword [rbp + 0x27], r15
mov r9d, 8
mov rcx, rsi
call fcn.180017aa0
test al, al
je 0x180018aa5
mov r8, qword [rbp + 0x27]
lea rdx, [rbp + 0x17]
add r8, 0x28
mov qword [rbp + 0x17], r15
mov r9d, 8
mov rcx, rsi
call fcn.180017aa0
test al, al
je 0x180018aa5
mov r8, qword [rbp + 0x17]
lea rdx, [rbp + 0x2f]
xorps xmm0, xmm0
add r8, 0x58
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
movups xmmword [rbp + 0x2f], xmm0
call fcn.180017aa0
test al, al
je 0x180018aa5
mov rdx, qword [rbp + 0x17]
lea r8, [rbp + 0x2f]
add rdx, 0x58
mov word [rbp + 0x2f], r15w
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.180017aa0
test al, al
je 0x180018aa5
mov al, 1
jmp 0x180018aa7
Function at 0x18001ba60
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x18001bb67
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x18001bb67
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor r8d, r8d
mov qword [rsp + 0x50], r8
mov ebx, dword [rax + rdx + 0xb0]
add rbx, rdx
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov eax, dword [rbx]
mov rdx, qword [rsp + 0x48]
test eax, eax
je 0x18001bb55
nop dword [rax]
mov ecx, eax
cmp rcx, rbp
jae 0x18001bb55
mov r9d, dword [rbx + 4]
test r9d, r9d
je 0x18001bb55
lea rax, [rcx + rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r9 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rdx, r8
je 0x18001bb30
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rdx + 0x10], xmm1
add rdx, 0x18
mov qword [rsp + 0x48], rdx
jmp 0x18001bb49
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.18001c140
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x18001bae0
mov rcx, qword [rsp + 0x40]
mov qword [rdi], rcx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], r8
jmp 0x18001bb75
xor r8d, r8d
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18007b140
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 0x18001cd80
Capabilities:
Create service
Start service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov rsi, qword [rcx + 0x10]
mov rdi, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x18001cdbe
mov rdi, qword [rcx]
call fcn.18007865c
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rsi
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.18001ca50
nop
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
mov rax, qword [rbp + 0x17]
lea rdi, [rcx + rax*2]
mov r11, rdi
mov rdx, rdi
call fcn.18001cbb0
cmp rax, rdi
je 0x18001ce3b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x18001ce10
cmp cx, 0x2f
jne 0x18001ce20
add rax, 2
jmp 0x18001cdfc
lea rcx, [r11 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x18001ce3b
cmp dx, 0x2f
je 0x18001ce3b
mov r11, rcx
cmp rax, rcx
jne 0x18001ce20
sub rdi, r11
sar rdi, 1
xor esi, esi
mov qword [rbp - 9], rsi
mov qword [rbp - 1], 7
mov word [rbp - 0x19], si
mov r8, rdi
mov rdx, r11
lea rcx, [rbp - 0x19]
call fcn.18000dc00
nop
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x19]
call fcn.18001cca0
nop
lea rcx, [rbp - 0x19]
call fcn.18000db90
nop
lea rcx, [rbp + 7]
call fcn.18000db90
xor edx, edx
xor ecx, ecx
lea r8d, [rsi + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x18001cf34
cmp qword [rbx + 0x18], 0x10
jb 0x18001cea8
mov rbx, qword [rbx]
lea r8, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae r8, qword [rbp + 0x27]
lea rdx, [rbp + 0x27]
cmovae rdx, qword [rbp + 0x27]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0x10030
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rbx, rax
test rax, rax
jne 0x18001cf69
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rdx, qword [rbp + 0x27]
lea r8d, [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
jne 0x18001cf69
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor sil, sil
lea rcx, [rbp + 0x27]
call fcn.180005250
movzx eax, sil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18007b140
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
setne sil
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18001cf37
Function at 0x18001d100
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov edi, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x18001d189
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, reloc.WS2_32.dll_inet_addr
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x18001d140
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
test eax, eax
js 0x18001d22c
mov ebx, r14d
cmp dword [rdi], ebx
jbe 0x18001d22c
nop dword [rax]
mov ebp, ebx
lea rdx, [rdi + 0x30]
imul rax, rbp, 0x128
mov qword [rsp + 0x38], r14
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], r14b
movzx ecx, word [rax + rdi + 0x2e]
add rcx, rax
add rdx, rcx
inc r8
cmp byte [rdx + r8], r14b
jne 0x18001d1e2
lea rcx, [rsp + 0x28]
call fcn.1800052d0
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x18001d202
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call fcn.1802234ec
test eax, eax
je 0x18001d262
lea rcx, [rsp + 0x28]
call fcn.180005250
inc ebx
cmp ebx, dword [rdi]
jb 0x18001d1b0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18007b140
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
imul rax, rbp, 0x128
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
mov rbx, qword [rax + rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rsp + 0x28]
call fcn.180005250
mov rax, rbx
jmp 0x18001d23f
Function at 0x18002eb10
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using base64
Encode data using xor
Execute anti-debugging instructions
Get windows directory from kuser_shared_data
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc38]
sub rsp, 0xd10
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0xb90], rax
lea rcx, [0x1803142b8]
jmp 0x18088a4c0
Function at 0x180037040
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
lea rcx, [rbp - 0x39]
call fcn.1800b76f0
nop
movdqa xmm0, xmmword [0x1803170e0]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0x1e340202
mov dword [rbp - 0x55], 0x400e0037
mov dword [rbp - 0x51], 0x4e45034e
xor eax, eax
mov byte [rbp - 0x4d], al
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp - 0x69]
xor byte [rbp + rcx - 0x68], al
inc rcx
cmp rcx, 0x1b
jb 0x1800370c0
mov byte [rbp - 0x4d], 0
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x39]
call fcn.1800b77e0
cmp al, 1
je 0x180037130
lea rcx, [rbp - 0x39]
call fcn.1800b7550
mov qword [rbp - 0x59], 0
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x69], 0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180037110
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.1800052d0
lea rcx, [rbp - 0x69]
call fcn.180005250
nop
lea rcx, [rbp - 0x39]
call fcn.1800b7730
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18007b140
add rsp, 0xe0
pop rbp
ret
Function at 0x18003c730
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xf80]
mov eax, 0x1080
call fcn.18007c000
sub rsp, rax
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0xf70], rax
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], dil
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rcx + r8], dil
jne 0x18003c785
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1800052d0
nop
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x70]
call fcn.180211600
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
mov dword [rsp + 0x28], 0x800
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
lea rax, [rsp + 0x70]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18003c800
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18000dc00
lea rsi, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rsi, qword [rsp + 0x50]
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18003c8c7
nop word [rax + rax]
lea rcx, [rbp - 0x64]
mov r8, rsi
sub r8, rcx
nop word [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x18003c884
add rcx, 2
test eax, eax
jne 0x18003c870
test edx, edx
jne 0x18003c8b5
mov r8d, dword [rsp + 0x78]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18003c8b5
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18003c860
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x50]
call fcn.18000db90
nop
lea rcx, [rsp + 0x30]
call fcn.180005250
mov rcx, qword [rbp + 0xf70]
xor rcx, rsp
call fcn.18007b140
lea r11, [rsp + 0x1080]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x18003e750
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
mov dword [0x18037c334], ecx
mov rcx, qword [0x18038ba70]
test rcx, rcx
je 0x18003e77a
call fcn.1800b7030
test al, al
jne 0x18003e78c
mov rcx, qword [0x18038ba70]
xor edx, edx
call fcn.1800b6a00
mov qword [0x18038ba70], 0
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp fcn.180037150
Function at 0x18003fd80
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
mov rdi, rdx
mov rcx, qword [0x18038ba80]
test rcx, rcx
je 0x18003fdc8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x18038ba80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqa xmm0, xmmword [0x180316dd0]
mov rbx, 0xffffffffffffffff
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov r8, rbx
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x50], 0
inc r8
cmp byte [rsi + r8], 0
jne 0x18003fdf4
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1800052d0
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18003fe10
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.1800052d0
xor eax, eax
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x18003fb90]
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x18038ba80], rax
test rax, rax
je 0x18003fe6e
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x18038ba80]
test rax, rax
lea rcx, [rsp + 0x50]
setne bl
call fcn.180005250
lea rcx, [rsp + 0x30]
call fcn.180005250
movzx eax, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18007b140
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800401a0
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x18038ba80]
test rcx, rcx
je 0x1800401ca
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x18038ba80]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x28
ret

Function at 0x180040490
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
cmp edx, 1
jne 0x180040564
xor r9d, r9d
lea r10, [0x18038c0e0]
nop dword [rax]
nop word [rax + rax]
mov eax, r9d
lea r10, [r10 + 4]
shl eax, 0x18
inc r9d
mov ecx, eax
add eax, eax
shr ecx, 0x1f
neg ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
shr edx, 0x1f
neg edx
lea eax, [rcx + rcx]
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
shr ecx, 0x1f
neg ecx
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov edx, ecx
shr edx, 0x1f
neg edx
lea eax, [rcx + rcx]
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
shr ecx, 0x1f
neg ecx
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov edx, ecx
shr edx, 0x1f
neg edx
lea eax, [rcx + rcx]
and edx, 0x4c11db7
xor edx, eax
mov r8d, edx
shr r8d, 0x1f
neg r8d
and r8d, 0x4c11db7
lea eax, [rdx + rdx]
xor r8d, eax
mov ecx, r8d
shr ecx, 0x1f
neg ecx
and ecx, 0x4c11db7
lea eax, [r8 + r8]
xor ecx, eax
mov dword [r10 - 4], ecx
cmp r9d, 0x100
jb 0x1800404b0
mov eax, 1
ret
Function at 0x1800490f0
Capabilities:
Get system information on windows
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rbx, rcx
call fcn.1800494a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x18004911b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x18004912b
mov r8d, esi
xor edx, edx
mov ecx, 0xd7b
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x180049144
test rcx, rcx
jle 0x180049141
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
cmp dword [0x18038c58c], 0xa
jb 0x180049180
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
jne 0x180049180
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, qword [rbx]
mov rdi, rax
cmp rax, rcx
je 0x180049180
test rcx, rcx
jle 0x18004917d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov rdi, qword [rbx]
test rdi, rdi
jg 0x1800491bd
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rdi, rax
je 0x1800491bd
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x1800491bd
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov dword [rbx + 8], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180065290

Function at 0x1800495d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov r14, rcx
call fcn.180048ba0
mov rsi, rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], bl
lea r8d, [rbx + 0xf]
lea rdx, str.NtResumeProcess
lea rcx, [rsp + 0x20]
call fcn.1800052d0
nop
call fcn.180061ed0
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x180049673
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x180049660
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180049aa0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1800496b0
cmp rdx, qword [rsi + 8]
je 0x1800496b0
mov rbx, qword [rdx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1800496ba
mov rcx, qword [r14]
call rbx
mov ebx, eax
jmp 0x1800496bf
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
lea rcx, [rsp + 0x20]
call fcn.180005250
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1800496f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x20], xmm1
xor ebp, ebp
mov qword [rsp + 0x30], rbp
xor edx, edx
lea ecx, [rbp + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
setg r15b
test rax, rax
jg 0x18004975b
mov qword [r14], rbp
mov qword [r14 + 8], rbp
jmp 0x180049802
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x44]
call fcn.180211600
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rdi, qword [rsp + 0x28]
test eax, eax
je 0x1800497f6
nop dword [rax]
cmp qword [rsi + 0x10], 0
je 0x1800497b2
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1800497a4
mov rdx, qword [rsi]
lea rcx, [rsp + 0x6c]
call fcn.18022d548
test eax, eax
jne 0x1800497e4
cmp rdi, rbp
je 0x1800497c8
mov eax, dword [rsp + 0x48]
mov dword [rdi], eax
add rdi, 4
mov qword [rsp + 0x28], rdi
jmp 0x1800497e4
lea r8, [rsp + 0x48]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1800498b0
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180049790
mov rax, qword [rsp + 0x20]
mov qword [r14], rax
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rbp
test r15b, r15b
je 0x180049815
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, r14
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret