joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7c008afb0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov r14, rcx
movzx ebp, r9b
movzx ecx, r9b
mov rdi, r8
mov rbx, rdx
call fcn.7ff7c008aee0
xorps xmm0, xmm0
mov rsi, rax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x38], rbx
xor ebx, ebx
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 0x70
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], rdi
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
test rax, rax
je 0x7ff7c008b026
mov rax, qword [rax + 8]
jmp 0x7ff7c008b029
mov rax, rbx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x20]
test bpl, bpl
mov dword [rsp + 0x24], 0x400
lea rax, [0x7ff7c0185228]
mov dword [rsp + 0x50], 1
cmove rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x7ff7c008b07d
mov rcx, qword ds:[rsp + 0x88]
test rcx, rcx
je 0x7ff7c008b094
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x7ff7c008b094
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jg 0x7ff7c008b08b
mov ebx, eax
jmp 0x7ff7c008b094
movzx ebx, ax
or ebx, 0xc0070000
test rsi, rsi
je 0x7ff7c008b0b5
lea rcx, [rsi - 0x10]
mov edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x7ff7c008b0b5
nop dword [rax]
call fcn.7ff7c00c6290
lea r11, [rsp + 0x90]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x7ff7c0099c00
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0x90
test byte [rcx + 0x140], 4
mov rsi, rcx
jne 0x7ff7c0099e3d
mov rdx, qword [0x7ff7c01d3b58]
mov qword [rax + 0x20], rbx
mov rbx, qword [0x7ff7c01d0420]
mov qword [rax - 0x18], rdi
mov qword [rax - 0x28], r15
mov rax, qword [rcx + 0x58]
mov rdi, qword [rax + 0x10]
add rbx, qword [rdi]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r15, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbx], ax
mov r8, qword [0x7ff7c01d0420]
mov rdx, qword [0x7ff7c01d0428]
mov rcx, qword [r15 + 8]
call fcn.7ff7c0125120
mov rcx, qword [0x7ff7c01d0420]
add rcx, qword [r15 + 8]
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
call fcn.7ff7c0125120
movzx eax, word [r15]
mov word [rsp + 0x30], ax
add ax, 2
cmp qword [r15], 0xfffe
mov word [rsp + 0x32], ax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x38], rax
ja 0x7ff7c0099e09
xor r8d, r8d
lea rax, [rsp + 0xb0]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
lea rcx, [r8 - 3]
call fcn.7ff7c00e0390
test eax, eax
js 0x7ff7c0099e09
lea r8, [rsp + 0x40]
mov edx, 0x20019
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rsp + 0xb0]
mov ebx, eax
test rcx, rcx
je 0x7ff7c0099d0b
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x7ff7c0099e09
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, 0x100
mov qword [rsp + 0x88], rbp
mov ebp, 0x10
mov qword [rsp + 0x78], r14
mov r14, qword [rsp + 0xa8]
mov dword [rsp + 0xa0], 0x100
lea edx, [rbp - 0xc]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov rbx, rax
nop dword [rax]
nop word [rax + rax]
mov r9d, dword ds:[rsp + 0xa0]
lea rax, [rsp + 0xa0]
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtQueryKey]
mov edi, eax
test eax, eax
jns 0x7ff7c0099dce
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop
cmp edi, 0x80000005
jne 0x7ff7c0099dee
mov r8d, dword ds:[rsp + 0xa0]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov rbx, rax
add ebp, 0xffffffff
jne 0x7ff7c0099d60
test edi, edi
js 0x7ff7c0099dee
mov rax, qword [rbx]
mov r8, rbx
mov rcx, qword [0x7ff7c01d3cd0]
xor edx, edx
mov qword [rsi + 0x1a8], rax
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x88]
lea rcx, [r15 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xb8]
cmp eax, 1
jne 0x7ff7c0099e36
call fcn.7ff7c00c6290
or dword [rsi + 0x140], 4
add rsp, 0x90
pop rsi
ret
Function at 0x7ff7c009fe90
Capabilities:
Capture screenshot

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r9, rcx
mov rdi, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, qword [0x7ff7c01d63f0]
jne 0x7ff7c009feca
mov rcx, rdx
call fcn.7ff7c00a0ce0
mov al, 1
jmp 0x7ff7c00a006f
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp rcx, qword [0x7ff7c01d6400]
jne 0x7ff7c00a0034
mov eax, dword [rdx + 0x30]
sub eax, dword [rdx + 0x28]
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x34]
sub eax, dword [rdx + 0x2c]
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x50], rbx
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rbp, rax
test rax, rax
je 0x7ff7c00a0028
mov qword ss:[rsp + 0xa8], rsi
mov rcx, rax
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rsp + 0x5c]
mov rcx, rbp
mov edx, dword [rsp + 0x58]
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rsi
mov r14, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea edx, [rbx + 1]
mov rcx, rsi
mov r15, rax
call qword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x7ff7c01d81a8], bl
nop
je 0x7ff7c009ff82
cmp dword [0x7ff7c01d8118], 1
jne 0x7ff7c009ffb6
mov edx, 0x2b2b2b
jmp 0x7ff7c009ff87
mov edx, 0xffffff
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rdx, ds:[rsp + 0x50]
mov rcx, rsi
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov eax, dword [rdi + 0x34]
mov rcx, rbp
mov r9d, dword [rdi + 0x30]
mov r8d, dword [rdi + 0x2c]
mov edx, dword [rdi + 0x28]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword ds:[rdi + 0x18]
mov rdx, rbp
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov al, 1
jmp 0x7ff7c00a0067
mov r8, qword [0x7ff7c01d6418]
mov edx, dword [r8]
test edx, edx
je 0x7ff7c00a0065
mov r8, qword [r8 + 8]
nop word [rax + rax]
mov rcx, qword [r8 + rbx*8]
mov eax, dword [rcx + 0xb0]
cmp r9, rax
je 0x7ff7c00a0085
inc ebx
cmp ebx, edx
jb 0x7ff7c00a0050
xor al, al
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x80
pop rdi
ret
mov rdx, qword ds:[rdi + 0x20]
lea r8, [rdi + 0x28]
call fcn.7ff7c00a0f20
mov al, 1
jmp 0x7ff7c00a0067
Function at 0x7ff7c00a0ce0
Capabilities:
Capture screenshot

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x70
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword ds:[rcx + 0x30]
mov rdi, rcx
sub eax, dword [rcx + 0x28]
xor r15d, r15d
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0x34]
sub eax, dword [rcx + 0x2c]
mov rcx, qword [rcx + 0x18]
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0x50], r15
call qword [sym.imp.USER32.dll_GetWindowDC]
mov rsi, rax
test rax, rax
je 0x7ff7c00a0efe
mov qword [rsp + 0x98], rbx
mov rcx, rax
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], r14
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rsp + 0x5c]
mov rcx, rsi
mov edx, dword [rsp + 0x58]
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.GDI32.dll_SelectObject]
lea edx, [r15 + 1]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x7ff7c01d81a8], r15b
je 0x7ff7c00a0db4
mov ecx, dword [0x7ff7c01d8118]
test ecx, ecx
je 0x7ff7c00a0db4
cmp ecx, 1
jne 0x7ff7c00a0de9
mov edx, 0xffffff
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 0x2b2b2b
jmp 0x7ff7c00a0dc4
xor edx, edx
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 0xffffff
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
cmp byte [0x7ff7c01d5bad], r15b
jne 0x7ff7c00a0dfb
cmp byte [0x7ff7c01d5baf], r15b
je 0x7ff7c00a0e50
cmp byte [0x7ff7c01d5bae], r15b
je 0x7ff7c00a0e34
mov rcx, qword [0x7ff7c01d64e8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r9d, 2
lea rax, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 - 1]
call qword [sym.imp.UxTheme.dll_DrawThemeBackground]
jmp 0x7ff7c00a0e50
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColorBrush]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov rdx, qword [0x7ff7c01d6438]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 0x25
mov r8d, 4
lea rdx, [0x7ff7c0186790]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [rdi + 0x34]
mov rcx, rsi
mov r9d, dword [rdi + 0x30]
mov r8d, dword [rdi + 0x2c]
mov edx, dword [rdi + 0x28]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rdi + 0x18]
mov rdx, rsi
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r14, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x70
pop r15
pop rdi
pop rsi
ret
Function at 0x7ff7c00a2960
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movsx eax, byte [0x7ff7c01d3ba8]
xor esi, esi
mov rcx, qword [0x7ff7c01d3cd0]
mov r8d, eax
shl r8, 3
lea edx, [rsi + 4]
mov qword [0x7ff7c01d65e8], rsi
mov qword [0x7ff7c01d6518], rsi
mov qword [0x7ff7c01d6638], rsi
mov qword [0x7ff7c01d6640], rsi
mov qword [0x7ff7c01d6620], rsi
mov dword [0x7ff7c01d652c], eax
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov rcx, qword [0x7ff7c01d3cd0]
lea edx, [rsi + 4]
mov qword [0x7ff7c01d6548], rax
mov eax, dword [0x7ff7c01d652c]
lea r8, [rax + rax*2]
shl r8, 4
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov rcx, qword [0x7ff7c01d3cd0]
lea edx, ds:[rsi + 4]
mov qword [0x7ff7c01d6508], rax
mov eax, dword [0x7ff7c01d652c]
lea r8, [rax + rax*2]
shl r8, 3
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov rcx, qword [0x7ff7c01d3cd0]
lea edx, [rsi + 4]
mov qword [0x7ff7c01d6608], rax
mov eax, dword [0x7ff7c01d652c]
lea ebx, [rax + rax*2]
shl ebx, 3
mov r8d, ebx
mov edi, ebx
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov ecx, dword [0x7ff7c01d652c]
xorps xmm0, xmm0
mov qword [0x7ff7c01d65f8], rax
xorps xmm1, xmm1
mov dword [0x7ff7c01d6658], esi
mov r9, rax
mov byte [0x7ff7c01d665c], sil
mov dword [0x7ff7c01d6670], 0xffffffff
movdqu xmmword [0x7ff7c01d6648], xmm0
movdqu xmmword [0x7ff7c01d6660], xmm1
test ecx, ecx
je 0x7ff7c00a2aa7
mov rax, qword [0x7ff7c01d6508]
add rax, 8
nop word [rax + rax]
mov dword [rax + 8], esi
mov qword [rax - 8], rsi
mov qword [rax], rsi
mov byte [rax + 0xc], sil
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], 0xffffffff
lea rax, [rax + 0x30]
sub rcx, 1
jne 0x7ff7c00a2a80
xor edx, edx
mov dword [0x7ff7c01d65d8], esi
xor r8d, r8d
mov dword [rsp + 0x20], ebx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtPowerInformation]
mov rbx, qword [0x7ff7c01d65f8]
test eax, eax
jns 0x7ff7c00a2ad7
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.7ff7c0123170
mov eax, dword [0x7ff7c01d652c]
mov ecx, esi
mov dword [0x7ff7c01d6528], ecx
test eax, eax
je 0x7ff7c00a2b05
lea rdx, [rbx + 4]
mov r8d, eax
cmp ecx, dword [rdx]
cmovb ecx, dword [rdx]
lea rdx, [rdx + 0x18]
sub r8, 1
jne 0x7ff7c00a2af0
mov dword [0x7ff7c01d6528], ecx
mov qword [0x7ff7c01d6628], rsi
mov qword [0x7ff7c01d6520], rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.7ff7c00a4fe0
Function at 0x7ff7c00a2dc0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x38
mov eax, dword [0x7ff7c01d652c]
xor r9d, r9d
mov rdx, qword [0x7ff7c01d6608]
mov qword [rsp + 0x40], rbx
xor ebx, ebx
lea r8d, [rax + rax*2]
shl r8d, 3
lea ecx, [rbx + 0x17]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r10d, dword [0x7ff7c01d652c]
test eax, eax
js 0x7ff7c00a2e74
xor edx, edx
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x7ff7c01d6608]
xor r8d, r8d
cmp r10d, 2
jb 0x7ff7c00a2e52
lea eax, [r10 - 2]
mov qword [rsp + 0x48], rsi
shr eax, 1
lea rcx, [rdi + 0x1c]
inc eax
mov r9d, eax
lea esi, [rax + rax]
lea r11, [rax + rax]
nop dword [rax]
mov eax, dword [rcx - 0x18]
lea rcx, [rcx + 0x30]
add rdx, rax
mov eax, dword [rcx - 0x30]
add r8, rax
sub r9, 1
jne 0x7ff7c00a2e30
cmp esi, r10d
mov rsi, qword [rsp + 0x48]
jb 0x7ff7c00a2e60
jmp 0x7ff7c00a2e68
test r10d, r10d
je 0x7ff7c00a2e68
xor r11d, r11d
nop word [rax + rax]
lea rax, [r11 + r11*2]
mov ebx, dword [rdi + rax*8 + 4]
mov rdi, qword [rsp + 0x30]
lea rax, [r8 + rdx]
add rbx, rax
mov ecx, dword [0x7ff7c01d8568]
xor edx, edx
mov r9, qword [0x7ff7c01d65f8]
mov eax, ecx
sub eax, dword [0x7ff7c01d65e8]
xor r8d, r8d
mov dword [0x7ff7c01d65ec], eax
mov dword [0x7ff7c01d65e8], ecx
mov ecx, dword [0x7ff7c01d8248]
mov eax, ecx
sub eax, dword [0x7ff7c01d6518]
mov dword [0x7ff7c01d651c], eax
mov rax, rbx
sub rax, qword [0x7ff7c01d6638]
mov qword [0x7ff7c01d6640], rax
mov dword [0x7ff7c01d6518], ecx
mov ecx, dword [0x7ff7c01d8574]
mov eax, ecx
sub eax, dword [0x7ff7c01d6620]
mov dword [0x7ff7c01d6624], eax
lea eax, [r10 + r10*2]
shl eax, 3
mov dword [0x7ff7c01d6620], ecx
lea ecx, [rdx + 0xb]
mov dword [rsp + 0x20], eax
mov qword [0x7ff7c01d6638], rbx
call qword [sym.imp.ntdll.dll_NtPowerInformation]
mov rbx, qword ss:[rsp + 0x40]
test eax, eax
jns 0x7ff7c00a2f25
mov eax, dword [0x7ff7c01d652c]
xor edx, edx
mov rcx, qword [0x7ff7c01d65f8]
lea r8, [rax + rax*2]
shl r8, 3
call fcn.7ff7c0123170
mov r8, qword [0x7ff7c01d6520]
test r8, r8
je 0x7ff7c00a2f46
mov rcx, qword [0x7ff7c01d3cd0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [0x7ff7c01d6628]
mov qword [0x7ff7c01d6520], rax
mov qword [0x7ff7c01d6628], 0
nop
call fcn.7ff7c00a4fe0
mov eax, dword [0x7ff7c01d65d8]
cmp eax, 2
jae 0x7ff7c00a2f78
inc eax
mov dword [0x7ff7c01d65d8], eax
call fcn.7ff7c00a4330
add rsp, 0x38
jmp fcn.7ff7c00a4470
Function at 0x7ff7c00a4fe0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov r8d, 0x100
mov dword [rsp + 0x30], 0x100
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x64
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
xor ebx, ebx
mov edi, eax
cmp eax, 0xc0000004
jne 0x7ff7c00a5094
nop word [rax + rax]
cmp ebx, 8
jae 0x7ff7c00a50b1
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x64
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
inc ebx
mov edi, eax
cmp eax, 0xc0000004
je 0x7ff7c00a5040
test edi, edi
js 0x7ff7c00a50b1
mov qword [0x7ff7c01d6628], rsi
mov eax, edi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff7c00bc9f0
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rbp + 0x28], rax
movups xmm0, xmmword [rdx]
mov ebx, r9d
mov rdi, r8
mov rsi, rcx
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
movups xmmword [rbp + 0x10], xmm0
ror word [rbp + 0x14], 8
lea r15d, [rbx + 0x10]
ror word [rbp + 0x16], 8
movd eax, xmm0
mov r8d, r15d
bswap eax
mov dword [rbp + 0x10], eax
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
movups xmm0, xmmword [rbp + 0x10]
mov r8d, ebx
mov rdx, rdi
mov r14, rax
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
call fcn.7ff7c0125120
movzx ebx, byte [rbp + 0x90]
xor eax, eax
mov r8d, r15d
mov rdx, r14
cmp bl, 3
jne 0x7ff7c00bcabc
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x67452301
mov dword [rsp + 0x2c], 0xefcdab89
mov dword [rsp + 0x30], 0x98badcfe
mov dword [rsp + 0x34], 0x10325476
mov qword [rsp + 0x20], rax
call fcn.7ff7c0111d30
lea rcx, [rsp + 0x20]
call fcn.7ff7c0111e30
movups xmm0, xmmword [rsp + 0x78]
jmp 0x7ff7c00bcaff
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x58], 0x67452301
mov dword [rbp - 0x54], 0xefcdab89
mov dword [rbp - 0x50], 0x98badcfe
mov dword [rbp - 0x4c], 0x10325476
mov dword [rbp - 0x48], 0xc3d2e1f0
mov qword [rbp - 0x44], rax
call fcn.7ff7c0114af0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.7ff7c0114be0
movups xmm0, xmmword [rbp + 0x10]
mov bl, 5
mov rcx, qword [0x7ff7c01d3cd0]
mov r8, r14
xor edx, edx
movups xmmword [rbp + 0x10], xmm0
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movups xmm0, xmmword [rbp + 0x10]
shl bl, 4
movups xmmword [rsi], xmm0
mov eax, dword [rsi]
bswap eax
mov dword [rsi], eax
movzx eax, word [rsi + 4]
ror ax, 8
mov word [rsi + 4], ax
movzx eax, word [rsi + 6]
ror ax, 8
mov word [rsi + 6], ax
and byte [rsi + 8], 0x3f
shr ax, 8
and al, 0xf
or al, bl
or byte [rsi + 8], 0x80
mov byte [rsi + 7], al
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x138
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x7ff7c00bdbc0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
xor r14d, r14d
lea rsi, [0x7ff7c01d6990]
test byte [0x7ff7c01d05f0], 1
lea r15, [0x7ff7c01d69d0]
movzx ebx, r8b
mov edi, edx
mov rbp, rcx
jne 0x7ff7c00bdc85
lock bts qword [0x7ff7c01d05f0], 0x1f
jae 0x7ff7c00bdc27
test byte [0x7ff7c01d05f0], 1
jne 0x7ff7c00bdc85
xor edx, edx
lea rcx, [0x7ff7c01d05f0]
call sym.ProcessHacker.exe_PhfWaitForEvent
jmp 0x7ff7c00bdc85
mov r9d, 4
mov r8, rsi
mov ecx, 0x400
lea edx, [r9 + 0xa]
call qword [sym.imp.kernel32.dll_GetLocaleInfoW]
nop
test eax, eax
jne 0x7ff7c00bdc4e
mov dword [0x7ff7c01d6990], 0x2e
mov r9d, 4
mov r8, r15
mov ecx, 0x400
lea edx, [r9 + 0xb]
call qword [sym.imp.kernel32.dll_GetLocaleInfoW]
test eax, eax
jne 0x7ff7c00bdc74
mov dword [0x7ff7c01d69d0], 0x2c
lea rcx, [0x7ff7c01d05f0]
nop dword [rax + rax]
call sym.ProcessHacker.exe_PhfSetEvent
neg bl
mov dword [rsp + 0x28], r14d
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], edi
sbb eax, eax
mov dword [rsp + 0x34], r14d
and eax, 3
mov qword [rsp + 0x40], rsi
mov r8, rbp
mov dword [rsp + 0x38], eax
xor edx, edx
mov qword [rsp + 0x48], r15
mov ecx, 0x400
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x20], r14
call qword [sym.imp.kernel32.dll_GetNumberFormatW]
mov rdx, qword [0x7ff7c01d3b58]
mov ebx, eax
add rbx, rbx
mov edi, eax
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov dword [rsp + 0x28], edi
lea r9, [rsp + 0x30]
mov r8, rbp
mov ecx, 0x400
mov rsi, rax
lea rdx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rdx
mov word [rdx + rbx], r14w
mov rdx, qword [rax + 8]
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.kernel32.dll_GetNumberFormatW]
test eax, eax
jne 0x7ff7c00bdd3a
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c00bdd36
call fcn.7ff7c00c6290
xor eax, eax
jmp 0x7ff7c00bdd4e
mov rcx, qword ds:[rsi + 8]
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rsi], rax
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x7ff7c00bdea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
sub rsp, 0x60
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edx, edx
lea r8d, [rdx + 0x22]
call qword [sym.imp.kernel32.dll_LoadLibraryExW]
mov rbp, rax
test rax, rax
je 0x7ff7c00bdfab
lea r9, [rsp + 0x28]
mov qword [rsp + 0x38], 0x10
mov r8d, 3
mov qword [rsp + 0x40], 1
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x48], 0
mov rcx, rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x7ff7c00bdfa2
mov rdx, qword [rsp + 0x28]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x7ff7c00bdfa2
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov qword [rsp + 0x78], rbx
mov ebx, dword [rsp + 0x20]
mov qword [rsp + 0x80], rsi
mov r8d, ebx
mov qword [rsp + 0x88], rdi
mov rdi, qword [rsp + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.7ff7c0125120
mov rcx, rbp
call qword [sym.imp.kernel32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x88]
mov rax, rsi
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x60
pop rbp
ret
mov rcx, rbp
call qword [sym.imp.kernel32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x60
pop rbp
nop
ret

Function at 0x7ff7c00bf540
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push rbp
sub rsp, 0x30
xor ebp, ebp
xor eax, eax
lock cmpxchg qword [0x7ff7c01d69c8], rbp
je 0x7ff7c00bf55f
lock inc dword [rax - 8]
add rsp, 0x30
pop rbp
ret
cmp qword [0x7ff7c01d69b8], rbp
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x7ff7c00bf585
movups xmm0, xmmword [0x7ff7c01d69b0]
movaps xmmword [rsp + 0x20], xmm0
jmp 0x7ff7c00bf5d4
mov ecx, 0x7ffe0030
mov qword [rsp + 0x28], 0x7ffe0030
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rsp + 0x20], rax
cmp word [rax + 0x7ffe002e], 0x5c
jne 0x7ff7c00bf5b3
add rax, 0xfffffffffffffffe
mov qword [rsp + 0x20], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov qword [0x7ff7c01d69b0], rax
lock or dword [rsp], ebp
mov qword [0x7ff7c01d69b8], 0x7ffe0030
mov rbx, qword [0x7ff7c01d0610]
mov rdi, qword [rsp + 0x20]
mov rdx, qword [0x7ff7c01d3b58]
add rbx, rdi
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdx, qword [rsp + 0x28]
mov r8, rdi
mov rsi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], bp
mov rcx, qword [rax + 8]
call fcn.7ff7c0125120
mov rcx, qword [rsi + 8]
mov r8, qword [0x7ff7c01d0610]
add rcx, rdi
mov rdx, qword [0x7ff7c01d0618]
call fcn.7ff7c0125120
mov rdi, qword [rsp + 0x50]
xor eax, eax
mov rbx, qword [rsp + 0x40]
lock cmpxchg qword [0x7ff7c01d69c8], rsi
jne 0x7ff7c00bf64b
lock inc dword [rsi - 8]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret