joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c9370
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14013b648], rbx
je 0x1400c93bc
cmp rax, rbx
jne 0x1400c93af
mov ebx, 1
mov esi, ebx
jmp 0x1400c93c1
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400c9394
mov ebx, 1
mov eax, dword [0x14013b650]
cmp eax, ebx
jne 0x1400c93d7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400c943c
mov eax, dword [0x14013b650]
test eax, eax
jne 0x1400c9436
mov dword [0x14013b650], ebx
lea r15, [0x1400d89b8]
lea rdi, [0x1400d89a0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400c9428
test eax, eax
jne 0x1400c942c
cmp qword [rdi], 0
je 0x1400c941d
mov rax, qword [rdi]
mov rcx, qword [case.0x1400549ae.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400c93fe
test eax, eax
je 0x1400c943c
mov eax, 0xff
jmp 0x1400c9518
mov dword [0x14012b740], ebx
mov eax, dword [0x14013b650]
cmp eax, ebx
jne 0x1400c9463
lea rdx, [0x1400d8998]
lea rcx, [0x1400d7fc8]
call sub.msvcrt.dll__initterm
mov dword [0x14013b650], 2
test esi, esi
jne 0x1400c9470
xor eax, eax
xchg qword [0x14013b648], rax
cmp qword [0x14013b668], 0
je 0x1400c94a4
lea rcx, [0x14013b668]
call fcn.1400c99a0
test eax, eax
je 0x1400c94a4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14013b668]
mov r9, qword [case.0x1400549ae.0]
call r9
mov r8, qword [0x14012b758]
mov rdx, qword [0x14012b750]
mov ecx, dword [0x14012b748]
call fcn.14000bc3c
mov dword [0x14012b73c], eax
cmp dword [0x14012b760], 0
jne 0x1400c94d4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14012b740], 0
jne 0x1400c94e9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14012b73c]
jmp 0x1400c9518
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call 0x1401d5000
add rsp, 0x28
jmp 0x1400c9370

Function at 0x1400c988c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400c98d8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c98d0
cmp dword [rcx + 0x3c], edx
jl 0x1400c98d0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400c98d0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400c98d8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000beec
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
lea rdi, [rcx + 0x218]
mov rdx, qword [rdi]
mov ecx, 1
sub ecx, dword [rdx - 8]
mov eax, dword [rdx - 0xc]
mov r14d, 0x104
sub eax, r14d
or eax, ecx
jge 0x14000bf2e
mov edx, r14d
mov rcx, rdi
call fcn.1400017ac
mov rdx, qword [rdi]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ebp, ebp
test eax, eax
je 0x14000c10c
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14000bf4d
mov eax, ebp
jmp 0x14000bf5e
movsxd rdx, dword [rcx - 0xc]
call fcn.140038528
test eax, eax
js 0x14000c121
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x14000c121
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], bp
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.14000148c
lea rbx, [rax + 0x18]
mov qword [rsp + 0x90], rbx
mov rsi, qword [rdi]
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, r14d
or eax, ecx
jge 0x14000bfb1
mov edx, r14d
mov rcx, rdi
call fcn.1400017ac
mov rsi, qword [rdi]
cmp dword [rbx - 8], 1
jle 0x14000bfcf
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x90]
call fcn.1400015b4
mov rbx, qword [rsp + 0x90]
mov r9, rsi
xor r8d, r8d
lea rdx, [0x14005c6a8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
nop
lea rdx, [rbx - 0x18]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c00a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14000c016
mov eax, ebp
jmp 0x14000c027
movsxd rdx, dword [rcx - 0xc]
call fcn.140038528
test eax, eax
js 0x14000c121
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x14000c121
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], bp
lea rcx, [rsp + 0x40]
call fcn.14001f994
nop
xor r9d, r9d
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140009b54
nop
lea r9, [rsp + 0x20]
mov r8d, 0x1001
mov rdx, qword [rdi]
lea rcx, [rsp + 0x40]
call fcn.140020010
test eax, eax
jne 0x14000c083
mov rcx, rdi
call fcn.140001534
jmp 0x14000c0cf
lea r8, [0x14005c6b0]
mov edx, 0x87
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
mov r8d, ebx
lea rcx, [rsp + 0x40]
call fcn.1400203f0
nop
lea rax, vtable.CFileException.0
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c102
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
nop
lea rcx, [rsp + 0x40]
call fcn.14001f9ec
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.140001474
int3
Function at 0x140024584
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400245eb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400245ff
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400245ff
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x14001687a.0]
jmp 0x140024604
cmp dword [rcx + 8], 0
je 0x1400245ff
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140024604
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14002d470
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x14002d4a2
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002d4a2
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140030fe0
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x14002d4b4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14002d4da
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140024584
jmp 0x14002d546
cmp byte [0x14007d238], 0
jne 0x14002d51e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002d50e
lea rdx, [0x140063430]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14007d230], rax
jmp 0x14002d515
mov rax, qword [0x14007d230]
mov byte [0x14007d238], 1
jmp 0x14002d525
mov rax, qword [0x14007d230]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x14002d53f
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x14001687a.0]
jmp 0x14002d546
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14004622c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140046058

Function at 0x14004962c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140049609
call fcn.1400383dc
mov dword [rax], 0x16
call fcn.14003828c
or eax, 0xffffffff
jmp 0x140049626
sub dword [rcx + 0x10], 1
jns 0x140049618
add rsp, 0x28
jmp fcn.14004b750
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1400495e8
Function at 0x1401b6170
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401b617d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401b618d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401b6175
lea eax, [rcx + 1]
jmp 0x1401b619b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401b61ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401b6194
sub eax, 3
jb 0x1401b61ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401b621d
sar eax, 1
movsxd rbp, eax
jb 0x1401b6204
jmp 0x1401b61dc
add ebx, ebx
jne 0x1401b61da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401b6204
inc ecx
add ebx, ebx
jne 0x1401b61ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401b6204
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401b61fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401b61ec
add ecx, 2
jmp 0x1401b6209
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401b6132
jmp 0x1401b617d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb3400
mov dl, 0x25
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401b626d
cmp rsi, rcx
jae 0x1401b6275
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401b6254
cmp al, 0x8f
ja 0x1401b6254
cmp byte [rsi - 2], 0xf
je 0x1401b625a
sub al, 0xe8
cmp al, 1
ja 0x1401b623e
cmp rsi, rcx
jae 0x1401b6275
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401b6244
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401b6275
lodsb al, byte [rsi]
jmp 0x1401b6254
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1a3000]
mov eax, dword [rdi]
or eax, eax
je 0x1401b62de
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1b78f4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401b6282
jns 0x1401b62b7
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1401b62c1
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1401b62d8
mov qword [rbx], rax
add rbx, 8
jmp 0x1401b62a2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1401b6318
cmp al, 0xef
ja 0x1401b630a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401b62ea
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401b62f9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x25f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401b636c
sub rsp, 0xffffffffffffff80
jmp 0x14002549c
Function at 0x18002c9d0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
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 0x18002cb88
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18002cb19
lea esi, [r15 + 1]
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18002cad3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18002cad3
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18002cad3
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18002ca92
mov rcx, qword [0x1802b9750]
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 0x18002cafc
jmp 0x18002cac3
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18002cac3
mov rcx, qword [0x1802b9750]
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 0x18002cafc
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
lea eax, [rcx + 1]
mov dword [rbx + 0xc], eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18002ca40
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18002cb19
mov r8, qword [rbx]
mov esi, r15d
test r8, r8
je 0x18002cb19
mov rcx, qword [0x1802b9750]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x18002cb88
cmp qword [rbx], r15
je 0x18002cb83
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x18002cb83
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18002cb7c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.18002c840
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18002cb40
mov eax, r15d
jmp 0x18002cb8d
mov eax, 9
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x18002cbb0
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 [0x1802bc470]
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 0x18002cc14
mov eax, 0xa
jmp 0x18002cca7
test esi, esi
je 0x18002cc36
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 0x18002cc59
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18002cc59
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18002cc52
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18002cc59
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 0x18002ccc0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1802bc47c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x18002cd07
mov rax, qword [0x1802bc470]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18002cd14
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x18002ccf0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x18002cd07
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.18002c9d0
mov edi, eax
test eax, eax
jne 0x18002cdfd
mov r9d, dword [0x1802bc47c]
cmp ebx, r9d
jae 0x18002cd8c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1802bc470]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x18002cd85
mov edx, esi
mov ecx, ebx
call fcn.18002cbb0
mov edi, eax
test eax, eax
jne 0x18002cd8c
mov r9d, dword [0x1802bc47c]
inc ebx
cmp ebx, r9d
jb 0x18002cd50
cmp qword [rsp + 0x20], 0
je 0x18002cdfb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18002cde7
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 0x18002cdd8
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 0x18002cdb0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1802b9750]
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 0x18002d070
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 [0x1802b974c], esi
je 0x18002d0c1
cmp rbx, 0x20
jae 0x18002d0aa
xor ecx, ecx
jmp 0x18002d0ac
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1802b974c], esi
jne 0x18002d0a0
cmp qword [0x1802b9750], r12
mov qword [rsp + 0x58], r13
je 0x18002d258
mov ecx, dword [0x1802bc47c]
mov ebx, r12d
test ecx, ecx
je 0x18002d0ff
mov rdx, qword [0x1802bc470]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x18002d10a
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18002d0f0
mov r14d, 4
jmp 0x18002d25e
cmp ebx, 0xffffffff
je 0x18002d0ff
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18002d1bd
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18002c9d0
mov r14d, eax
test eax, eax
jne 0x18002d25e
xor edx, edx
mov ecx, ebx
call fcn.18002cbb0
mov r14d, eax
cmp qword [rsp + 0x20], r12
je 0x18002d1ad
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18002d199
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 0x18002d18a
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 0x18002d162
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1802b9750]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x18002d25e
mov rdx, qword [0x1802bc470]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180044510
mov edx, dword [0x1802bc47c]
dec edx
cmp ebx, edx
jae 0x18002d20c
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x1802bc470]
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 [0x1802bc478]
mov eax, ecx
mov dword [0x1802bc47c], edx
shr eax, 1
cmp eax, 0x20
jb 0x18002d25e
cmp eax, edx
jb 0x18002d25e
mov r8, qword [0x1802bc470]
mov eax, ecx
mov rcx, qword [0x1802b9750]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18002d25e
shr dword [0x1802bc478], 1
mov qword [0x1802bc470], rax
jmp 0x18002d25e
mov r14d, 2
xchg dword [0x1802b974c], 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 0x18002d290
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 [0x1802b974c], ebp
je 0x18002d2e7
cmp rbx, 0x20
jae 0x18002d2d0
xor ecx, ecx
jmp 0x18002d2d2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1802b974c], ebp
jne 0x18002d2c6
cmp qword [0x1802b9750], r15
je 0x18002d3e1
test rdi, rdi
jne 0x18002d307
mov ecx, esi
call fcn.18002ccc0
mov edi, eax
jmp 0x18002d3e6
mov ecx, dword [0x1802bc47c]
mov ebx, r15d
test ecx, ecx
je 0x18002d32f
mov rdx, qword [0x1802bc470]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x18002d339
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18002d320
mov edi, 4
jmp 0x18002d3e6
cmp ebx, 0xffffffff
je 0x18002d32f
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18002d3d8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18002c9d0
mov edi, eax
test eax, eax
jne 0x18002d3e6
mov edx, esi
mov ecx, ebx
call fcn.18002cbb0
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x18002d3e6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18002d3c2
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 0x18002d3b8
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 0x18002d390
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1802b9750]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18002d3e6
neg esi
sbb edi, edi
add edi, 6
jmp 0x18002d3e6
mov edi, 2
xchg dword [0x1802b974c], 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 0x180035c30
Capabilities:
Hash data using fnv

Disassembly:
push rsi
sub rsp, 0x50
mov edx, 0x984415e
mov rsi, rcx
call fcn.180031b40
test al, al
je 0x180035d91
mov qword [rsp + 0x48], rbx
lea rax, [rsi - 0x10001]
mov qword [rsp + 0x40], rdi
movabs rcx, 0x7ffffffdfffd
xor edi, edi
cmp rax, rcx
ja 0x180035ce1
lea rax, [rsp + 0x30]
mov dword [rsp + 0x70], edi
lea rdx, [rsi + 0xa8]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor ecx, ecx
lea r8, [rsp + 0x70]
call qword [0x1802bc400]
mov ebx, dword [rsp + 0x70]
lea rax, [rsp + 0x38]
lea rdx, [rsi + 0x84]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
mov dword [rsp + 0x68], ebx
lea r8, [rsp + 0x78]
mov dword [rsp + 0x78], edi
xor ecx, ecx
call qword [0x1802bc400]
cmp dword [rsp + 0x78], 0xbe1d9359
jne 0x180035cf0
test ebx, ebx
jne 0x180035cf0
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x50
pop rsi
ret
mov ebx, edi
mov dword [rsp + 0x68], ebx
nop word [rax + rax]
movabs rcx, 0x100000001b3
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [rsp + 0x69]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x6a]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x6b]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1802b9b00]
and rcx, rdx
mov rdx, qword [0x1802b9ad8]
shl rcx, 4
add rcx, qword [0x1802b9ae8]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x180035d71
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x180035d6e
nop
cmp rax, rcx
je 0x180035d71
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x180035d60
mov rdi, rax
mov rbx, qword [rsp + 0x48]
test rdi, rdi
mov rax, rdx
cmovne rax, rdi
mov rdi, qword [rsp + 0x40]
cmp rax, rdx
setne al
add rsp, 0x50
pop rsi
ret
xor al, al
add rsp, 0x50
pop rsi
ret