joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180079af0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x128]
lea r10, [0x1800f5e50]
mov rax, qword [rcx + 0x110]
movss xmm1, dword [rcx + 0x12c]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x108]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret

Function at 0x180079e00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1800f5e50]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4120], ebx
jne 0x180079e94
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18006bdf0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180081750
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x180162040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x180181128]
mov r9, r8
mov edi, dword [rsp + 0x90]
mov r14d, edx
mov eax, edi
mov r10, rcx
and eax, 0x40000000
mov rbx, qword [rsi + 0x40c8]
bts eax, 0x1d
mov r8d, dword [rsi + 0x4ae8]
shr eax, 0x1d
mov r15d, eax
bts r15d, 8
test edi, edi
cmovns r15d, eax
mov eax, dword [rbx + 0x14]
and eax, 4
mov dword [rsi + 0x4b20], r15d
or eax, 0x1000103
bts r8d, 8
or edi, eax
mov dword [rsi + 0x4ae8], r8d
cmp qword [rbx + 0x1d0], 0
jne 0x1800817f6
cmp qword [rsi + 0x4ee8], 0
mov eax, 0x278
je 0x1800817fb
mov eax, 0x248
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r9]
call fcn.180075540
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r8d, 2
movsd qword [rsi + 0x4b08], xmm0
xor edx, edx
mov dword [rsi + 0x4ae8], r8d
mov dword [rsi + 0x4af0], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x18008186e
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.18008d930
jmp 0x18008187f
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.18008d930
mov rcx, qword [rsp + 0x30]
mov r8d, edi
movss xmm6, dword [rsi + 0x3958]
xor edx, edx
call fcn.18007b820
mov rdi, qword [rsi + 0x40c8]
movzx ebp, al
movss dword [rsi + 0x3958], xmm6
cmp word [rdi + 0xd8], 1
mov dword [rdi + 0x90], r14d
jne 0x1800818c6
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, r14d
lea rdx, [0x1800f4b41]
not r9d
lea r10, [0x1800f5e50]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1800818f3
cmp byte [rdx], r8b
jne 0x1800818f3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1800818e0
not ebx
cmp dword [rsi + 0x413c], ebx
jne 0x180081923
xor edx, edx
xor ecx, ecx
call fcn.180086910
cmp dword [rsi + 0x4c14], r14d
jne 0x180081970
bt r15d, 8
jb 0x180081970
cmp word [rdi + 0x174], 0
jne 0x180081946
cmp byte [rdi + 0x181], 0
je 0x180081970
xor edx, edx
mov rcx, rdi
call fcn.18007aeb0
xor edx, edx
mov rcx, rdi
call fcn.180071fa0
mov rdx, rdi
mov ecx, ebx
call fcn.180086910
mov eax, dword [rsi + 0x4c48]
mov dword [rsi + 0x4168], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18003eb20
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x18008d6c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18008d71d
lea rbx, [0x1800f5e50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18008d704
cmp r10, 2
jb 0x18008d704
cmp byte [r9], r8b
jne 0x18008d704
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18008d6e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18008d75f
lea rbx, [0x1800f5e50]
cmp r8b, 0x23
jne 0x18008d743
cmp byte [r9], r8b
jne 0x18008d743
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18008d730
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18008ff20
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov esi, r8d
imul eax, edx, 0x15b0
mov ecx, 1
sub ebx, eax
test r8d, r8d
je 0x18009006c
mov qword [rsp + 0x20], rdi
xor r11d, r11d
cmp ebx, 7
jbe 0x18008ffce
mov edx, 7
nop word [rax + rax]
movzx eax, byte [r10]
add r11d, 8
add ecx, eax
add edx, 8
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add ecx, eax
add r10, 8
add r9d, ecx
cmp edx, ebx
jb 0x18008ff70
xor edx, edx
xor r8d, r8d
cmp r11d, ebx
jae 0x180090034
mov eax, ebx
sub eax, r11d
cmp eax, 2
jb 0x180090021
mov eax, ebx
sub eax, r11d
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea r11d, [r11 + rax*2]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add edx, ecx
add r10, 2
add ecx, eax
add r8d, ecx
sub rdi, 1
jne 0x180090000
cmp r11d, ebx
jae 0x18009002d
movzx eax, byte [r10]
add ecx, eax
add r9d, ecx
inc r10
lea eax, [r8 + rdx]
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
sub esi, ebx
mov ebx, 0x15b0
jne 0x18008ff58
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl r9d, 0x10
lea eax, [rcx + r9]
pop rsi
ret
Function at 0x1800aa750
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180181128]
test rax, rax
je 0x1800aa76b
mov rbx, qword [rax + 0x98]
jmp 0x1800aa76d
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1800aa798
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800c4ee0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x1800c4f13
cmp edx, 1
jne 0x1800c4f13
xor eax, eax
mov qword [0x180181140], rcx
mov qword [rsp + 0x28], rax
lea r8, [0x1800c4f30]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1800cc1c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x13f0]
mov eax, 0x14f0
call fcn.18003f820
sub rsp, rax
mov rax, qword [0x180162040]
xor rax, rsp
mov qword [rbp + 0x13e0], rax
mov rbx, rdx
mov qword [rsp + 0x40], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
call fcn.18003dd10
mov edx, eax
mov dword [rbp + 0x13d4], 0xffffffff
mov dword [rbp + 0x54], eax
mov eax, 1
nop dword [rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rbp + rax*4 + 0x54], edx
inc rax
cmp rax, 0x270
jb 0x1800cc220
mov dword [rbp + 0x50], 0x270
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x50]
call fcn.1800e12a0
lea rcx, [rsp + 0x50]
call fcn.180025810
nop
mov edi, 4
nop word [rax + rax]
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x78]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x78], eax
mov edx, 2
lea rcx, [rsp + 0x28]
call fcn.18003e390
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call r8
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x48], 0x30
lea rcx, [rbp + 0x50]
call fcn.18001ac90
shr eax, 0x18
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.180026550
sub rdi, 1
jne 0x1800cc270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov dword [rsp + 0x20], 4
movups xmmword [rsp + 0x28], xmm0
mov rcx, qword [rbp - 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800cc32f
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x1800cc32f
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x1800cc360
test cl, 4
jne 0x1800cc356
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800cc356
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1800cc360
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1800cc36e
mov rcx, rbx
call fcn.18002a280
nop
lea rcx, [rsp + 0x50]
call fcn.180025070
mov rax, rbx
mov rcx, qword [rbp + 0x13e0]
xor rcx, rsp
call fcn.18003eb20
lea r11, [rsp + 0x14f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800d9ebc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, ecx
imul rdi, rax, 0x38
add rdi, qword [0x180182a60]
mov rdx, qword [rdi]
mov cl, byte [rdi + 0x20]
mov rsi, rdx
lea rbx, [rdx - 5]
and cl, 1
je 0x1800d9ef5
mov rsi, rbx
movzx eax, cl
lea r9, [rsp + 0x38]
test cl, cl
mov r8d, 0x40
cmove rbx, rdx
lea rbp, [rax*2 + 5]
mov rcx, rbx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800d9f28
mov eax, 0xa
jmp 0x1800d9f75
mov byte [rbx], 0xe9
mov eax, dword [rdi + 8]
sub eax, esi
sub eax, 5
mov dword [rbx + 1], eax
test byte [rdi + 0x20], 1
je 0x1800d9f44
mov rax, qword [rdi]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rdi + 0x20], 6
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800d9f90
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800d9ff9
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800d9fe7
mov rax, qword [rbx]
mov r8d, dword [rax + rdi*4]
test r8d, r8d
je 0x1800d9fe0
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800d9fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800d9faf
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180182140]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800da010
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov r12d, r8d
mov qword [rcx], rbx
mov r13d, edx
mov qword [rcx + 8], rbx
mov rdi, rcx
call fcn.1800da0dc
test eax, eax
jne 0x1800da04c
lea ebx, [rax + 9]
jmp 0x1800da0b6
cmp qword [rdi], rbx
je 0x1800da0b6
mov esi, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x1800da0b6
mov r8, qword [rdi]
xor edx, edx
mov r15d, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + r15*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
mov r14d, ebx
test rax, rax
je 0x1800da0a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1800da09a
mov r8d, r12d
mov edx, r13d
mov rcx, rbp
mov r14d, 1
call fcn.1800da24c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x1800da0af
mov rcx, qword [rdi]
mov dword [rcx + r15*4], ebx
inc esi
cmp esi, dword [rdi + 0xc]
jb 0x1800da058
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800da0dc
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180162040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
xor edi, edi
xor edx, edx
lea ecx, [rdi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1800da222
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800da219
mov edi, 1
cmp dword [rsp + 0x20], 0x10
jb 0x1800da1d4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800da1d4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800da1d4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800da195
mov rcx, qword [0x180182140]
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 0x1800da1fd
lea rsi, [rbx + 0xc]
jmp 0x1800da1c9
mov eax, dword [rbx + 8]
lea rsi, [rbx + 0xc]
cmp dword [rsi], eax
jb 0x1800da1c9
mov rcx, qword [0x180182140]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800da1fd
mov qword [rbx], rax
mov ecx, dword [rsi]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
add dword [rsi], edi
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800da13f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800da219
mov r8, qword [rbx]
xor edi, edi
test r8, r8
je 0x1800da219
mov rcx, qword [0x180182140]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rbx], rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18003eb20
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x1800da6c4
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800da6db
cmp r8b, 0x90
je 0x1800da6db
cmp r8b, 0xcc
jne 0x1800da6fd
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800da6f9
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800da6fd
add edx, r10d
cmp edx, r9d
jb 0x1800da6e9
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800daa58
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rsi, rcx
lea rcx, [rax - 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rbp, qword [rsp + 0x28]
cmp rsi, 0x40000000
jbe 0x1800daa99
lea rax, [rsi - 0x40000000]
cmp rbp, rax
cmovb rbp, rax
mov rbx, qword [0x180182a50]
lea r14, [rsi + 0x40000000]
cmp qword [rsp + 0x30], r14
cmovbe r14, qword [rsp + 0x30]
sub r14, 0xfff
xor edi, edi
jmp 0x1800daad4
cmp rbx, rbp
jb 0x1800daad1
cmp rbx, r14
jae 0x1800daad1
cmp qword [rbx + 8], rdi
jne 0x1800daba1
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800daabd
mov r15, rsi
cmp rsi, rbp
jb 0x1800dab5f
mov r8d, dword [rsp + 0x48]
mov rdx, rbp
mov rcx, r15
call fcn.1800dac58
mov r15, rax
test rax, rax
je 0x1800dab20
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800dab66
cmp r15, rbp
jae 0x1800daae1
test rbx, rbx
jmp 0x1800dab5d
mov r8d, dword [rsp + 0x48]
mov rdx, r14
mov rcx, rsi
call fcn.1800dabc4
mov rsi, rax
test rax, rax
je 0x1800daba1
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800dab66
cmp rsi, r14
jbe 0x1800dab25
jmp 0x1800daba1
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], edi
mov edx, 0x40
mov qword [rcx], rdi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rdi, rax
cmp rdx, 0xfc0
jbe 0x1800dab72
mov rax, qword [0x180182a50]
mov qword [rbx], rax
mov qword [0x180182a50], rbx
lea r11, [rsp + 0x50]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140001179
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x1400130d8]
lea rdx, [rsp + 0x21]
mov byte [rdx - 1], 0
mov byte [rdx], 0x12
mov cl, 0x56
mov byte [rdx + 1], cl
mov byte [rdx + 2], 0x74
mov byte [rdx + 3], 0x3c
mov byte [rdx + 4], pe_nt_image_headers64
mov byte [rdx + 5], 0x42
mov byte [rdx + 6], 0x5a
mov byte [rdx + 7], cl
mov r8b, 0x7a
mov byte [rdx + 8], r8b
mov byte [rdx + 9], r8b
mov byte [rdx + 0xa], 0xc
mov byte [rdx + 0xb], cl
mov byte [rdx + 0xc], 0x5e
mov byte [rdx + 0xd], 0x7c
mov byte [rdx + 0xe], 0x9c
mov cl, byte [rdx - 1]
test cl, 1
jne 0x1400011f7
mov ecx, 1
mov r8b, byte [rsp + rcx + 0x20]
ror r8b, 1
xor r8b, 0x4e
mov byte [rsp + rcx + 0x20], r8b
inc rcx
cmp rcx, 0x10
jne 0x1400011dd
mov rcx, qword [0x1400130c8]
call rax
mov rdi, rax
mov rax, qword [0x1400130d8]
lea rdx, [rsp + 0x21]
mov byte [rdx - 1], 0
mov byte [rdx], 0xb2
mov byte [rdx + 1], 0xe8
mov byte [rdx + 2], 0xe0
mov byte [rdx + 3], 0xc2
mov byte [rdx + 4], 0xa0
mov cl, 0xfa
mov byte [rdx + 5], cl
mov byte [rdx + 6], cl
mov byte [rdx + 7], 0xfc
mov byte [rdx + 8], 0xe4
mov byte [rdx + 9], 0x22
mov cl, byte [rdx - 1]
test cl, 1
jne 0x140001261
mov ecx, 1
mov r8b, byte [rsp + rcx + 0x20]
ror r8b, 1
xor r8b, 0x11
mov byte [rsp + rcx + 0x20], r8b
inc rcx
cmp rcx, 0xb
jne 0x140001247
mov rcx, qword [0x1400130c8]
call rax
mov rbx, rax
test rdi, rdi
sete al
test rbx, rbx
sete cl
or cl, al
jne 0x14000128e
call rdi
mov rcx, rax
mov edx, 8
mov r8, rsi
call rbx
jmp 0x140001290
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x140001298
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x1400130d8]
lea rdx, [rsp + 0x21]
mov byte [rdx - 1], 0
mov byte [rdx], 6
mov cl, 0x42
mov byte [rdx + 1], cl
mov byte [rdx + 2], 0x60
mov byte [rdx + 3], 0x28
mov byte [rdx + 4], 0x6c
mov byte [rdx + 5], 0x56
mov byte [rdx + 6], 0x4e
mov byte [rdx + 7], cl
mov r8b, 0x6e
mov byte [rdx + 8], r8b
mov byte [rdx + 9], r8b
mov byte [rdx + 0xa], 0x18
mov byte [rdx + 0xb], cl
mov byte [rdx + 0xc], 0x4a
mov byte [rdx + 0xd], 0x68
mov byte [rdx + 0xe], 0x88
mov cl, byte [rdx - 1]
test cl, 1
jne 0x140001316
mov ecx, 1
mov r8b, byte [rsp + rcx + 0x20]
ror r8b, 1
xor r8b, 0x44
mov byte [rsp + rcx + 0x20], r8b
inc rcx
cmp rcx, 0x10
jne 0x1400012fc
mov rcx, qword [0x1400130c8]
call rax
mov rdi, rax
mov rax, qword [0x1400130d8]
lea rdx, [rsp + 0x21]
mov byte [rdx - 1], 0
mov byte [rdx], 0xba
mov cl, 0xe0
mov byte [rdx + 1], cl
mov byte [rdx + 2], 0xe8
mov byte [rdx + 3], 0xca
mov byte [rdx + 4], 0xa6
mov byte [rdx + 5], 0xce
mov byte [rdx + 6], cl
mov byte [rdx + 7], cl
mov byte [rdx + 8], 0x2a
mov cl, byte [rdx - 1]
test cl, 1
jne 0x14000137b
mov ecx, 1
mov r8b, byte [rsp + rcx + 0x20]
ror r8b, 1
xor r8b, 0x15
mov byte [rsp + rcx + 0x20], r8b
inc rcx
cmp rcx, 0xa
jne 0x140001361
mov rcx, qword [0x1400130c8]
call rax
mov rbx, rax
test rdi, rdi
sete al
test rbx, rbx
sete cl
or cl, al
jne 0x1400013a6
call rdi
mov rcx, rax
mov edx, 1
mov r8, rsi
call rbx
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret