joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004a9b0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180085040]
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 0x18004a9ff
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180086dd0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004aa3d
cmp rsi, r14
jb 0x18004aa35
cmp rsi, r15
jae 0x18004aa35
cmp qword [rsi + 8], 0
jne 0x18004ac07
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18004aa20
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 0x18004aad2
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 0x18004aac9
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 0x18004aac9
cmp dword [rsp + 0x40], 0x10000
je 0x18004ab4b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18004aac9
sub rbx, rbp
cmp rbx, r14
jae 0x18004aa90
test rsi, rsi
jne 0x18004abb0
cmp rdi, r15
ja 0x18004abef
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 0x18004abef
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004abef
cmp dword [rsp + 0x40], 0x10000
je 0x18004ab81
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 0x18004ab02
jmp 0x18004abef
test rbx, rbx
je 0x18004aac9
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 0x18004abb0
cmp rbx, r14
jae 0x18004aa70
jmp 0x18004aad2
test rdi, rdi
je 0x18004abef
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 0x18004abb0
cmp rdi, r15
jbe 0x18004aae0
jmp 0x18004abef
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 0x18004abc0
mov rax, qword [0x180086dd0]
mov qword [rsi], rax
mov qword [0x180086dd0], 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.18004fb80
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x18004b600
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 [0x180085040]
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 0x18004b72b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18004b722
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18004b704
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18004b704
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18004b704
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18004b6c2
mov rcx, qword [0x180086bb8]
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 0x18004b722
jmp 0x18004b6f7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18004b6f7
mov rcx, qword [0x180086bb8]
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 0x18004b722
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 0x18004b670
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18004b783
cmp dword [rbx + 0xc], esi
jbe 0x18004b783
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 0x18004b77c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18004b450
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18004b740
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18004fb80
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 0x18004b7b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180086dc0]
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 0x18004b823
mov eax, 0xa
jmp 0x18004b8b6
test esi, esi
je 0x18004b845
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 0x18004b868
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004b868
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18004b861
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004b868
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
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 rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004fb80
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18004b8e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x180086dcc]
mov ebx, edi
test ecx, ecx
je 0x18004ba1b
mov rax, qword [0x180086dc0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18004b938
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004b910
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18004ba1b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18004b600
mov r8d, dword [0x180086dcc]
cmp ebx, r8d
jae 0x18004b9a8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180086dc0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18004b9a1
mov edx, esi
mov ecx, ebx
call fcn.18004b7b0
mov edi, eax
test eax, eax
jne 0x18004b9a8
mov r8d, dword [0x180086dcc]
inc ebx
cmp ebx, r8d
jb 0x18004b970
cmp qword [rsp + 0x20], 0
je 0x18004ba1b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18004ba07
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
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 0x18004b9f8
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 0x18004b9d0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180086bb8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18004bd20
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov r14d, r15d
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180086bb0], esi
je 0x18004bd71
cmp rbx, 0x20
jae 0x18004bd5a
xor ecx, ecx
jmp 0x18004bd5c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180086bb0], esi
jne 0x18004bd50
cmp qword [0x180086bb8], r14
mov qword [rsp + 0x58], r13
je 0x18004bf06
mov ecx, dword [0x180086dcc]
mov ebx, r15d
test ecx, ecx
je 0x18004bdaf
mov rdx, qword [0x180086dc0]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x18004bdba
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004bda0
mov r14d, 4
jmp 0x18004bf0c
cmp ebx, 0xffffffff
je 0x18004bdaf
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18004be6b
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004b600
xor edx, edx
mov ecx, ebx
call fcn.18004b7b0
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x18004be5b
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x18004be47
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, ecx
nop word [rax + rax]
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 0x18004be38
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 0x18004be10
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180086bb8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x18004bf0c
mov rdx, qword [0x180086dc0]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.18004ac30
mov edx, dword [0x180086dcc]
dec edx
cmp ebx, edx
jae 0x18004beba
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x180086dc0]
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 [0x180086dc8]
mov eax, ecx
mov dword [0x180086dcc], edx
shr eax, 1
cmp eax, 0x20
jb 0x18004bf0c
cmp eax, edx
jb 0x18004bf0c
mov r8, qword [0x180086dc0]
mov eax, ecx
mov rcx, qword [0x180086bb8]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18004bf0c
shr dword [0x180086dc8], 1
mov qword [0x180086dc0], rax
jmp 0x18004bf0c
mov r14d, 2
xchg dword [0x180086bb0], r15d
mov r13, qword [rsp + 0x58]
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x18004bf30
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 [0x180086bb0], ebp
je 0x18004bf87
cmp rbx, 0x20
jae 0x18004bf70
xor ecx, ecx
jmp 0x18004bf72
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180086bb0], ebp
jne 0x18004bf66
cmp qword [0x180086bb8], r15
je 0x18004c081
test rdi, rdi
jne 0x18004bfa7
mov ecx, esi
call fcn.18004b8e0
mov ebp, eax
jmp 0x18004c086
mov ecx, dword [0x180086dcc]
mov ebx, r15d
test ecx, ecx
je 0x18004bfcf
mov r8, qword [0x180086dc0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x18004bfd9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004bfc0
mov ebp, 4
jmp 0x18004c086
cmp ebx, 0xffffffff
je 0x18004bfcf
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18004c078
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004b600
mov edx, esi
mov ecx, ebx
call fcn.18004b7b0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x18004c086
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18004c062
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 0x18004c058
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 0x18004c030
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180086bb8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18004c086
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x18004c086
mov ebp, 2
xchg dword [0x180086bb0], 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 0x18004da70
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, rcx
mov qword [rsp + 0x20], rcx
lea rax, vtable.utility::ThreadSuspender.0
mov qword [rcx], rax
xor edi, edi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
lea rcx, [0x180086c10]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18004dad2
lea ecx, [rdi + 5]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x180086c5c], 0x7fffffff
jne 0x18004daf4
mov dword [0x180086c5c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rax, qword [r15 + 0x10]
cmp qword [r15 + 8], rax
jne 0x18004dbcb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
mov edx, eax
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18004dbcb
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2c], xmm0
mov qword [rsp + 0x3c], rdi
mov dword [rsp + 0x28], 0x1c
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18004dbc1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r14d, eax
cmp dword [rsp + 0x34], ebp
jne 0x18004dbaf
mov r8d, dword [rsp + 0x30]
cmp r8d, r14d
je 0x18004dbaf
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004dbaf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rdx, qword [r15 + 0x10]
cmp rdx, qword [r15 + 0x18]
je 0x18004db98
mov ecx, dword [rsp + 0x30]
mov dword [rdx], ecx
add qword [r15 + 0x10], 4
jmp 0x18004dba6
lea r8, [rsp + 0x30]
lea rcx, [r15 + 8]
call fcn.18004ddc0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18004db55
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, r15
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18004fb80
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x18004dcd0
Capabilities:
Resume thread

Disassembly:
push rbp
sub rsp, 0x20
mov qword [rsp + 0x30], rbx
mov rbp, rcx
mov rbx, qword [rcx + 8]
mov qword [rsp + 0x38], rsi
mov rsi, qword [rcx + 0x10]
cmp rbx, rsi
je 0x18004dd36
mov qword [rsp + 0x40], rdi
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004dd28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
cmp rbx, rsi
jne 0x18004dd00
mov rdi, qword [rsp + 0x40]
mov rax, qword [rbp + 8]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp rax, qword [rbp + 0x10]
je 0x18004dd4e
mov qword [rbp + 0x10], rax
add rsp, 0x20
pop rbp
ret
Function at 0x18004e550
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
lea rax, vtable.WindowFilter.0
mov qword [rcx], rax
add rcx, 8
mov dword [rcx], ebp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rbp
mov edx, 0x102
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
lea rcx, [rbx + 0x58]
call fcn.18004eca0
nop
mov qword [rbx + 0x98], rbp
lea rcx, [rbx + 0xa0]
call fcn.18004eca0
nop
lea rcx, [rbx + 0xe0]
call fcn.18004eca0
nop
mov qword [rbx + 0x120], rbp
lea ecx, [rbp + 0x18]
call fcn.18004fba0
mov rsi, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
xor eax, eax
mov qword [rsi + 0x10], rax
movups xmmword [rsi], xmm0
lea ecx, [rbp + 0x20]
call fcn.18004fba0
mov rdi, rax
mov dword [rax], 1
mov dword [rax + 4], 2
xor eax, eax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rbp
mov dword [rdi + 0x18], ebp
mov qword [rsi + 0x10], rdi
test rdi, rdi
je 0x18004e633
lock inc dword [rdi]
mov qword [rsp + 0x30], rdi
mov ecx, 0x10
call fcn.18004fba0
mov qword [rsp + 0x30], rbp
mov qword [rax], rdi
mov qword [rax + 8], rbx
mov qword [rsp + 0x48], rax
lea rdi, [rsi + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x18004f710]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x18004e6bb
mov rdx, qword [rbx + 0x98]
mov qword [rbx + 0x98], rsi
test rdx, rdx
je 0x18004e695
call fcn.18004ee40
nop
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18004fb80
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov dword [rdi], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x18004f4e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x18004f515
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1800037d0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x18004f684
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x18004f5fc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18004f673
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18004f639
mov r10, qword [rdx]
cmp r10, rax
je 0x18004f633
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 0x18004f673
cmp r9, rdx
je 0x18004f64f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18004f695
cmp r9, rdx
jne 0x18004f640
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, rdi
jne 0x18004f580
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
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 0x18004f673
Function at 0x140804d68
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140804eef
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140804d99
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140804d7f
add dl, dl
jne 0x140804da6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140804e06
xor eax, eax
add dl, dl
jne 0x140804db5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140804ebd
add dl, dl
jne 0x140804dc6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140804dd3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140804de0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140804ded
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140804dfa
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140804d8e
mov eax, 1
add dl, dl
jne 0x140804e16
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140804e23
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140804e0b
sub eax, ebx
mov ebx, 1
jne 0x140804e5c
mov ecx, 1
add dl, dl
jne 0x140804e3e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140804e4b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140804e33
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140804d8e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140804e78
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140804e85
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140804e6d
cmp eax, 0x7d00
jae 0x140804eab
cmp eax, 0x500
jb 0x140804ea6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140804d8e
cmp eax, 0x7f
ja 0x140804eae
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140804d8e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140804ee2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140804d8e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20