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

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1801bc380]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x1801bc3a8]
js 0x1800c4f64
cvtsi2ss xmm0, rcx
jmp 0x1800c4f79
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1801bc370]
call fcn.1801208d8
movss xmm1, dword [0x1801a8d04]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1800c4fab
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800c4fab
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1800c4fdd
cmp rbx, 0x200
jae 0x1800c4fda
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1800c4fdd
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1800c5030
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800c51de
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1801bc378]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801bc388]
lea rdx, [rdi + rdi]
call fcn.1800a71f0
mov rax, qword [0x1801bc378]
lea r9, [rdi - 1]
mov qword [0x1801bc3a0], r9
mov qword [0x1801bc3a8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800c51d3
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
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
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1801bc388]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800c511f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800c5194
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800c515c
mov r10, qword [rdx]
cmp r10, rax
je 0x1800c5156
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 0x1800c5194
cmp r9, rdx
je 0x1800c5170
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800c51a8
cmp r9, rdx
jne 0x1800c5161
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
je 0x1800c51ce
mov r9, qword [0x1801bc3a0]
jmp 0x1800c50d0
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 0x1800c5194
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800fa4e8
int3
Function at 0x1800c7bb0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800c7d8d
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1801cafe8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801caff8]
lea rdx, [rdi + rdi]
call fcn.1800a71f0
mov rax, qword [0x1801cafe8]
lea r9, [rdi - 1]
mov qword [0x1801cb010], r9
mov qword [0x1801cb018], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800c7d82
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
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, r9
shl r11, 4
add r11, qword [0x1801caff8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800c7ccb
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800c7d43
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1800c7d08
mov r10, qword [rdx]
cmp r10, rax
je 0x1800c7d02
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 0x1800c7d43
cmp r9, rdx
je 0x1800c7d1f
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1800c7d57
cmp r9, rdx
jne 0x1800c7d10
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
je 0x1800c7d7d
mov r9, qword [0x1801cb010]
jmp 0x1800c7c50
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 0x1800c7d43
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800fa4e8
int3
Function at 0x1800efe10
Capabilities:
Hash data using fnv

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, 0x30
mov r12, r8
mov rsi, rdx
movzx r15d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
movzx eax, byte [r8 + 1]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 2]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 3]
xor r15, rax
imul r15, rcx
mov rcx, qword [0x1801bc360]
and rcx, r15
add rcx, rcx
mov rax, qword [0x1801bc348]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [0x1801bc338]
cmp rbx, r14
jne 0x1800efea4
mov rbx, r14
mov rbp, r14
jmp 0x1800efeed
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x1800efebe
cmp rbx, rcx
je 0x1800efee7
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1800efeb0
mov qword [rdx], rbx
mov byte [rdx + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [0x1801bc340], rax
je 0x1800f0081
lea rax, [0x1801bc338]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.1800fbcfc
mov rdi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r12]
movups xmmword [rax + 0x10], xmm0
mov rdx, qword [0x1801bc340]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800eff4e
cvtsi2ss xmm0, rcx
jmp 0x1800eff63
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1801bc368]
xorps xmm1, xmm1
test rcx, rcx
js 0x1800eff79
cvtsi2ss xmm1, rcx
jmp 0x1800eff8e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1801bc330]
jbe 0x1800f000b
lea rcx, [0x1801bc330]
call fcn.1800bc020
mov rcx, qword [0x1801bc360]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x1801bc348]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1801bc338]
cmp rax, rbx
jne 0x1800effd7
mov qword [rsp + 0x28], 0
jmp 0x1800efff7
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x1800efff4
mov rbx, rax
cmp rax, rdx
je 0x1800f004e
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1800effe3
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov rdx, qword [0x1801bc340]
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x1801bc340], rdx
mov qword [rdi], r14
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x1801bc348]
mov rax, qword [0x1801bc360]
and rax, r15
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x1801bc338]
jne 0x1800f005e
mov qword [rcx + rax*8], rdi
jmp 0x1800f0070
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x1800efffc
cmp rdx, rbp
jne 0x1800f0069
mov qword [rcx + rax*8], rdi
jmp 0x1800f0075
cmp qword [rcx + rax*8 + 8], r8
jne 0x1800f0075
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x1800efec5
lea rcx, str.unordered_map_set_too_long
call fcn.1800fa4e8
int3
Function at 0x1800f0660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
sub rsp, 0x40
mov r9, qword [rdx]
mov rsi, rcx
mov r10, qword [rdx + 8]
movabs r8, 0xcbf29ce484222325
add r10, r9
cmp r9, r10
je 0x1800f06a3
movabs rcx, 0x100000001b3
nop dword [rax]
movsx rax, byte [r9]
inc r9
imul r8, rcx
xor r8, rax
cmp r9, r10
jne 0x1800f0690
movups xmm0, xmmword [rdx]
mov qword [rsi + 0x40], r8
lea rcx, [rsp + 0x20]
lea r8, [rsi + 0x20]
mov rdx, rsi
movaps xmmword [rsp + 0x20], xmm0
call fcn.1800f04c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp qword [rsi + 0x68], rax
jne 0x1800f083a
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x38], rdi
call fcn.1800f0430
mov rbx, qword [rax]
mov rdi, rbx
mov rax, qword [rbx + 8]
mov rcx, rax
cmp byte [rax + 0x19], 0
jne 0x1800f0728
mov r8, qword [rsi + 0x40]
nop dword [rax + rax]
mov rdx, qword [rcx + 0x20]
cmp rdx, r8
jae 0x1800f070f
mov rcx, qword [rcx + 0x10]
jmp 0x1800f0722
cmp byte [rdi + 0x19], 0
je 0x1800f071c
cmp r8, rdx
cmovb rdi, rcx
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1800f0700
cmp byte [rdi + 0x19], 0
jne 0x1800f0731
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
jne 0x1800f0758
mov rcx, qword [rsi + 0x40]
nop dword [rax + rax]
cmp rcx, qword [rax + 0x20]
jae 0x1800f074e
mov rdi, rax
mov rax, qword [rax]
jmp 0x1800f0752
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x1800f0740
cmp rbx, rdi
je 0x1800f0830
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x30], r14
movabs r14, 0xfffffffec0000000
nop word [rax + rax]
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + r14]
cmp rax, 0x6000000
ja 0x1800f0797
add rcx, qword [0x1801c0180]
mov rdx, qword [rsi + 0x50]
mov qword [rsp + 0x50], rcx
cmp rdx, qword [rsi + 0x58]
je 0x1800f07b0
mov qword [rdx], rcx
add qword [rsi + 0x50], 8
jmp 0x1800f07be
lea r8, [rsp + 0x50]
lea rcx, [rsi + 0x48]
call fcn.1800d5c90
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1800f07ea
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800f07e5
cmp rbx, qword [rax + 0x10]
jne 0x1800f07e5
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800f07d2
mov rbx, rax
jmp 0x1800f080f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x1800f080f
nop word [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1800f0800
cmp rbx, rdi
jne 0x1800f0780
mov rax, qword [rsi + 0x50]
mov r14, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
cmp qword [rsi + 0x48], rax
je 0x1800f0830
mov byte [rsi + 0x60], 1
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
Function at 0x1800f4ac0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rax, qword gs:[0x58]
lea rbp, [0x1801cb530]
mov esi, ecx
mov ebx, edx
mov ecx, dword [0x1801bdac4]
mov edx, 0x10
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801cb520], eax
jle 0x1800f4b6a
lea rcx, [0x1801cb520]
call fcn.1800fc220
cmp dword [0x1801cb520], 0xffffffff
jne 0x1800f4b6a
mov r8d, 0x13371231
mov dword [0x1801cc8b4], 0xffffffff
mov dword [0x1801cb534], r8d
mov edx, 1
nop
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, edx
mov dword [rbp + rdx*4 + 4], r8d
inc rdx
cmp rdx, 0x270
jb 0x1800f4b30
lea rcx, [0x1801cb520]
mov dword [0x1801cb530], 0x270
call fcn.1800fc1b4
btc esi, 0x1f
btc ebx, 0x1f
sub ebx, esi
mov rcx, rbp
cmp ebx, 0xffffffff
jne 0x1800f4b85
call fcn.1800f50a0
mov ecx, eax
jmp 0x1800f4bcb
mov qword [rsp + 0x30], rdi
inc ebx
call fcn.1800f50a0
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x1800f4bc2
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1800f4bc2
nop dword [rax + rax]
mov rcx, rbp
call fcn.1800f50a0
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1800f4bb0
mov rdi, qword [rsp + 0x30]
shr rcx, 0x20
mov rbx, qword [rsp + 0x38]
lea eax, [rsi + rcx]
mov rbp, qword [rsp + 0x40]
xor eax, 0x80000000
add rsp, 0x20
pop rsi
ret

Function at 0x1800f4fc0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1801bb0c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov eax, dword [0x1801bc1f4]
cmp eax, 0xffffffff
jne 0x1800f5068
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x200
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test eax, eax
je 0x1800f5062
mov ecx, edi
call fcn.1800fc454
mov r9, rax
lea rcx, [rsp + 0x30]
mov r8d, edi
xor edx, edx
mov rbx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov rcx, rbx
test eax, eax
je 0x1800f505d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x1801a8b98]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x1800f5089
mov rcx, qword [rsp + 0x20]
call fcn.1800fbcc0
mov eax, dword [0x1801bc1f4]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800fbca0
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x16]
mov dword [0x1801bc1f4], eax
jmp 0x1800f5068
Function at 0x1800f50a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1800f5101
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1800f50c0
mov ecx, dword [r9]
jmp 0x1800f51eb
cmp ecx, 0x4e0
jb 0x1800f51eb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800f5120
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800f5170
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1800f82e0
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 [0x1801bb0c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov r14d, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
xor edx, edx
mov ecx, 4
mov ebp, r8d
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800f849a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800f8428
mov edi, 1
cmp dword [rsp + 0x20], 0x10
jb 0x1800f83e2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800f83e2
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800f83e2
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800f83a4
mov rcx, qword [0x1801c0188]
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 0x1800f840b
jmp 0x1800f83d5
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800f83d5
mov rcx, qword [0x1801c0188]
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 0x1800f840b
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, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800f8352
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800f8428
mov r8, qword [rbx]
mov edi, r15d
test r8, r8
je 0x1800f8428
mov rcx, qword [0x1801c0188]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1800f849a
cmp qword [rbx], r15
je 0x1800f8495
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x1800f8495
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800f848e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1800f8130
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800f8450
mov eax, r15d
jmp 0x1800f849f
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800fbca0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800f84c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x38]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x1801cc8f0]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800f852c
mov eax, 0xa
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
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 0x1800f8548
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800f8590
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov edx, dword [0x1801cc8fc]
xor ebx, ebx
test edx, edx
je 0x1800f85bf
mov rcx, qword [0x1801cc8f0]
add rcx, 0x20
nop dword [rax]
test byte [rcx], 2
je 0x1800f85c7
inc ebx
add rcx, 0x38
cmp ebx, edx
jb 0x1800f85b0
xor eax, eax
add rsp, 0x30
pop rbx
ret
cmp ebx, 0xffffffff
je 0x1800f85bf
mov edx, 0xffffffff
mov qword [rsp + 0x50], rdi
mov r8d, 1
lea rcx, [rsp + 0x20]
call fcn.1800f82e0
mov edi, eax
test eax, eax
jne 0x1800f86a4
mov eax, dword [0x1801cc8fc]
cmp ebx, eax
jae 0x1800f862d
nop word [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1801cc8f0]
test byte [rdx + rcx + 0x20], 2
jne 0x1800f8627
mov ecx, ebx
call fcn.1800f84c0
mov edi, eax
test eax, eax
jne 0x1800f862d
mov eax, dword [0x1801cc8fc]
inc ebx
cmp ebx, eax
jb 0x1800f8600
cmp qword [rsp + 0x20], 0
je 0x1800f86a2
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800f868e
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800f867a
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 0x1800f8650
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801c0188]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
Function at 0x1800f89a0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x1801c0190], esi
je 0x1800f89f1
nop
cmp rbx, 0x20
jae 0x1800f89da
xor ecx, ecx
jmp 0x1800f89dc
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801c0190], esi
jne 0x1800f89d0
cmp qword [0x1801c0188], r15
je 0x1800f8af6
test rdi, rdi
jne 0x1800f8a0f
call fcn.1800f8590
mov esi, eax
jmp 0x1800f8afb
mov ecx, dword [0x1801cc8fc]
mov ebx, r15d
test ecx, ecx
je 0x1800f8a35
mov r8, qword [0x1801cc8f0]
mov rax, r8
cmp rdi, qword [rax]
je 0x1800f8a3f
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800f8a26
mov esi, 4
jmp 0x1800f8afb
cmp ebx, 0xffffffff
je 0x1800f8a35
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x1800f8aef
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800f82e0
mov esi, eax
test eax, eax
jne 0x1800f8afb
mov ecx, ebx
call fcn.1800f84c0
mov esi, eax
cmp qword [rsp + 0x20], r15
je 0x1800f8afb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800f8ad9
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800f8aca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800f8aa0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801c0188]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800f8afb
mov esi, 5
jmp 0x1800f8afb
mov esi, 2
xchg dword [0x1801c0190], r15d
mov rbx, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret