joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005dd20
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x1370]
mov eax, 0x1470
call fcn.1800bb060
sub rsp, rax
mov r10, qword [rcx]
movabs rax, 0xcbf29ce484222325
mov r9, qword [0x180f67538]
mov rbx, rcx
movabs rcx, 0x100000001b3
movzx r11d, byte [r10]
xor r11, rax
movzx eax, byte [r10 + 1]
imul r11, rcx
xor r11, rax
movzx eax, byte [r10 + 2]
imul r11, rcx
xor r11, rax
movzx eax, byte [r10 + 3]
imul r11, rcx
xor r11, rax
movzx eax, byte [r10 + 4]
imul r11, rcx
xor r11, rax
movzx eax, byte [r10 + 5]
imul r11, rcx
xor r11, rax
movzx eax, byte [r10 + 6]
imul r11, rcx
xor r11, rax
movzx eax, byte [r10 + 7]
imul r11, rcx
xor r11, rax
imul r11, rcx
and r11, qword [0x180f67560]
shl r11, 4
add r11, qword [0x180f67548]
mov rdx, qword [r11 + 8]
mov rax, rdx
cmp rdx, r9
je 0x18005ddf6
mov rcx, qword [r10]
mov r8, qword [r11]
cmp rcx, qword [rdx + 0x10]
je 0x18005ddf8
cmp rax, r8
je 0x18005ddf6
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x18005dde5
jmp 0x18005ddf8
xor eax, eax
test rax, rax
mov rcx, r9
cmovne rcx, rax
cmp rcx, r9
je 0x18005df35
cmp rdx, r9
je 0x18005df46
mov rax, qword [r10]
mov rcx, qword [r11]
cmp rax, qword [rdx + 0x10]
je 0x18005de33
cmp rdx, rcx
je 0x18005df46
mov rdx, qword [rdx + 8]
cmp rax, qword [rdx + 0x10]
jne 0x18005de20
movups xmm0, xmmword [rdx + 0x18]
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [rdx + 0x28]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x38]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm0
call fcn.180083f40
test al, al
je 0x18005df35
xor edx, edx
lea rcx, [rsp + 0x58]
mov r8d, 0x178
call fcn.1800e3ab0
xor eax, eax
lea rcx, [rbp + 0x100]
xor edx, edx
mov qword [rbp + 0xd8], rax
mov r8d, 0x448
mov qword [rbp + 0xe8], rax
call fcn.1800e3ab0
xor edx, edx
lea rcx, [rbp + 0x558]
mov r8d, 0x400
call fcn.1800e3ab0
mov rax, qword [rbx + 8]
lea rdx, [rsp + 0x50]
mov r8d, 0xa08
mov dword [rbp + 0x554], 1
mov rcx, qword [rax]
mov rax, qword [rbx]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rax]
mov rax, qword [rsp + 0x20]
or rax, 0x401020
mov qword [rbp + 0x548], rcx
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0x960]
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xf0], rax
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0xf8], rax
mov eax, dword [rsp + 0x28]
mov dword [rbp + 0x550], eax
movsxd rax, dword [rsp + 0x2c]
mov qword [rbp + 0xe0], rax
call fcn.1800e3e70
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x960]
call fcn.180004340
mov rbx, qword [rsp + 0x1480]
add rsp, 0x1470
pop rbp
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1800b82ec
int3
Function at 0x180087f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x1390]
mov eax, 0x1490
call fcn.1800bb060
sub rsp, rax
mov rax, qword [0x180115a80]
xor rax, rsp
mov qword [rbp + 0x1388], rax
mov dword [rbp + 0x1370], 0x245c8948
mov dword [rbp + 0x1374], 0x57565520
mov dword [rbp + 0x1378], 0x55415441
mov dword [rbp + 0x137c], 0x57415641
mov dword [rbp + 0x1380], 0x60ec8348
mov r8d, 0x14
mov rax, qword [0x180f677b8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x180f675a8]
mov qword [rsp + 0x20], rax
lea r9d, [r8 + 0xc]
lea rdx, [rbp + 0x1370]
lea rcx, [rsp + 0x30]
call fcn.1800b1ff0
nop
mov rbx, qword [rsp + 0x30]
cmp rbx, qword [rsp + 0x38]
je 0x180088065
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.InsertArtemis64Hook__p
call fcn.180004050
xor edx, edx
mov r8d, 0x174
lea rcx, [rsp + 0x5c]
call fcn.1800e3ab0
xor edx, edx
mov r8d, 0x880
lea rcx, [rbp + 0xd8]
call fcn.1800e3ab0
mov qword [rsp + 0x50], rbx
mov qword [rbp + 0xd0], 0xd0022
mov dword [rsp + 0x58], 0xffffffd8
lea rcx, [rbp + 0x960]
lea rdx, [rsp + 0x50]
mov r8d, 0xa08
call fcn.1800e3e70
lea rdx, str.Artemis64
lea rcx, [rbp + 0x960]
call fcn.180004340
movzx ebx, al
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800880b0
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008805e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800880df
call fcn.1800babcc
jmp 0x1800880b0
lea rcx, str.InsertArtemis64Hook_failed
call fcn.180004050
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800880ae
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800880a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800880df
call fcn.1800babcc
xor bl, bl
call fcn.180087d20
test al, al
jne 0x1800880bd
test bl, bl
je 0x1800880bf
mov al, 1
mov rcx, qword [rbp + 0x1388]
xor rcx, rsp
call fcn.1800bb0c0
mov rbx, qword [rsp + 0x14a0]
add rsp, 0x1490
pop rbp
ret
call fcn.1800ca310
int3
Function at 0x18008a5d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
movsxd rax, dword [rcx + 0x14]
cmp eax, 5
ja case.default.0x18008a5fe
lea r8, [0x180000000]
mov edx, dword [r8 + rax*4 + 0x8a7c0]
add rdx, r8
jmp rdx
mov byte [rcx + 0x11], 0
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [rcx + 0x58], 0
jne 0x18008a7ab
mov rcx, qword [rcx + 0x18]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.1800b1be0
lea rdx, [rcx + 0x18]
cmp byte [rdx + 0x40], 1
jne 0x18008a7ab
lea rcx, [rsp + 0x20]
call fcn.18008a340
nop
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
cmp rdi, rsi
je 0x18008a678
mov rbx, rdi
mov rcx, qword [rbx]
call fcn.1800b1be0
test al, al
je 0x18008a6cb
add rbx, 8
cmp rbx, rsi
jne 0x18008a663
mov bl, 1
test rdi, rdi
je 0x18008a6b8
mov rdx, qword [rsp + 0x30]
sub rdx, rdi
and rdx, 0xfffffffffffffff8
mov r8, rdi
cmp rdx, 0x1000
jb 0x18008a6b0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub r8, rdi
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x18008a7b1
mov rcx, rdi
call fcn.1800babcc
movzx eax, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
xor bl, bl
jmp 0x18008a67a
lea rdx, [rcx + 0x18]
cmp byte [rdx + 0x40], 1
jne 0x18008a7ab
lea rcx, [rsp + 0x20]
call fcn.18008a340
nop
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
cmp rdi, rsi
je 0x18008a715
mov rbx, rdi
nop word [rax + rax]
mov rcx, qword [rbx]
call fcn.1800b1be0
test al, al
jne 0x18008a752
add rbx, 8
cmp rbx, rsi
jne 0x18008a700
xor bl, bl
test rdi, rdi
je 0x18008a6b8
mov rdx, qword [rsp + 0x30]
sub rdx, rdi
and rdx, 0xfffffffffffffff8
mov rax, rdi
cmp rdx, 0x1000
jb 0x18008a6b0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008a7b1
jmp 0x18008a6b0
mov bl, 1
jmp 0x18008a717
cmp byte [rcx + 0x58], 0
jne 0x18008a7ab
mov rcx, qword [rcx + 0x18]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.1800b2220
cmp byte [rcx + 0x58], 2
jne 0x18008a7ab
mov rcx, qword [rcx + 0x50]
test rcx, rcx
je 0x18008a7b7
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [rax + 0x10]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.18008a5a0
int3
call fcn.1800ca310
int3
call fcn.1800b8284
int3
Function at 0x18008c350
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18008c52f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180005a90
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18008c4f4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18008c469
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18008c4e3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18008c4a6
mov r10, qword [rdx]
cmp r10, rax
je 0x18008c4a0
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18008c4e3
cmp r9, rdx
je 0x18008c4bf
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18008c509
cmp r9, rdx
jne 0x18008c4b0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18008c3f0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18008c4e3
lea rcx, str.invalid_hash_bucket_count
call fcn.1800b82c8
int3
Function at 0x18008cb10
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x180117f35], 0
je 0x18008cb64
mov rdx, qword [0x180117e08]
xor r8d, r8d
add rdx, 0xa0
nop
cmp qword [rdx - 0xa0], 0
je 0x18008cb57
mov rax, qword [rcx + 8]
cmp qword [rdx - 0x50], rax
jne 0x18008cb57
mov rax, qword [rcx + 0x10]
cmp qword [rdx], rax
jne 0x18008cb57
mov rax, qword [rcx + 0x18]
cmp qword [rdx + 0x50], rax
je 0x18008cb6b
inc r8
add rdx, 8
cmp r8, 0xa
jl 0x18008cb30
xor al, al
add rsp, 0x28
ret
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 0xf0
jne 0x18008cb98
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 0xf0
je 0x18008cba8
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 0xf0
jne 0x18008cba8
mov rax, qword [0x180117e08]
cmp byte [rax + 0x9f8], 0
jne 0x18008cb64
mov al, 1
add rsp, 0x28
ret

Function at 0x18008cbb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [0x180117e08]
xor edx, edx
add rcx, 0x158
mov r8d, 0x7d0
call fcn.1800e3ab0
cmp rdi, 0x3e8
jbe 0x18008cbf1
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor r9d, r9d
mov eax, r9d
mov edx, r9d
mov qword [rsp + 0x38], rax
test rdi, rdi
je 0x18008cc30
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
add rax, rcx
inc edx
add rax, rax
movsxd rcx, edx
cmp rcx, rdi
jb 0x18008cc10
mov qword [rsp + 0x38], rax
nop dword [rax]
movabs rdx, 0x100000001b3
movzx r8d, al
movabs rcx, 0xcbf29ce484222325
xor r8, rcx
movzx ecx, byte [rsp + 0x39]
imul r8, rdx
xor r8, rcx
movzx ecx, byte [rsp + 0x3a]
imul r8, rdx
xor r8, rcx
movzx ecx, byte [rsp + 0x3b]
imul r8, rdx
xor r8, rcx
movzx ecx, byte [rsp + 0x3c]
imul r8, rdx
xor r8, rcx
movzx ecx, byte [rsp + 0x3d]
imul r8, rdx
xor r8, rcx
movzx ecx, byte [rsp + 0x3e]
imul r8, rdx
xor r8, rcx
movzx ecx, byte [rsp + 0x3f]
imul r8, rdx
xor r8, rcx
imul r8, rdx
mov rdx, qword [0x180f67a70]
and rdx, r8
mov r8, qword [0x180f67a48]
shl rdx, 4
add rdx, qword [0x180f67a58]
mov rcx, qword [rdx + 8]
cmp rcx, r8
je 0x18008cce3
mov rdx, qword [rdx]
cmp rax, qword [rcx + 0x10]
je 0x18008cce0
cmp rcx, rdx
je 0x18008cce3
mov rcx, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
jne 0x18008ccd1
mov r9, rcx
mov rbx, qword [rsp + 0x30]
test r9, r9
mov rax, r8
cmovne rax, r9
cmp rax, r8
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x18008cd00
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
call fcn.1800b6660
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1800b6b90
mov rbx, qword [0x180f679d8]
mov rdi, qword [0x180f679e0]
cmp rbx, rdi
je 0x18008ce29
movabs rbp, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
mov r8, qword [rbx]
movzx edx, r8b
mov rax, r8
xor rdx, rbp
shr rax, 8
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x10
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x20
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x28
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x30
imul rdx, rsi
movzx ecx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x38
mov rcx, qword [0x180f67a30]
imul rdx, rsi
xor rdx, rax
imul rdx, rsi
and rcx, rdx
shl rcx, 4
add rcx, qword [0x180f67a18]
mov rax, qword [rcx + 8]
cmp rax, qword [0x180f67a08]
je 0x18008ce42
mov rcx, qword [rcx]
cmp r8, qword [rax + 0x10]
je 0x18008ce0f
nop
cmp rax, rcx
je 0x18008ce42
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
jne 0x18008ce00
mov rdx, qword [rax + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800b62c0
add rbx, 8
cmp rbx, rdi
jne 0x18008cd52
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.1800b66e0
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1800b82ec
int3
Function at 0x180097a30
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x180f69c9c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180097a77
mov rax, qword [0x180f69c90]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180097a84
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180097a60
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180097a77
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180097f20
mov edi, eax
test eax, eax
jne 0x180097b6d
mov r9d, dword [0x180f69c9c]
cmp ebx, r9d
jae 0x180097afc
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180f69c90]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180097af5
mov edx, esi
mov ecx, ebx
call fcn.180097ca0
mov edi, eax
test eax, eax
jne 0x180097afc
mov r9d, dword [0x180f69c9c]
inc ebx
cmp ebx, r9d
jb 0x180097ac0
cmp qword [rsp + 0x20], 0
je 0x180097b6b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180097b57
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 0x180097b48
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 0x180097b20
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180f67bc8]
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 0x180097ca0
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 [0x180f69c90]
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 0x180097d04
mov eax, 0xa
jmp 0x180097d97
test esi, esi
je 0x180097d26
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 0x180097d49
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180097d49
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180097d42
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180097d49
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 0x180097db0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180115a80]
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 0x180097efc
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180097ef3
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x180097eaa
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180097eaa
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180097eaa
mov rdx, qword [rdi]
test rdx, rdx
jne 0x180097e6b
mov dword [rdi + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x180f67bc8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x180097ed2
lea rbx, [rdi + 0xc]
jmp 0x180097e9f
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x180097e9f
add eax, eax
mov r8, rdx
mov r9d, eax
xor edx, edx
mov dword [rdi + 8], eax
mov rcx, qword [0x180f67bc8]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180097ed2
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 0x180097e11
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180097eee
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x180097eee
mov rcx, qword [0x180f67bc8]
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.1800bb0c0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180097f20
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.180097db0
test eax, eax
jne 0x180097f67
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x180097fde
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x180097fc6
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 0x180097fba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180098870
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180097f80
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 0x180098000
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov ebp, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x180f67bc0], edi
je 0x180098051
nop
cmp rbx, 0x20
jae 0x18009803a
xor ecx, ecx
jmp 0x18009803c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180f67bc0], edi
jne 0x180098030
cmp qword [0x180f67bc8], rbp
je 0x18009817d
mov r8d, dword [0x180f69c9c]
mov ebx, r15d
test r8d, r8d
je 0x180098182
mov rdx, qword [0x180f69c90]
add rdx, 0x20
nop dword [rax]
movzx ecx, byte [rdx]
shr cl, 1
xor cl, byte [rdx]
test cl, 2
jne 0x18009809c
inc ebx
add rdx, 0x38
cmp ebx, r8d
jb 0x180098080
jmp 0x180098182
cmp ebx, 0xffffffff
je 0x180098182
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 2
call fcn.180097f20
mov ebp, eax
test eax, eax
jne 0x180098182
mov r8d, dword [0x180f69c9c]
cmp ebx, r8d
jae 0x180098114
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180f69c90]
movzx r9d, byte [rdx + rcx + 0x20]
movzx ecx, r9b
shr cl, 1
xor cl, r9b
test cl, 2
je 0x18009810d
mov edx, r9d
mov ecx, ebx
shr edx, 2
and edx, edi
call fcn.180097ca0
mov ebp, eax
test eax, eax
jne 0x180098114
mov r8d, dword [0x180f69c9c]
inc ebx
cmp ebx, r8d
jb 0x1800980d0
cmp qword [rsp + 0x20], r15
je 0x180098182
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180098167
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rsi
mov esi, eax
nop
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 0x180098158
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 0x180098130
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180f67bc8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180098182
mov ebp, 2
xchg dword [0x180f67bc0], r15d
mov rbx, qword [rsp + 0x48]
mov eax, ebp
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret