joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c9a0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01c9a237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1c9a0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1c9a0c7
add dl, dl
jne 0x1c9a0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1c9a14e
xor eax, eax
add dl, dl
jne 0x1c9a0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1c9a205
add dl, dl
jne 0x1c9a10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c9a11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c9a128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c9a135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1c9a142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1c9a0d6
mov eax, 1
add dl, dl
jne 0x1c9a15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c9a16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1c9a153
sub eax, ebx
mov ebx, 1
jne 0x1c9a1a4
mov ecx, 1
add dl, dl
jne 0x1c9a186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c9a193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1c9a17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1c9a0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1c9a1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c9a1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1c9a1b5
cmp eax, 0x7d00
jae 0x1c9a1f3
cmp eax, 0x500
jb 0x1c9a1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1c9a0d6
cmp eax, 0x7f
ja 0x1c9a1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1c9a0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1c9a22a
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 0x1c9a0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004000
Capabilities:
Encode data using xor

Disassembly:
fcmovbe st(0), st(3)
xor r13, r13
push rsp
pop rbx
and bx, 0xf710
mov r13b, 0x40
movabs rsi, 0x103af2677574227a
fxsave64 [rbx]
mov rdi, qword [rbx + 8]
dec r13
xor qword [rdi + r13*8 + 0x2e], rsi
test r13, r13
jne 0x140004021
xchg byte [rdx - 9], ch
xchg ecx, eax
xchg edi, eax
sbb dh, dh
adc byte [rdx + 0x22], bh
xor eax, 0x68a22624
pop rax
lock adc dword [0x1815ae132], edi
sub al, 0x6a
jmp qword [rdi]
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14034d200]
mov dword [rax], 1
mov rax, qword [0x14034d210]
mov dword [rax], 1
mov rax, qword [0x14034d220]
mov dword [rax], 1
mov rax, qword [0x14034d1a0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1402bd250
Capabilities:
Query environment variable

Disassembly:
push r14
mov eax, 0x10080
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140327a20
sub rsp, rax
xor eax, eax
xor edx, edx
xor esi, esi
mov r14d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x80], ax
mov r12, rcx
lea rbp, [rsp + 0x30]
lea r13, [rsp + 0x2e]
mov word [rsp + 0x30], dx
test dil, dil
je 0x1402bd2f9
nop dword [rax]
mov rax, r14
lea rbx, [rbp + rsi*2]
sub rax, rsi
cmp word [rbp + rsi*2], 0
je 0x1402bd2be
nop dword [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x1402bd2b0
test rax, rax
je 0x140338930
mov rcx, rbx
add rsi, 1
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r13
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx edi, byte [r12 + rsi]
test dil, dil
jne 0x1402bd298
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x1402bd328
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10080
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x1402bd340
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor eax, eax
xor esi, esi
mov r13d, 0x28
movzx edi, byte [rcx]
mov word [rsp + 0x30], ax
mov rbp, rcx
mov r14, rdx
lea r15, [rsp + 0x30]
lea r12, [rsp + 0x2e]
test dil, dil
je 0x1402bd3e1
nop word [rax + rax]
mov rax, r13
lea rbx, [r15 + rsi*2]
sub rax, rsi
cmp word [r15 + rsi*2], 0
je 0x1402bd3a6
nop word [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x1402bd398
test rax, rax
je 0x140338936
mov rcx, rbx
add rsi, 1
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r12
mov byte [rsp + 0x2e], dil
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx edi, byte [rbp + rsi]
test dil, dil
jne 0x1402bd380
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14031d540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x14036fe29], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x14031d5c8
lea rdx, [0x1403490f2]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14031d630
mov rbx, qword [0x14036fce0]
jmp 0x14031d585
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x14031d580
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14030bb60
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x14036fce0], rax
mov ebx, dword [rax]
mov qword [0x14036fce0], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x14036fce0], rdx
call fcn.14031c670
cmp eax, ebx
jne 0x14031d698
mov byte [0x14036fe29], 1
jmp 0x14031d55c
cmp byte [0x14036fe28], 0
jne 0x14031d573
mov rbx, qword [sym.imp.python311.dll_PyDict_New]
call rbx
mov qword [0x140370788], rax
call rbx
mov qword [0x140370780], rax
call rbx
mov qword [0x140370778], rax
call rbx
mov qword [0x140370770], rax
call rbx
mov qword [0x140370768], rax
call rbx
mov qword [0x140370760], rax
call rbx
mov qword [0x140370758], rax
call rbx
mov byte [0x14036fe28], 1
mov qword [0x140370750], rax
jmp 0x14031d573
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140326700
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140337e80
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140337e80
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1403273d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140370c48]
test eax, eax
je 0x14032746a
lea rax, [0x140370c20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140370c50]
mov qword [rbp - 8], rax
jmp 0x14032744e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140327442
cmp qword [rbp - 0x10], 0
je 0x140327442
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140327408
lea rax, [0x140370c20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14032746b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140327570
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140327598
mov eax, 0
jmp 0x1403275e6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1403275c1
mov eax, 0
jmp 0x1403275e6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1403275e1
mov eax, 0
jmp 0x1403275e6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1403275ec
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14032766a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140327661
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140327661
mov rax, qword [rbp - 8]
jmp 0x14032767f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140327634
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400436c0
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 [0x14009e240], rbx
je 0x14004370c
cmp rax, rbx
jne 0x1400436ff
mov ebx, 1
mov esi, ebx
jmp 0x140043711
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400436e4
mov ebx, 1
mov eax, dword [0x14009e248]
cmp eax, ebx
jne 0x140043727
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14004378c
mov eax, dword [0x14009e248]
test eax, eax
jne 0x140043786
mov dword [0x14009e248], ebx
lea r15, [0x140053f60]
lea rdi, [0x140053f48]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140043778
test eax, eax
jne 0x14004377c
cmp qword [rdi], 0
je 0x14004376d
mov rax, qword [rdi]
mov rcx, qword [0x140053f18]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14004374e
test eax, eax
je 0x14004378c
mov eax, 0xff
jmp 0x140043868
mov dword [0x14007c4b4], ebx
mov eax, dword [0x14009e248]
cmp eax, ebx
jne 0x1400437b3
lea rdx, [0x140053f40]
lea rcx, [0x140053f20]
call sub.msvcrt.dll__initterm
mov dword [0x14009e248], 2
test esi, esi
jne 0x1400437c0
xor eax, eax
xchg qword [0x14009e240], rax
cmp qword [0x14009e260], 0
je 0x1400437f4
lea rcx, [0x14009e260]
call fcn.140044300
test eax, eax
je 0x1400437f4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14009e260]
mov r9, qword [0x140053f18]
call r9
mov r8, qword [0x14007c4c8]
mov rdx, qword [0x14007c4c0]
mov ecx, dword [0x14007c4b8]
call fcn.1400012fc
mov dword [0x14007c4b0], eax
cmp dword [0x14007c4d0], 0
jne 0x140043824
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14007c4b4], 0
jne 0x140043839
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14007c4b0]
jmp 0x140043868
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 fcn.140201000
add rsp, 0x28
jmp 0x1400436c0

Function at 0x140043ea8
Capabilities:
Print debug messages

Disassembly:
jmp 0x140043eb4
push rbx
sub rsp, 0x540
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140043f31
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140043f51
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400438c0
add rsp, 0x540
pop rbx
ret
Function at 0x7ff9b9c103a0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x7ff9b9dc6200]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.7ff9b9c0fdc0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor r8d, r8d
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x88]
call qword [sym.imp.GdiPlus.dll_GdiplusStartup]
call qword [sym.imp.user32.dll_GetDesktopWindow]
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.user32.dll_GetClientRect]
test eax, eax
jne 0x7ff9b9c10413
xor eax, eax
jmp 0x7ff9b9c1050c
xor ecx, ecx
call qword [sym.imp.user32.dll_GetDC]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov qword [rsp + 0x50], rax
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.gdi32.dll_SelectObject]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.gdi32.dll_BitBlt]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.gdi32.dll_SelectObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.gdi32.dll_DeleteDC]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.user32.dll_ReleaseDC]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.7ff9b9c10200
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.gdi32.dll_DeleteObject]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.GdiPlus.dll_GdiplusShutdown]
call qword [sym.imp.combase.dll_CoUninitialize]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.7ff9b9d49770
add rsp, 0xb8
ret
Function at 0x7ff9b9c105b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbx
push rdi
sub rsp, 0x148
mov rax, qword [0x7ff9b9dc6200]
xor rax, rsp
mov qword [rsp + 0x130], rax
call qword [sym.imp.kernel32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetThreadPriority]
mov dword [rsp + 0x30], eax
call qword [sym.imp.kernel32.dll_GetCurrentThread]
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetThreadPriority]
mov ecx, 0x10
call qword [sym.imp.kernel32.dll_Sleep]
mov dword [rsp + 0x20], 0
jmp 0x7ff9b9c10612
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1388
jae 0x7ff9b9c10679
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x48], rax
xor eax, eax
xor ecx, ecx
cpuid
lea r8, [rsp + 0x90]
mov dword [r8], eax
mov dword [r8 + 4], ebx
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], edx
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x20], 0
je 0x7ff9b9c1066d
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x38], rax
jae 0x7ff9b9c10677
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
jmp 0x7ff9b9c10608
call qword [sym.imp.kernel32.dll_GetCurrentThread]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetThreadPriority]
jmp 0x7ff9ba4011d3
Function at 0x7ff9b9c27620
Capabilities:
Get token privileges

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x7ff9b9dc6200]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.advapi32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x7ff9b9c2776c
mov byte [rsp + 0x30], 0
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
lea r8, [rsp + 0x48]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.advapi32.dll_OpenProcessToken]
test eax, eax
je 0x7ff9b9c2776c
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_GetTokenInformation]
cmp dword [rsp + 0x40], 0
jbe 0x7ff9b9c2776c
mov eax, dword [rsp + 0x40]
mov ecx, eax
call fcn.7ff9b9d530e4
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
mov edx, 3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.advapi32.dll_GetTokenInformation]
test eax, eax
je 0x7ff9b9c27762
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x34], 0
jmp 0x7ff9b9c27708
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x34], eax
jae 0x7ff9b9c27762
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 0x50]
cmp dword [rcx + rax + 4], edx
jne 0x7ff9b9c27760
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 0x54]
cmp dword [rcx + rax + 8], edx
jne 0x7ff9b9c27760
mov eax, dword [rsp + 0x34]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0xc]
and eax, 3
test eax, eax
je 0x7ff9b9c27760
mov byte [rsp + 0x30], 1
jmp 0x7ff9b9c276fe
mov rcx, qword [rsp + 0x38]
call fcn.7ff9b9d530d0
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff9b9d49770
add rsp, 0x68
ret
Function at 0x7ff9b9c278c0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x7ff9b9dc6200]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x7ff9b9c278f9
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x60], 0x200
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.advapi32.dll_RegEnumValueA]
test eax, eax
jne 0x7ff9b9c279d6
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x60], eax
jbe 0x7ff9b9c279bf
cmp dword [rsp + 0x60], 0x200
jae 0x7ff9b9c279bf
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x70]
call fcn.7ff9b9c0fc90
test rax, rax
je 0x7ff9b9c279bf
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.advapi32.dll_RegDeleteValueA]
test eax, eax
jne 0x7ff9b9c279bf
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x60], 0x200
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
jmp 0x7ff9b9c2792f
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.7ff9b9d49770
add rsp, 0x288
ret