joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801b6c40
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1801b6c80
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1803d6998]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1801b6cbe
cmp rsi, r14
jb 0x1801b6cb6
cmp rsi, r15
jae 0x1801b6cb6
cmp qword [rsi + 8], 0
jne 0x1801b6e87
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1801b6ca1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1801b6d52
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1801b6d49
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801b6d49
cmp dword [rsp + 0x70], 0x10000
je 0x1801b6dcb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1801b6d49
sub rbx, rbp
cmp rbx, r14
jae 0x1801b6d10
test rsi, rsi
jne 0x1801b6e30
cmp rdi, r15
ja 0x1801b6e6f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1801b6e6f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801b6e6f
cmp dword [rsp + 0x70], 0x10000
je 0x1801b6e01
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1801b6d82
jmp 0x1801b6e6f
test rbx, rbx
je 0x1801b6d49
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801b6e30
cmp rbx, r14
jae 0x1801b6cf0
jmp 0x1801b6d52
test rdi, rdi
je 0x1801b6e6f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801b6e30
cmp rdi, r15
jbe 0x1801b6d60
jmp 0x1801b6e6f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1801b6e40
mov rax, qword [0x1803d6998]
mov qword [rsi], rax
mov qword [0x1803d6998], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1801b7f40
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm9
movaps xmm6, xmm2
mov rdi, rcx
movss xmm7, dword [rdx + 8]
movss xmm8, dword [rdx + 4]
movss xmm9, dword [rdx]
mov rsi, qword [0x1803d69c0]
mov edx, dword [0x1803d7b50]
mov rax, qword gs:[0x58]
mov ecx, 0x14
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x1803d6358], eax
jg 0x1801b8093
movss dword [rsp + 0x20], xmm6
movaps xmm3, xmm7
movaps xmm2, xmm8
movaps xmm1, xmm9
mov rcx, rsi
call qword [0x1803d6350]
xorps xmm3, xmm3
movss xmm2, dword [rdi + 0xc]
movss xmm1, dword [rdi]
mov rcx, qword [0x1803d69c0]
call fcn.18015dec0
xorps xmm3, xmm3
movss xmm2, dword [rdi + 0xc]
movss xmm1, dword [rdi + 8]
mov rcx, qword [0x1803d69c0]
call fcn.18015dec0
xorps xmm3, xmm3
movss xmm2, dword [rdi + 4]
movss xmm1, dword [rdi + 8]
mov rcx, qword [0x1803d69c0]
call fcn.18015dec0
xorps xmm3, xmm3
movss xmm2, dword [rdi + 4]
movss xmm1, dword [rdi + 8]
mov rcx, qword [0x1803d69c0]
call fcn.18015dec0
xorps xmm3, xmm3
movss xmm2, dword [rdi + 4]
movss xmm1, dword [rdi]
mov rcx, qword [0x1803d69c0]
call fcn.18015dec0
xorps xmm3, xmm3
movss xmm2, dword [rdi + 0xc]
movss xmm1, dword [rdi]
mov rcx, qword [0x1803d69c0]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rdi
jmp fcn.18015dec0
mov qword [0x1803d6350], rax
lea rcx, [0x1803d6358]
call fcn.1801e5958
jmp 0x1801b7fa9
lea rcx, [0x1803d6358]
call fcn.1801e59c4
cmp dword [0x1803d6358], 0xffffffff
jne 0x1801b7fa9
movabs rbx, 0xabb1be8dd09219e0
mov qword [rsp + 0x80], rbx
lea rdx, [rsp + 0x80]
lea rcx, [0x1803d5d70]
call fcn.1800bd3f0
test al, al
jne 0x1801b80da
xor eax, eax
jmp 0x1801b807b
mov qword [rsp + 0x80], rbx
lea rdx, [rsp + 0x80]
lea rcx, [0x1803d5d70]
call fcn.1800be7f0
mov rbx, rax
mov rcx, qword [rax]
call fcn.1800f0100
test al, al
jne 0x1801b810d
mov rcx, qword [rbx]
call fcn.1800f0010
mov rax, qword [rbx]
mov rax, qword [rax]
jmp 0x1801b807b
Function at 0x1801bced0
Capabilities:
Allocate or change rwx memory

Disassembly:
test rcx, rcx
je 0x1801bcf37
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x1801bcf2d
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x30]
mov ebx, r8d
mov r8d, 0x40
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call fcn.180214f50
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1801bcf80
Capabilities:
Allocate or change rwx memory

Disassembly:
test rcx, rcx
je 0x1801bcfd6
push rdi
sub rsp, 0x20
mov qword [rsp + 0x38], rbx
lea r9, [rsp + 0x30]
mov ebx, edx
mov r8d, 0x40
mov edx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
mov edx, 0x90
mov rcx, rdi
call fcn.180215690
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1801bcfe0
Capabilities:
Allocate or change rwx memory

Disassembly:
test rdx, rdx
je 0x1801bd047
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x1801bd03d
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x38]
mov ebx, r8d
mov r8d, 0x40
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.180214f50
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1801bd090
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x1803d3900]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.Mozilla_4.0__compatible_
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
xorps xmm0, xmm0
lea edi, [r13 + 0xf]
test rax, rax
je 0x1801bd214
movups xmmword [rsp + 0x48], xmm0
mov ebp, r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x48], bpl
cmp qword [rbx + 0x18], rdi
jbe 0x1801bd116
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
je 0x1801bd1f6
movzx ebx, byte [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x38]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rsp + 0x38]
mov rax, rdi
sub rax, rbp
cmp rsi, rax
ja 0x1801bd1aa
lea rax, [rsi + rbp]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdi, 0xf
cmova rax, qword [rsp + 0x48]
lea rdi, [rax + rbp]
mov r8d, esi
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180214f50
mov byte [rdi + rsi], 0
jmp 0x1801bd1c5
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x70]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1800c04a0
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x70]
call fcn.180215690
cmp dword [rsp + 0x38], 0
jbe 0x1801bd1ed
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
jmp 0x1801bd150
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [r14 + 0x10], xmm1
jmp 0x1801bd223
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], rdi
mov byte [r14], r13b
mov rax, r14
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1801e58d0
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801bd360
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1801bd412
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
inc rdx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
jne 0x1801bd3bd
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
cmp qword [rdi + 0x18], 0xf
jbe 0x1801bd3c7
mov rdi, qword [rdi]
mov rbx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call fcn.180214f50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1801bde40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1803d8ddc]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x1801bde87
mov rax, qword [0x1803d8dd0]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1801bde94
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x1801bde70
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x1801bde87
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.1801be330
mov edi, eax
test eax, eax
jne 0x1801bdf7d
mov r9d, dword [0x1803d8ddc]
cmp ebx, r9d
jae 0x1801bdf0c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1803d8dd0]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x1801bdf05
mov edx, esi
mov ecx, ebx
call fcn.1801be0b0
mov edi, eax
test eax, eax
jne 0x1801bdf0c
mov r9d, dword [0x1803d8ddc]
inc ebx
cmp ebx, r9d
jb 0x1801bded0
cmp qword [rsp + 0x20], 0
je 0x1801bdf7b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1801bdf67
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801bdf58
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1801bdf30
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1803d6fe8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x1801be0b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1803d8dd0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1801be114
mov eax, 0xa
jmp 0x1801be1a7
test esi, esi
je 0x1801be136
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1801be159
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1801be159
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1801be152
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1801be159
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1801be1c0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1803d3900]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1801be30c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1801be303
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x1801be2ba
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1801be2ba
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1801be2ba
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1801be27b
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1803d6fe8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x1801be2e2
lea rbx, [rdi + 0xc]
jmp 0x1801be2af
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x1801be2af
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x1803d6fe8]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1801be2e2
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1801be221
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1801be2fe
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x1801be2fe
mov rcx, qword [0x1803d6fe8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801e58d0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1801be330
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.1801be1c0
test eax, eax
jne 0x1801be377
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x1801be3ee
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x1801be3d6
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801be3ca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1801be820
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1801be390
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1801be9d0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1801bea3f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1801bea28
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801bea1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1801be9f0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1803d6fe8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1801beb00
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1801beb40
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1803d8dc8]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1801beb7e
cmp rsi, r14
jb 0x1801beb76
cmp rsi, r15
jae 0x1801beb76
cmp qword [rsi + 8], 0
jne 0x1801bed47
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1801beb61
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1801bec12
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1801bec09
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801bec09
cmp dword [rsp + 0x70], 0x10000
je 0x1801bec8b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1801bec09
sub rbx, rbp
cmp rbx, r14
jae 0x1801bebd0
test rsi, rsi
jne 0x1801becf0
cmp rdi, r15
ja 0x1801bed2f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1801bed2f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801bed2f
cmp dword [rsp + 0x70], 0x10000
je 0x1801becc1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1801bec42
jmp 0x1801bed2f
test rbx, rbx
je 0x1801bec09
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801becf0
cmp rbx, r14
jae 0x1801bebb0
jmp 0x1801bec12
test rdi, rdi
je 0x1801bed2f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801becf0
cmp rdi, r15
jbe 0x1801bec20
jmp 0x1801bed2f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1801bed00
mov rax, qword [0x1803d8dc8]
mov qword [rsi], rax
mov qword [0x1803d8dc8], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1801bf9b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov eax, 0x5a4d
xor r12d, r12d
mov rbp, rdx
mov r14, rcx
cmp word [rdx], ax
jne 0x1801bfa33
movsxd rsi, dword [rdx + 0x3c]
add rsi, rdx
cmp dword [rsi], 0x4550
jne 0x1801bfa33
movzx ebx, word [rsi + 0x14]
mov edi, r12d
add rbx, 0x18
add rbx, rsi
cmp r12w, word [rsi + 6]
jae 0x1801bfa33
mov r15, qword [r8]
nop dword [rax + rax]
mov r8d, 8
mov rdx, rbx
mov rcx, r15
call fcn.1801fa290
test eax, eax
je 0x1801bfa5c
movzx eax, word [rsi + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jl 0x1801bfa10
mov qword [r14], r12
mov qword [r14 + 8], r12
mov rbx, qword [rsp + 0x40]
mov rax, r14
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov eax, dword [rbx + 0xc]
add rax, rbp
mov qword [r14], rax
mov eax, dword [rbx + 8]
mov qword [r14 + 8], rax
jmp 0x1801bfa3a
Function at 0x1801d3c20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov r15, rdx
mov qword [rsp + 0x58], rsi
mov r13, rcx
mov rsi, qword [r8 + 0x10]
mov r9, r8
mov qword [rsp + 0x60], rdi
mov rdi, r8
mov qword [rsp + 0x28], r12
mov r12, qword [r8 + 0x18]
cmp r12, 0xf
jbe 0x1801d3c5b
mov r9, qword [r8]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x1801d3c94
movabs rdx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor r8, rax
imul r8, rdx
cmp rcx, rsi
jb 0x1801d3c80
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x1801d3d02
mov qword [rsp + 0x20], r14
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x1801d3cd2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x1801d3cde
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1801d3cef
mov r8, rsi
call fcn.180214e50
test eax, eax
je 0x1801d3cfa
cmp rbx, r14
je 0x1801d3cfd
mov rbx, qword [rbx + 8]
jmp 0x1801d3cc0
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rbp, rbp
je 0x1801d3d2b
mov qword [r15], rbp
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret
mov rax, qword [r13 + 8]
mov qword [r15], rax
mov rax, r15
add rsp, 0x30
pop r15
pop r13
pop rbp
ret