joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cafb0
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.1400caee0
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 0x1400cb026
mov rax, qword [rax + 8]
jmp 0x1400cb029
mov rax, rbx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x20]
test bpl, bpl
mov dword [rsp + 0x24], 0x400
lea rax, str.runas
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 0x1400cb07d
mov rcx, qword ds:[rsp + 0x88]
test rcx, rcx
je 0x1400cb094
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400cb094
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1400cb08b
mov ebx, eax
jmp 0x1400cb094
movzx ebx, ax
or ebx, 0xc0070000
test rsi, rsi
je 0x1400cb0b5
lea rcx, [rsi - 0x10]
mov edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400cb0b5
nop dword [rax]
call fcn.140106290
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 0x1400d9c00
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0x90
test byte [rcx + 0x140], 4
mov rsi, rcx
jne 0x1400d9e3d
mov rdx, qword [0x140213b58]
mov qword [rax + 0x20], rbx
mov rbx, qword [0x140210420]
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 [0x140210420]
mov rdx, qword [str.SystemCurrentControlSetServices_]
mov rcx, qword [r15 + 8]
call fcn.140165120
mov rcx, qword [0x140210420]
add rcx, qword [r15 + 8]
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
call fcn.140165120
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 0x1400d9e09
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.140120390
test eax, eax
js 0x1400d9e09
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 0x1400d9d0b
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x1400d9e09
mov rcx, qword [0x140213cd0]
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.ntdll.dll_RtlAllocateHeap]
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 0x1400d9dce
mov rcx, qword [0x140213cd0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop
cmp edi, 0x80000005
jne 0x1400d9dee
mov r8d, dword ds:[rsp + 0xa0]
mov edx, 4
mov rcx, qword [0x140213cd0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
add ebp, 0xffffffff
jne 0x1400d9d60
test edi, edi
js 0x1400d9dee
mov rax, qword [rbx]
mov r8, rbx
mov rcx, qword [0x140213cd0]
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 0x1400d9e36
call fcn.140106290
or dword [rsi + 0x140], 4
add rsp, 0x90
pop rsi
ret
Function at 0x1400dfe90
Capabilities:
Capture screenshot

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r9, rcx
mov rdi, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, qword [0x1402163f0]
jne 0x1400dfeca
mov rcx, rdx
call fcn.1400e0ce0
mov al, 1
jmp 0x1400e006f
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp rcx, qword [0x140216400]
jne 0x1400e0034
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 0x1400e0028
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 [0x1402181a8], bl
nop
je 0x1400dff82
cmp dword [0x140218118], 1
jne 0x1400dffb6
mov edx, 0x2b2b2b
jmp 0x1400dff87
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 0x1400e0067
mov r8, qword [0x140216418]
mov edx, dword [r8]
test edx, edx
je 0x1400e0065
mov r8, qword [r8 + 8]
nop word [rax + rax]
mov rcx, qword [r8 + rbx*8]
mov eax, dword [rcx + 0xb0]
cmp r9, rax
je 0x1400e0085
inc ebx
cmp ebx, edx
jb 0x1400e0050
xor al, al
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140161390
add rsp, 0x80
pop rdi
ret
mov rdx, qword ds:[rdi + 0x20]
lea r8, [rdi + 0x28]
call fcn.1400e0f20
mov al, 1
jmp 0x1400e0067
Function at 0x1400e0ce0
Capabilities:
Capture screenshot

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x70
mov rax, qword [0x14020a008]
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 0x1400e0efe
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 [0x1402181a8], r15b
je 0x1400e0db4
mov ecx, dword [0x140218118]
test ecx, ecx
je 0x1400e0db4
cmp ecx, 1
jne 0x1400e0de9
mov edx, 0xffffff
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 0x2b2b2b
jmp 0x1400e0dc4
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 [0x140215bad], r15b
jne 0x1400e0dfb
cmp byte [0x140215baf], r15b
je 0x1400e0e50
cmp byte [0x140215bae], r15b
je 0x1400e0e34
mov rcx, qword [0x1402164e8]
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 0x1400e0e50
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 [0x140216438]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 0x25
mov r8d, 4
lea rdx, str.Back
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.140161390
add rsp, 0x70
pop r15
pop rdi
pop rsi
ret
Function at 0x1400e2960
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 [0x140213ba8]
xor esi, esi
mov rcx, qword [0x140213cd0]
mov r8d, eax
shl r8, 3
lea edx, [rsi + 4]
mov qword [0x1402165e8], rsi
mov qword [0x140216518], rsi
mov qword [0x140216638], rsi
mov qword [0x140216640], rsi
mov qword [0x140216620], rsi
mov dword [0x14021652c], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [0x140213cd0]
lea edx, [rsi + 4]
mov qword [0x140216548], rax
mov eax, dword [0x14021652c]
lea r8, [rax + rax*2]
shl r8, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [0x140213cd0]
lea edx, ds:[rsi + 4]
mov qword [0x140216508], rax
mov eax, dword [0x14021652c]
lea r8, [rax + rax*2]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [0x140213cd0]
lea edx, [rsi + 4]
mov qword [0x140216608], rax
mov eax, dword [0x14021652c]
lea ebx, [rax + rax*2]
shl ebx, 3
mov r8d, ebx
mov edi, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [0x14021652c]
xorps xmm0, xmm0
mov qword [0x1402165f8], rax
xorps xmm1, xmm1
mov dword [0x140216658], esi
mov r9, rax
mov byte [0x14021665c], sil
mov dword [0x140216670], 0xffffffff
movdqu xmmword [0x140216648], xmm0
movdqu xmmword [0x140216660], xmm1
test ecx, ecx
je 0x1400e2aa7
mov rax, qword [0x140216508]
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 0x1400e2a80
xor edx, edx
mov dword [0x1402165d8], esi
xor r8d, r8d
mov dword [rsp + 0x20], ebx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtPowerInformation]
mov rbx, qword [0x1402165f8]
test eax, eax
jns 0x1400e2ad7
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.140163170
mov eax, dword [0x14021652c]
mov ecx, esi
mov dword [0x140216528], ecx
test eax, eax
je 0x1400e2b05
lea rdx, [rbx + 4]
mov r8d, eax
cmp ecx, dword [rdx]
cmovb ecx, dword [rdx]
lea rdx, [rdx + 0x18]
sub r8, 1
jne 0x1400e2af0
mov dword [0x140216528], ecx
mov qword [0x140216628], rsi
mov qword [0x140216520], rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400e4fe0
Function at 0x1400e2dc0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x38
mov eax, dword [0x14021652c]
xor r9d, r9d
mov rdx, qword [0x140216608]
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 [0x14021652c]
test eax, eax
js 0x1400e2e74
xor edx, edx
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x140216608]
xor r8d, r8d
cmp r10d, 2
jb 0x1400e2e52
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 0x1400e2e30
cmp esi, r10d
mov rsi, qword [rsp + 0x48]
jb 0x1400e2e60
jmp 0x1400e2e68
test r10d, r10d
je 0x1400e2e68
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 [0x140218568]
xor edx, edx
mov r9, qword [0x1402165f8]
mov eax, ecx
sub eax, dword [0x1402165e8]
xor r8d, r8d
mov dword [0x1402165ec], eax
mov dword [0x1402165e8], ecx
mov ecx, dword [0x140218248]
mov eax, ecx
sub eax, dword [0x140216518]
mov dword [0x14021651c], eax
mov rax, rbx
sub rax, qword [0x140216638]
mov qword [0x140216640], rax
mov dword [0x140216518], ecx
mov ecx, dword [0x140218574]
mov eax, ecx
sub eax, dword [0x140216620]
mov dword [0x140216624], eax
lea eax, [r10 + r10*2]
shl eax, 3
mov dword [0x140216620], ecx
lea ecx, [rdx + 0xb]
mov dword [rsp + 0x20], eax
mov qword [0x140216638], rbx
call qword [sym.imp.ntdll.dll_NtPowerInformation]
mov rbx, qword ss:[rsp + 0x40]
test eax, eax
jns 0x1400e2f25
mov eax, dword [0x14021652c]
xor edx, edx
mov rcx, qword [0x1402165f8]
lea r8, [rax + rax*2]
shl r8, 3
call fcn.140163170
mov r8, qword [0x140216520]
test r8, r8
je 0x1400e2f46
mov rcx, qword [0x140213cd0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [0x140216628]
mov qword [0x140216520], rax
mov qword [0x140216628], 0
nop
call fcn.1400e4fe0
mov eax, dword [0x1402165d8]
cmp eax, 2
jae 0x1400e2f78
inc eax
mov dword [0x1402165d8], eax
call fcn.1400e4330
add rsp, 0x38
jmp fcn.1400e4470
Function at 0x1400e4fe0
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 [0x140213cd0]
mov edx, 4
mov r8d, 0x100
mov dword [rsp + 0x30], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x1400e5094
nop word [rax + rax]
cmp ebx, 8
jae 0x1400e50b1
mov rcx, qword [0x140213cd0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x140213cd0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
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 0x1400e5040
test edi, edi
js 0x1400e50b1
mov qword [0x140216628], rsi
mov eax, edi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [0x140213cd0]
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 0x1400fc9f0
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 [0x14020a008]
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 [0x140213cd0]
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.ntdll.dll_RtlAllocateHeap]
movups xmm0, xmmword [rbp + 0x10]
mov r8d, ebx
mov rdx, rdi
mov r14, rax
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
call fcn.140165120
movzx ebx, byte [rbp + 0x90]
xor eax, eax
mov r8d, r15d
mov rdx, r14
cmp bl, 3
jne 0x1400fcabc
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.140151d30
lea rcx, [rsp + 0x20]
call fcn.140151e30
movups xmm0, xmmword [rsp + 0x78]
jmp 0x1400fcaff
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.140154af0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.140154be0
movups xmm0, xmmword [rbp + 0x10]
mov bl, 5
mov rcx, qword [0x140213cd0]
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.140161390
add rsp, 0x138
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400fdbc0
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, [0x140216990]
test byte [0x1402105f0], 1
lea r15, [0x1402169d0]
movzx ebx, r8b
mov edi, edx
mov rbp, rcx
jne 0x1400fdc85
lock bts qword [0x1402105f0], 0x1f
jae 0x1400fdc27
test byte [0x1402105f0], 1
jne 0x1400fdc85
xor edx, edx
lea rcx, [0x1402105f0]
call sym.ProcessHacker.exe_PhfWaitForEvent
jmp 0x1400fdc85
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 0x1400fdc4e
mov dword [0x140216990], 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 0x1400fdc74
mov dword [0x1402169d0], 0x2c
lea rcx, [0x1402105f0]
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 [0x140213b58]
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 0x1400fdd3a
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400fdd36
call fcn.140106290
xor eax, eax
jmp 0x1400fdd4e
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 0x1400fdea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
sub rsp, 0x60
mov rax, qword [0x14020a008]
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 0x1400fdfab
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 0x1400fdfa2
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 0x1400fdfa2
mov rcx, qword [0x140213cd0]
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.ntdll.dll_RtlAllocateHeap]
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.140165120
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.140161390
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.140161390
add rsp, 0x60
pop rbp
nop
ret

Function at 0x1400ff540
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push rbp
sub rsp, 0x30
xor ebp, ebp
xor eax, eax
lock cmpxchg qword [0x1402169c8], rbp
je 0x1400ff55f
lock inc dword [rax - 8]
add rsp, 0x30
pop rbp
ret
cmp qword [0x1402169b8], rbp
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x1400ff585
movups xmm0, xmmword [0x1402169b0]
movaps xmmword [rsp + 0x20], xmm0
jmp 0x1400ff5d4
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 0x1400ff5b3
add rax, 0xfffffffffffffffe
mov qword [rsp + 0x20], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov qword [0x1402169b0], rax
lock or dword [rsp], ebp
mov qword [0x1402169b8], 0x7ffe0030
mov rbx, qword [0x140210610]
mov rdi, qword [rsp + 0x20]
mov rdx, qword [0x140213b58]
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.140165120
mov rcx, qword [rsi + 8]
mov r8, qword [0x140210610]
add rcx, rdi
mov rdx, qword [str.System32]
call fcn.140165120
mov rdi, qword [rsp + 0x50]
xor eax, eax
mov rbx, qword [rsp + 0x40]
lock cmpxchg qword [0x1402169c8], rsi
jne 0x1400ff64b
lock inc dword [rsi - 8]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret
Function at 0x1400ff660
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [0x1402169b8], 0
mov rbx, rcx
je 0x1400ff683
movups xmm0, xmmword [0x1402169b0]
movups xmmword [rcx], xmm0
add rsp, 0x30
pop rbx
ret
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 0x1400ff6b1
add rax, 0xfffffffffffffffe
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [rsp + 0x20]
mov qword [0x1402169b0], rax
movups xmmword [rbx], xmm0
lock or dword [rsp], 0
mov qword [0x1402169b8], 0x7ffe0030
add rsp, 0x30
pop rbx
ret