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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x180089eb2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x180089ef9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x180089f52
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x180089f10
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x180089f93
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x18008f3e8]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x18008f3e9]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x180089f60
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x180006bc0
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 0x180006c1d
lea rbx, [0x1800ba120]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180006c04
cmp r10, 2
jb 0x180006c04
cmp byte [r9], r8b
jne 0x180006c04
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 0x180006be0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180006c5f
lea rbx, [0x1800ba120]
cmp r8b, 0x23
jne 0x180006c43
cmp byte [r9], r8b
jne 0x180006c43
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 0x180006c30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180006da0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180006dba
mov qword [r8], 0
lea rdx, [0x1800b9d24]
call fcn.180006c70
mov rbx, rax
test rax, rax
jne 0x180006dda
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.18007bc88
mov esi, eax
cmp eax, 0xffffffff
je 0x180006ea8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18007c6e4
test eax, eax
jne 0x180006ea8
mov rcx, rbx
call fcn.18007bc88
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180006ea8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18007c6e4
test eax, eax
jne 0x180006ea8
cmp rdi, 0xffffffffffffffff
je 0x180006ea8
mov rax, qword [0x1800e4070]
test rax, rax
je 0x180006e4a
inc dword [rax + 0xec]
mov rcx, rdi
call fcn.180084cd4
mov rsi, rax
test rax, rax
je 0x180006ea8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18007f714
mov rcx, rbx
cmp rax, rdi
je 0x180006e96
call fcn.18007c470
mov rax, qword [0x1800e4070]
test rax, rax
je 0x180006e8c
dec dword [rax + 0xec]
mov rcx, rsi
call fcn.18007f4a0
jmp 0x180006eb0
call fcn.18007c470
test r14, r14
je 0x180006ea3
mov qword [r14], rdi
mov rax, rsi
jmp 0x180006eb2
mov rcx, rbx
call fcn.18007c470
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180009270
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1800ba120]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1800e4070]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x180009306
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.18001ace0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18000e590
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18000e5e0
lea r11, [0x1800ba120]
nop dword [rax]
cmp r9b, 0x23
jne 0x18000e5c3
cmp byte [r8], r9b
jne 0x18000e5c3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18000e5b0
mov rcx, qword [0x1800e4070]
not eax
movsxd rdx, dword [rcx + 0x3e68]
mov r9, qword [rcx + 0x3e70]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18000e641
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18000e639
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18000e63c
mov rdx, r8
test rdx, rdx
jne 0x18000e610
cmp r9, r10
je 0x18000e650
cmp dword [r9], eax
jne 0x18000e650
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x1800196a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53c8], 0
lea rbx, [rcx + 0x53d0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180019746
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800196fa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001bd50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180007170
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53c8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53d8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800e4068]
cmovne rcx, rax
call fcn.18007f344
mov r14, qword [rsp + 0x30]
jmp 0x18001974e
mov rcx, rbx
call fcn.180007170
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180019cc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800e4070]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180019d23
mov qword [rsp], rbx
lea rbx, [0x1800ba120]
nop dword [rax]
cmp r9b, 0x23
jne 0x180019d03
cmp byte [r8], r9b
jne 0x180019d03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180019cf0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5378]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180019d57
mov r10, qword [r10 + 0x5380]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180019d5e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180019d44
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1800376d0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
cmp dword [0x1800e4144], 0
je 0x180037876
mov rax, qword [0x1800e4208]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov rdi, qword [rax + 0x40]
mov rcx, rdi
mov qword [rsp + 0x30], r14
call fcn.180049b5c
test eax, eax
jne 0x18003786c
xor r14d, r14d
mov esi, 1
mov ebx, r14d
lock cmpxchg dword [0x1800e4110], esi
je 0x180037746
cmp rbx, 0x20
jae 0x18003772f
xor ecx, ecx
jmp 0x180037731
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800e4110], esi
jne 0x180037725
cmp qword [0x1800e4118], r14
je 0x180037865
mov qword [rsp + 0x48], rbp
test rdi, rdi
jne 0x180037768
mov ecx, esi
call fcn.180049a58
mov ebp, eax
jmp 0x180037794
mov ecx, dword [0x1800e427c]
mov ebx, r14d
test ecx, ecx
je 0x18003778f
mov r8, qword [0x1800e4270]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x1800377bd
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180037780
mov ebp, 4
xchg dword [0x1800e4110], r14d
neg ebp
mov rbp, qword [rsp + 0x48]
sbb eax, eax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x30]
add rsp, 0x38
ret
cmp ebx, 0xffffffff
je 0x18003778f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x18003785b
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800495a0
mov ebp, eax
test eax, eax
jne 0x180037794
mov edx, esi
mov ecx, ebx
call fcn.18004994c
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x180037794
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180037842
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180037838
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180037810
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800e4118]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180037794
mov ebp, 5
jmp 0x180037794
xchg dword [0x1800e4110], r14d
mov eax, 0xffffffff
jmp 0x1800377a4
mov eax, 0xfffffffb
add rsp, 0x38
ret

Function at 0x180039a10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, dword [rcx]
mov rbx, rcx
call fcn.180085ab4
sub eax, dword [0x1800e4140]
cmp eax, 0x12c
jle 0x180039a4e
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180039a4e
call fcn.180085ab4
mov dword [0x1800e4140], eax
mov dil, 1
jmp 0x180039a51
xor dil, dil
mov rdx, qword [rbx + 0x20]
cmp rdx, 8
jb 0x180039a8d
mov rcx, qword [rbx + 8]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180039a88
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180039aae
mov rcx, r8
call fcn.18004ad48
xor eax, eax
mov qword [rbx + 0x18], rax
mov word [rbx + 8], ax
movzx eax, dil
mov qword [rbx + 0x20], 7
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call fcn.1800859e8
int3
Function at 0x18003aa20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1800df010]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
call fcn.180049100
test rax, rax
je 0x18003ab21
mov rcx, qword [rbx + 0x20]
call fcn.180049100
lea r9, [rsp + 0x140]
mov edx, 0x120
mov r8d, 0x40
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rbx
lea rax, [rsp + 0x20]
mov r9d, 2
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
lea r8, [r8 + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [r8 - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [r8 - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [r8 - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [r8 - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [r8 - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [r8 - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r9, 1
jne 0x18003aa90
movups xmm0, xmmword [r8]
lea r9, [rsp + 0x144]
mov edx, 0x120
movups xmm1, xmmword [r8 + 0x10]
mov r8d, dword [rsp + 0x140]
mov rcx, rbx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.18004a9f0
add rsp, 0x150
pop rbx
ret
Function at 0x180041fb0
Capabilities:
Resume thread

Disassembly:
push r14
sub rsp, 0x30
cmp dword [0x1800e4144], 0
mov r14, rcx
je 0x1800421a4
mov rax, qword [0x1800e4208]
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r15
mov r15d, 1
mov rdi, qword [rax + 0x40]
xor eax, eax
lock cmpxchg dword [0x1800e4110], r15d
je 0x180042018
cmp rbx, 0x20
jae 0x180041fff
xor ecx, ecx
jmp 0x180042002
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800e4110], r15d
jne 0x180041ff5
cmp qword [0x1800e4118], 0
je 0x18004210a
test rdi, rdi
jne 0x180042037
xor ecx, ecx
call fcn.180049a58
jmp 0x18004210a
mov ecx, dword [0x1800e427c]
xor ebx, ebx
test ecx, ecx
je 0x18004210a
mov r8, qword [0x1800e4270]
mov rax, r8
cmp rdi, qword [rax]
je 0x180042065
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180042051
jmp 0x18004210a
cmp ebx, 0xffffffff
je 0x18004210a
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
je 0x18004210a
mov r8d, r15d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800495a0
test eax, eax
jne 0x18004210a
xor edx, edx
mov ecx, ebx
call fcn.18004994c
cmp qword [rsp + 0x20], 0
je 0x18004210a
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800420f6
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x48], rsi
mov esi, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800420e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, r15
jne 0x1800420c0
mov rsi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800e4118]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rsp + 0x50]
xor eax, eax
xchg dword [0x1800e4110], eax
cmp dword [0x1800e4144], 0
je 0x18004218d
xor ebx, ebx
xor eax, eax
lock cmpxchg dword [0x1800e4110], r15d
je 0x180042153
nop
cmp rbx, 0x20
jae 0x18004213a
xor ecx, ecx
jmp 0x18004213d
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800e4110], r15d
jne 0x180042130
cmp qword [0x1800e4118], 0
je 0x180042164
xor ecx, ecx
call fcn.180049a58
xor eax, eax
xchg dword [0x1800e4110], eax
mov rcx, qword [0x1800e4208]
call fcn.18007f4a0
mov qword [0x1800e4208], 0
mov dword [0x1800e4144], 0
mov rbx, qword [rsp + 0x40]
mov al, 1
mov r15, qword [rsp + 0x58]
mov byte [r14], 0
add rsp, 0x30
pop r14
ret
mov byte [rcx], 0
mov al, 1
add rsp, 0x30
pop r14
ret
Function at 0x1800445c0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [0x1800e40c8], rcx
test edx, edx
je 0x180044602
cmp edx, 1
jne 0x180044675
xor ebx, ebx
lea r8, [0x180043160]
mov r9, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [rbx + 1]
add rsp, 0x30
pop rbx
ret
mov r9, qword [0x1800e41b8]
xor ebx, ebx
mov r8, qword [0x1800e41b0]
mov rax, r9
sub rax, r8
sar rax, 3
test rax, rax
je 0x180044675
mov qword [rsp + 0x40], rdi
mov edi, ebx
nop dword [rax + rax]
mov rcx, qword [rdi + r8]
cmp byte [rcx + 0x18], 0
lea rdx, [rcx + 0x18]
je 0x180044658
mov r8, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.180049090
mov r9, qword [0x1800e41b8]
mov r8, qword [0x1800e41b0]
inc ebx
mov rcx, r9
sub rcx, r8
movsxd rax, ebx
sar rcx, 3
add rdi, 8
cmp rax, rcx
jb 0x180044630
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1800473a0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x1800df010]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov dword [rsp + 0x20], 0x438
mov r8d, 0x434
lea rcx, [rsp + 0x24]
mov ebx, eax
call fcn.180077330
mov edx, ebx
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x180047429
nop
mov rcx, rbx
cmp qword [rsp + 0x48], rdi
je 0x180047459
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x180047410
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.18004a9f0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x18], rax
mov eax, dword [rsp + 0x24]
mov dword [rsi], eax
mov rax, qword [rsp + 0x38]
mov qword [rsi + 8], rax
mov eax, dword [rsp + 0x40]
mov qword [rsi + 0x10], rax
mov eax, dword [rsp + 0x28]
mov dword [rsi + 4], eax
mov al, 1
jmp 0x180047434
Function at 0x180049090
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800df010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, r8
lea r9, [rsp + 0x20]
mov rbx, rdx
mov r8d, 0x40
mov rdx, rsi
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.180077800
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x24]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004a9f0
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x180049100
Capabilities:
Allocate or change rwx memory

Disassembly:
push r14
sub rsp, 0x40
mov rax, qword [0x1800df010]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [rcx + 0x10], 0
mov r14, rcx
jne 0x18004932a
mov rax, qword [rcx + 8]
sub rax, 0x10
cmp rax, 0xf
ja 0x18004932a
xor ecx, ecx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov edx, 0x1000
mov r8d, 0x3000
mov qword [rsp + 0x68], rdi
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, qword [r14 + 8]
lea r9, [rsp + 0x20]
mov rsi, qword [r14]
mov rdx, rdi
mov rcx, rsi
mov qword [r14 + 0x10], rax
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rdi
lea rcx, [r14 + 0x18]
mov rdx, rsi
call fcn.180077800
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x28]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [0x1800e41a8]
lea rdx, [r14 + 0x18]
mov r8, qword [r14 + 8]
mov rcx, rdi
call fcn.180077800
mov rax, qword [r14]
lea r9, [rsp + 0x24]
add rax, qword [r14 + 8]
mov edx, 0x9e
mov qword [rdi + 0x91], rax
mov rbx, qword [r14 + 0x10]
mov rcx, rbx
lea r8d, [rdx - 0x5e]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movups xmm0, xmmword [rdi]
mov r8d, dword [rsp + 0x24]
lea r9, [rsp + 0x30]
mov edx, 0x9e
mov rcx, rbx
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rbx + 0x60], xmm0
movups xmm1, xmmword [rdi + 0x70]
movups xmmword [rbx + 0x70], xmm1
movups xmm0, xmmword [rdi + 0x80]
movups xmmword [rbx + 0x80], xmm0
movsd xmm1, qword [rdi + 0x90]
movsd qword [rbx + 0x90], xmm1
mov eax, dword [rdi + 0x98]
mov dword [rbx + 0x98], eax
movzx eax, word [rdi + 0x9c]
mov word [rbx + 0x9c], ax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [0x1800e41e0]
lea r9, [rsp + 0x20]
mov rax, qword [r14 + 0x10]
mov r8d, 0x40
mov qword [rbx + 3], rax
mov rdi, qword [r14 + 8]
mov rsi, qword [r14]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.180077800
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x28]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdx, qword [0x1800e41b8]
cmp rdx, qword [0x1800e41c0]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x30], r14
je 0x180049308
mov qword [rdx], r14
add qword [0x1800e41b8], 8
mov rax, qword [r14 + 0x10]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18004a9f0
add rsp, 0x40
pop r14
ret
lea r8, [rsp + 0x30]
call fcn.180049350
mov rax, qword [r14 + 0x10]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18004a9f0
add rsp, 0x40
pop r14
ret
mov rax, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18004a9f0
add rsp, 0x40
pop r14
ret
Function at 0x1800498d8
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 0x18004993c
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18004992a
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180049923
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 0x1800498f7
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1800e4118]
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 0x18004994c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800e4270]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x180049982
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800499b8
mov eax, 0xa
jmp 0x180049a44
test esi, esi
je 0x1800499da
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800499fb
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800499fb
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800499f5
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800499fb
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x180049d18
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180049d2f
cmp r8b, 0x90
je 0x180049d2f
cmp r8b, 0xcc
jne 0x180049d51
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180049d4d
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180049d51
add edx, r10d
cmp edx, r9d
jb 0x180049d3d
mov eax, r10d
ret
xor eax, eax
ret