joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180056750
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1801f8780]
mov edi, ecx
cmp byte [rbx + 0x4d4d], 0
jne 0x1800567b1
cmp byte [rbx + 0x4d4e], 0
jne 0x1800567b1
movsx r9d, word [rbx + 0x5eb8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180045270
test dil, 2
je 0x1800568df
jmp 0x18005683a
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 [0x1800f5124]
mulss xmm1, dword [0x1800f5110]
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 [0x1800f5064]
or dword [rbx + 0x4a00], 0x41
movss dword [rbx + 0x4a60], xmm0
call fcn.180045270
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180056890
lea r11, [0x1800e9e60]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180056873
cmp byte [r8], r9b
jne 0x180056873
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 0x180056860
not ecx
call fcn.18004c840
test rax, rax
je 0x1800568df
cmp byte [rax + 0xbe], 0
je 0x1800568df
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.180045270
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.18004f470
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180095810
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18005c340
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6010], 0
lea rbx, [rcx + 0x6018]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18005c3e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18005c39a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18005ea10
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180046110
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6020]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801f8790]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18005c3ef
mov rcx, rbx
call fcn.180046110
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18005c710
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1801f8780]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x18005c7ef
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18005c7e8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.1800456f0
mov rsi, rax
test rax, rax
je 0x18005c7e8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x18005c774
mov rcx, rax
call fcn.18005c940
mov r8, qword [0x1801f8780]
test r8, r8
je 0x18005c7df
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18005c7d4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18005c87e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x18005c87e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x18005c871
mov rax, qword [0x1801f8780]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.18005cba0
lea rdx, [0x1800f4188]
mov rcx, rdi
mov rsi, rax
call fcn.180045540
mov rdi, rax
test rax, rax
je 0x18005c878
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x18005c878
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18005c8a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1801f8780]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18005c903
mov qword [rsp], rbx
lea rbx, [0x1800e9e60]
nop dword [rax]
cmp r9b, 0x23
jne 0x18005c8e3
cmp byte [r8], r9b
jne 0x18005c8e3
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 0x18005c8d0
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 0x18005c92f
cmp dword [r8 + 8], eax
je 0x18005c936
add r8, 0x48
cmp r8, rcx
jne 0x18005c920
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180071420
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1801f8780]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800715de
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800715de
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.1800490f0
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x1800714aa
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x1800714ad
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov rax, qword [0x1801f8780]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x1800714f7
mov rsi, qword [rax + 0x90]
jmp 0x1800714fa
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x180071525
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1801f8780]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18007159e
inc rbx
cmp rbx, 5
jl 0x180071580
jmp 0x1800715ca
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x1800715e0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180095810
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x180086210
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180106040]
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]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18008625f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1801f9290]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18008629d
cmp rsi, r14
jb 0x180086295
cmp rsi, r15
jae 0x180086295
cmp qword [rsi + 8], 0
jne 0x180086467
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180086280
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180086332
nop dword [rax]
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 0x180086329
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 0x180086329
cmp dword [rsp + 0x40], 0x10000
je 0x1800863ab
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180086329
sub rbx, rbp
cmp rbx, r14
jae 0x1800862f0
test rsi, rsi
jne 0x180086410
cmp rdi, r15
ja 0x18008644f
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 0x18008644f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18008644f
cmp dword [rsp + 0x40], 0x10000
je 0x1800863e1
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 0x180086362
jmp 0x18008644f
test rbx, rbx
je 0x180086329
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 0x180086410
cmp rbx, r14
jae 0x1800862d0
jmp 0x180086332
test rdi, rdi
je 0x18008644f
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 0x180086410
cmp rdi, r15
jbe 0x180086340
jmp 0x18008644f
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 0x180086420
mov rax, qword [0x1801f9290]
mov qword [rsi], rax
mov qword [0x1801f9290], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180095810
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180086ec0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180086feb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180086fe2
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180086fc4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180086fc4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180086fc4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180086f82
mov rcx, qword [0x1801f87a8]
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 0x180086fe2
jmp 0x180086fb7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180086fb7
mov rcx, qword [0x1801f87a8]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180086fe2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
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 0x180086f30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180087043
cmp dword [rbx + 0xc], esi
jbe 0x180087043
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18008703c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180086d10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180087000
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180095810
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180087070
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x1801f9280]
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 0x1800870d9
mov eax, 0xa
jmp 0x180087126
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 0x1800870f5
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
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
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180095810
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180087150
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x1801f928c]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x180087260
mov rcx, qword [0x1801f9280]
add rcx, 0x20
test byte [rcx], 2
je 0x180087193
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x180087177
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180087260
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.180086ec0
mov edx, dword [0x1801f928c]
cmp ebx, edx
jae 0x1800871ed
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1801f9280]
test byte [rcx + rax + 0x20], 2
jne 0x1800871e7
mov ecx, ebx
call fcn.180087070
mov edi, eax
test eax, eax
jne 0x1800871ed
mov edx, dword [0x1801f928c]
inc ebx
cmp ebx, edx
jb 0x1800871c0
cmp qword [rsp + 0x20], 0
je 0x180087260
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18008724c
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
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180087238
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 0x180087210
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801f87a8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180087500
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 rdi, rcx
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x1801f87a0], esi
je 0x180087555
cmp rbx, 0x20
jae 0x18008753e
xor ecx, ecx
jmp 0x180087540
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801f87a0], esi
jne 0x180087534
cmp qword [0x1801f87a8], r15
je 0x18008763f
test rdi, rdi
jne 0x180087573
call fcn.180087150
mov ebp, eax
jmp 0x180087644
mov ecx, dword [0x1801f928c]
mov ebx, r15d
test ecx, ecx
je 0x18008759f
mov r8, qword [0x1801f9280]
mov rax, r8
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x1800875a9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180087590
mov ebp, 4
jmp 0x180087644
cmp ebx, 0xffffffff
je 0x18008759f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x180087638
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180086ec0
mov ecx, ebx
call fcn.180087070
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180087644
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180087622
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180087618
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 0x1800875f0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801f87a8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180087644
mov ebp, 5
jmp 0x180087644
mov ebp, 2
xchg dword [0x1801f87a0], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800894b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp edx, 0xffffffff
jne 0x1800894b8
xor eax, eax
ret
and edx, 0x7fff
jmp fcn.180025230

Function at 0x1800896e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
mov ecx, dword [0x1801f86c8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801f8c00], ecx
jle 0x18008981c
lea rcx, [0x1801f8c00]
call fcn.180095f3c
cmp dword [0x1801f8c00], 0xffffffff
jne 0x18008981c
movabs rax, 0x91e2d9afce9d02f0
mov qword [rsp + 0x20], rax
movabs rax, 0x3f22357ab05254a2
mov qword [rsp + 0x28], rax
movabs rax, 0xfe8f86dbabee5d9d
mov qword [rsp + 0x40], rax
movabs rax, 0x3f22357ab03e31c6
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [rsp + 0x20]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm0
mov r9, qword [0x1801f8c68]
mov r8d, 0x811c9dc5
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1800897a0
xor esi, esi
mov edx, esi
test rax, rax
je 0x1800897d8
mov ecx, esi
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [rsp + rcx + 0x20]
xor ecx, r8d
imul r8d, ecx, 0x1000193
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x1800897c0
mov eax, r8d
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0x70]
call fcn.1800260b0
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
movsxd rcx, dword [rax + 1]
add rcx, rax
add rcx, 5
cmove rcx, rsi
mov qword [0x1801f8bf8], rcx
lea rcx, [0x1801f8c00]
call fcn.180095ed0
mov rax, qword [0x1801f8bf8]
test rax, rax
je 0x180089830
mov rdx, rdi
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x18008cb30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r9
mov r14, r8
mov rsi, rdx
mov rdi, qword [rsp + 0xf0]
mov rax, qword [0x1801f8c50]
mov rcx, qword [rax + 0x50]
mov rax, qword [rcx]
mov r8, qword [rax + 8]
mov edx, 0x118
call r8
lea rbp, [rax + 0x100]
mov qword [rsp + 0x58], rbx
movabs rax, 0x469806e97412167c
mov qword [rsp + 0x60], rax
movabs rax, 0xe73790b53ee6f2af
mov qword [rsp + 0x68], rax
mov rax, qword [0x1801f8c50]
mov r10, qword [rax + 0x70]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x58]
mov r8, rdi
xor edx, edx
mov rcx, rbp
call r10
test al, al
je 0x18008cd80
mov ecx, dword [0x1801f86c8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801f9220], ecx
jle 0x18008cd42
lea rcx, [0x1801f9220]
call fcn.180095f3c
cmp dword [0x1801f9220], 0xffffffff
jne 0x18008cd42
mov rax, qword [0x1801f8c68]
movabs rcx, 0x6020072e339ba8d8
mov qword [rsp + 0x30], rcx
movabs rcx, 0xfabc89f7fa85f4b9
mov qword [rsp + 0x38], rcx
movabs rcx, 0xa160c009408cdf0b
mov qword [rsp + 0x40], rcx
movabs rdx, 0x5fc3df88061beac8
mov qword [rsp + 0x48], rdx
movabs rcx, 0x554664b41f8f7b5
mov qword [rsp + 0x70], rcx
movabs rcx, 0x9bd5fb928ee499e6
mov qword [rsp + 0x78], rcx
movabs rcx, 0xa160c009408cdf67
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdx
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [rsp + 0x40]
xorps xmm1, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x40], xmm1
lea rcx, [rax + 0x540]
mov r9d, 0x811c9dc5
lea rdx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x18008ccd0
mov r8d, ebx
test rax, rax
je 0x18008cd0a
mov rdx, rbx
nop dword [rax]
nop dword [rax + rax]
movsx edx, byte [rsp + rdx + 0x30]
xor edx, r9d
imul r9d, edx, 0x1000193
inc r8d
mov edx, r8d
cmp rdx, rax
jb 0x18008ccf0
mov eax, r9d
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
call fcn.1800260b0
mov rdx, qword [rax]
mov r10, qword [rdx + 0x18]
test r10, r10
cmove r10, rbx
mov qword [0x1801f9218], r10
lea rcx, [0x1801f9220]
call fcn.180095ed0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
mov r9, rbp
mov r8, r14
mov rdx, rsi
xor ecx, ecx
call qword [0x1801f9218]
mov rax, rsi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180095810
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
xor ecx, ecx
call sub.VCRUNTIME140.dll__CxxThrowException
int3