joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180008be0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x180049c80]
mov edx, 0x210
call fcn.180018350
cmp byte [rax], 0
je 0x180008c56
xor edx, edx
mov ecx, 0x210
call fcn.18001aa80
test al, al
je 0x180008c56
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180008c56
mov rbx, qword [0x180049c80]
cmp byte [rbx + 0x38d1], 0
je 0x180008c42
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.18000bb20
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x180049c80]
mov edx, 0x214
call fcn.180018350
cmp byte [rax], 0
je 0x180008cc6
xor edx, edx
mov ecx, 0x214
call fcn.18001aa80
test al, al
je 0x180008cc6
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180008cc6
mov rbx, qword [0x180049c80]
cmp byte [rbx + 0x38d1], 0
je 0x180008cb2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.18000bb20
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x180049c80]
mov edx, 0x212
call fcn.180018350
cmp byte [rax], 0
je 0x180008d36
xor edx, edx
mov ecx, 0x212
call fcn.18001aa80
test al, al
je 0x180008d36
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180008d36
mov rbx, qword [0x180049c80]
cmp byte [rbx + 0x38d1], 0
je 0x180008d22
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.18000bb20
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x180049c80]
mov edx, 0x216
call fcn.180018350
cmp byte [rax], 0
je 0x180008da6
xor edx, edx
mov ecx, 0x216
call fcn.18001aa80
test al, al
je 0x180008da6
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180008da6
mov rbx, qword [0x180049c80]
cmp byte [rbx + 0x38d1], 0
je 0x180008d92
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.18000bb20
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x18000c310
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 0x18000c36d
lea rbx, [0x18003c910]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000c354
cmp r10, 2
jb 0x18000c354
cmp byte [r9], r8b
jne 0x18000c354
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 0x18000c330
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000c3af
lea rbx, [0x18003c910]
cmp r8b, 0x23
jne 0x18000c393
cmp byte [r9], r8b
jne 0x18000c393
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 0x18000c380
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180018100
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x18003c910]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x404c], ebx
jne 0x180018196
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.180021f20
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18001b960
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180049010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180049c80]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x18001b9c1
cmp byte [rbx + 0x4d4e], 0
jne 0x18001b9c1
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18000c200
test dil, 2
je 0x18001baef
jmp 0x18001ba4a
movss xmm1, dword [rbx + 0x39bc]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18004132c]
mulss xmm1, dword [0x180041324]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe40]
addss xmm1, dword [rbx + 0xe44]
mov qword [rbx + 0x4a18], rax
mov dword [rbx + 0x4a04], 1
movss dword [rbx + 0x4a10], xmm0
movss dword [rbx + 0x4a14], xmm1
movss xmm0, dword [rbx + 0x3a18]
mulss xmm0, dword [0x1800412b0]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.18000c200
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18001baa0
lea r11, [0x18003c910]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x18001ba83
cmp byte [r8], r9b
jne 0x18001ba83
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18001ba70
not ecx
call fcn.180012290
test rax, rax
je 0x18001baef
cmp byte [rax + 0xbe], 0
je 0x18001baef
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5eb8]
movsx r9d, word [rbx + 0x5eb8]
call fcn.18000c200
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.1800150a0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180038a40
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800206f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6010], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x180020773
xor edx, edx
add rcx, 0x6018
call fcn.180022cd0
mov r8, rsi
lea rcx, [rbx + 0x6018]
mov rdx, rbp
call fcn.18000ca00
mov eax, dword [rbx + 0x6018]
xor ecx, ecx
mov r9, qword [rbx + 0x6010]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x6020]
cmove edx, ecx
test rax, rax
movsxd r8, edx
lea rcx, [0x180049c78]
cmovne rcx, rax
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18002077f
add rcx, 0x6018
call fcn.18000ca00
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180020af0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180049c80]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180020b53
mov qword [rsp], rbx
lea rbx, [0x18003c910]
nop dword [rax]
cmp r9b, 0x23
jne 0x180020b33
cmp byte [r8], r9b
jne 0x180020b33
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 0x180020b20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x180020b7f
cmp dword [r8 + 8], eax
je 0x180020b86
add r8, 0x48
cmp r8, rcx
jne 0x180020b70
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x180020dd0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180049c80]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5f6c], ecx
test rbx, rbx
je 0x180020e3f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.180020e50
lea rdx, [0x18003c424]
mov rcx, rbx
mov rdi, rax
call fcn.18000c3c0
mov rbx, rax
test rax, rax
je 0x180020e3a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x180036840
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180049010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov r14d, edx
xor edx, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
mov ebp, r8d
mov esi, r15d
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18003698f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800369b5
lea esi, [r15 + 1]
nop
cmp dword [rsp + 0x20], 0x10
jb 0x180036940
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180036940
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180036940
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180036902
mov rcx, qword [0x180049c90]
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 0x180036969
jmp 0x180036933
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180036933
mov rcx, qword [0x180049c90]
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 0x180036969
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800368b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800369b5
mov r8, qword [rbx]
mov esi, r15d
test r8, r8
je 0x1800369b5
mov rcx, qword [0x180049c90]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
mov qword [rbx], r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180038a40
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x18003698f
cmp qword [rbx], r15
je 0x180036a13
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x180036a13
mov rax, qword [rbx]
xor edx, edx
mov ecx, edi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180036a0c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180036690
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800369d0
mov eax, r15d
jmp 0x180036994
Function at 0x180036a20
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, 0x30
mov rax, qword [0x180049010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x18004b670]
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 0x180036a93
mov eax, 0xa
jmp 0x180036b22
test esi, esi
je 0x180036ab5
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 0x180036ad8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180036ad8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180036ad1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180036ad8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
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]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, 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 rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180038a40
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180036b50
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x18004b67c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180036b97
mov rax, qword [0x18004b670]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180036ba4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180036b80
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180036b97
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180036840
mov edi, eax
test eax, eax
jne 0x180036c8d
mov r9d, dword [0x18004b67c]
cmp ebx, r9d
jae 0x180036c1c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x18004b670]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180036c15
mov edx, esi
mov ecx, ebx
call fcn.180036a20
mov edi, eax
test eax, eax
jne 0x180036c1c
mov r9d, dword [0x18004b67c]
inc ebx
cmp ebx, r9d
jb 0x180036be0
cmp qword [rsp + 0x20], 0
je 0x180036c8b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180036c77
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 0x180036c68
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 0x180036c40
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180049c90]
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 0x180036f70
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x30
xor r12d, r12d
mov rdi, rcx
mov r14d, r12d
mov ebx, r12d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180049c88], esi
je 0x180036fc1
cmp rbx, 0x20
jae 0x180036faa
xor ecx, ecx
jmp 0x180036fac
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180049c88], esi
jne 0x180036fa0
cmp qword [0x180049c90], r12
mov qword [rsp + 0x58], r13
je 0x180037158
mov ecx, dword [0x18004b67c]
mov ebx, r12d
test ecx, ecx
je 0x180036fff
mov rdx, qword [0x18004b670]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x18003700a
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180036ff0
mov r14d, 4
jmp 0x18003715e
cmp ebx, 0xffffffff
je 0x180036fff
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x1800370bd
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180036840
mov r14d, eax
test eax, eax
jne 0x18003715e
xor edx, edx
mov ecx, ebx
call fcn.180036a20
mov r14d, eax
cmp qword [rsp + 0x20], r12
je 0x1800370ad
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180037099
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, eax
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18003708a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180037062
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180049c90]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x18003715e
mov rdx, qword [0x18004b670]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.1800379b0
mov edx, dword [0x18004b67c]
dec edx
cmp ebx, edx
jae 0x18003710c
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x18004b670]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x18004b678]
mov eax, ecx
mov dword [0x18004b67c], edx
shr eax, 1
cmp eax, 0x20
jb 0x18003715e
cmp eax, edx
jb 0x18003715e
mov r8, qword [0x18004b670]
mov eax, ecx
mov rcx, qword [0x180049c90]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18003715e
shr dword [0x18004b678], 1
mov qword [0x18004b670], rax
jmp 0x18003715e
mov r14d, 2
xchg dword [0x180049c88], r12d
mov r13, qword [rsp + 0x58]
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r12
pop rdi
ret
Function at 0x180037190
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x180049c88], ebp
je 0x1800371e7
cmp rbx, 0x20
jae 0x1800371d0
xor ecx, ecx
jmp 0x1800371d2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180049c88], ebp
jne 0x1800371c6
cmp qword [0x180049c90], r15
je 0x1800372e1
test rdi, rdi
jne 0x180037207
mov ecx, esi
call fcn.180036b50
mov edi, eax
jmp 0x1800372e6
mov ecx, dword [0x18004b67c]
mov ebx, r15d
test ecx, ecx
je 0x18003722f
mov rdx, qword [0x18004b670]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x180037239
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180037220
mov edi, 4
jmp 0x1800372e6
cmp ebx, 0xffffffff
je 0x18003722f
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800372d8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180036840
mov edi, eax
test eax, eax
jne 0x1800372e6
mov edx, esi
mov ecx, ebx
call fcn.180036a20
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x1800372e6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800372c2
mov rbx, qword [rsp + 0x20]
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 0x1800372b8
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 0x180037290
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180049c90]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800372e6
neg esi
sbb edi, edi
add edi, 6
jmp 0x1800372e6
mov edi, 2
xchg dword [0x180049c88], r15d
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
Function at 0x180037730
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x180049010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
cmp rdi, 0x40000000
jbe 0x18003777d
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18004b668]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x60], r15
cmovbe r15, qword [rsp + 0x60]
sub r15, 0xfff
test rsi, rsi
je 0x1800377bf
cmp rsi, r14
jb 0x1800377b7
cmp rsi, r15
jae 0x1800377b7
cmp qword [rsi + 8], 0
jne 0x18003797d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800377a2
mov qword [rsp + 0xb8], rbx
mov rbx, rdi
mov qword [rsp + 0xc0], rbp
cmp rdi, r14
jb 0x180037842
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180037839
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180037839
cmp dword [rsp + 0x40], 0x10000
je 0x1800378bb
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180037839
sub rbx, rbp
cmp rbx, r14
jae 0x180037800
test rsi, rsi
jne 0x180037926
cmp rdi, r15
ja 0x18003796d
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
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 0x18003796d
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003796d
cmp dword [rsp + 0x40], 0x10000
je 0x1800378f4
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180037872
jmp 0x18003796d
test rbx, rbx
je 0x180037839
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180037926
cmp rbx, r14
jae 0x1800377e0
jmp 0x180037842
test rdi, rdi
je 0x18003796d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180037926
cmp rdi, r15
jbe 0x180037850
jmp 0x18003796d
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x180037940
mov rax, qword [0x18004b668]
mov qword [rsi], rax
mov qword [0x18004b668], rsi
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180038a40
mov rsi, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rdi
ret
Function at 0x180038500
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor esi, esi
mov rbx, r8
mov r14, rdx
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
xor eax, eax
mov qword [rdx + 0x10], rax
movzx eax, word [rcx + 0x14]
lea rdi, [rcx + 0x18]
movzx ebp, word [rcx + 6]
add rdi, rax
test ebp, ebp
je 0x1800385a0
nop dword [rax]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x180038560
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180038585
inc esi
add rdi, 0x28
cmp esi, ebp
jl 0x180038550
jmp 0x1800385a0
mov ecx, dword [rdi + 8]
mov eax, dword [rdi + 0xc]
mov qword [r14], rax
mov eax, ecx
and eax, 0xfff
mov qword [r14 + 8], rcx
add rax, rcx
mov qword [r14 + 0x10], rax
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1800389c0
Capabilities:
Check for trap flag exception

Disassembly:
pushfq
pop rax
or rax, 0x100
push rax
popfq
nop
cpuid
nop
ret

Function at 0x1800389cf
Capabilities:
Check for trap flag exception

Disassembly:
pushfq
pop rax
or rax, 0x100
push rax
popfq
nop
mov ax, ss
mov ss, ax
cpuid
nop
ret
Function at 0x140004260
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 0x1400042bd
lea rbx, [0x1400c4f30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400042a4
cmp r10, 2
jb 0x1400042a4
cmp byte [r9], r8b
jne 0x1400042a4
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 0x140004280
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400042ff
lea rbx, [0x1400c4f30]
cmp r8b, 0x23
jne 0x1400042e3
cmp byte [r9], r8b
jne 0x1400042e3
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 0x1400042d0
mov rbx, qword [rsp + 8]
not eax
ret