joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f0280
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 [0x140237008]
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 [0x140241998]
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.140188690
movzx ebx, byte [rbp + 0x90]
xor eax, eax
mov r8d, r15d
mov rdx, r14
cmp bl, 3
jne 0x1400f03d1
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.1401708c0
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
shr edx, 3
and edx, 0x3f
mov eax, edx
add rcx, rax
mov eax, 0x3f
sub eax, edx
xor edx, edx
mov byte [rcx], 0x80
inc rcx
cmp eax, 8
jae 0x1400f0399
mov r8d, eax
call fcn.1401868c0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.140170a60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
jmp 0x1400f03a5
add eax, 0xfffffff8
mov r8d, eax
call fcn.1401868c0
mov eax, dword ds:[rsp + 0x20]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x28]
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x74], eax
call fcn.140170a60
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x78], xmm0
jmp 0x1400f0418
lea rcx, ds:[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.1401736e0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.1401737d0
movups xmm0, xmmword [rbp + 0x10]
mov bl, 5
mov rcx, qword [0x140241998]
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.1401848a0
add rsp, 0x138
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400f1500
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, [0x1402447b8]
test byte [0x14023dfb0], 1
lea r15, [0x1402447f0]
movzx ebx, r8b
mov edi, edx
mov rbp, rcx
jne 0x1400f15c5
lock bts qword [0x14023dfb0], 0x1f
jae 0x1400f1567
test byte [0x14023dfb0], 1
jne 0x1400f15c5
xor edx, edx
lea rcx, [0x14023dfb0]
call sym.ProcessHacker.exe_PhfWaitForEvent
jmp 0x1400f15c5
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 0x1400f158e
mov dword [0x1402447b8], 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 0x1400f15b4
mov dword [0x1402447f0], 0x2c
lea rcx, [0x14023dfb0]
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 [0x1402418e8]
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 0x1400f167a
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400f1676
call fcn.1400fbcc0
xor eax, eax
jmp 0x1400f168e
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 0x1400f18a0
Capabilities:
Map section object

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xb0
movzx eax, word [rcx]
mov word [rsp + 0x60], ax
add ax, 2
cmp qword [rcx], 0xfffe
mov word [rsp + 0x62], ax
mov rax, qword [rcx + 8]
mov qword [r11 - 0x60], rax
ja 0x1400f1a8a
xor esi, esi
mov dword [r11 - 0x48], 0x30
mov dword [rsp + 0x50], esi
lea rax, [r11 - 0x68]
mov qword [r11 - 0x80], rsi
lea r9, [r11 - 0x58]
mov dword [rsp + 0x40], 0x60
lea r8, [r11 - 0x48]
mov dword [rsp + 0x38], 1
lea rcx, [r11 + 0x18]
mov dword [rsp + 0x30], 5
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100081
mov qword [rsp + 0x20], rsi
mov qword [r11 - 0x40], rsi
mov dword [r11 - 0x30], 0x40
mov qword [r11 - 0x38], rax
movdqu xmmword [r11 - 0x28], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop
test eax, eax
js 0x1400f1a8a
cmp dword [0x140237d34], 0x3e
lea edx, [rsi + 5]
mov rdi, qword [rsp + 0xe0]
mov eax, 0x11000000
mov ecx, 0x1000000
mov qword [rsp + 0x30], rdi
cmovb eax, ecx
xor r9d, r9d
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0xd0]
xor r8d, r8d
mov dword [rsp + 0x20], 2
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x1400f1a8a
cmp dword [0x140237d34], 0x67
lea r8, [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
lea rdx, [rsi - 1]
mov dword [rsp + 0x48], 2
mov eax, 0x40000
cmovb eax, esi
mov qword [rsp + 0xd8], rsi
mov dword [rsp + 0x40], eax
xor r9d, r9d
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0xe8], rsi
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov rcx, qword [rsp + 0xd0]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x1400f1a8a
mov rbx, qword ds:[rsp + 0xd8]
lea rax, [rsp + 0xd0]
or rbx, 2
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [rsi + 1]
lea r8d, [rsi + 0x10]
call fcn.1400f91e0
test al, al
je 0x1400f1a76
mov rdi, qword [rsp + 0xd0]
cmp byte [rdi + 4], 0x20
jge 0x1400f1a76
and rbx, 0xfffffffffffffffd
lea rcx, [rsi - 1]
mov rdx, rbx
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov rax, rdi
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
and rbx, 0xfffffffffffffffd
mov rcx, 0xffffffffffffffff
mov rdx, rbx
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
xor eax, eax
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400f37e0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push rbp
sub rsp, 0x20
xor ebp, ebp
xor eax, eax
lock cmpxchg qword [0x1402447e8], rbp
je 0x1400f37ff
lock inc dword [rax - 8]
add rsp, 0x20
pop rbp
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov rsi, qword [0x1402447d8]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r14
test rsi, rsi
je 0x1400f3828
mov r14, qword [0x1402447d0]
jmp 0x1400f3859
mov esi, 0x7ffe0030
mov ecx, esi
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
cmp word [rax + 0x7ffe002e], 0x5c
lea r14, [rax - 2]
cmovne r14, rax
mov qword [0x1402447d0], r14
lock or dword [rsp], ebp
mov qword [0x1402447d8], rsi
mov rbx, qword [0x14023e000]
mov rdx, qword [0x1402418e8]
add rbx, r14
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r8, r14
mov rdx, rsi
mov rdi, 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.140188690
mov rcx, qword [rdi + 8]
mov r8, qword [0x14023e000]
add rcx, r14
mov rdx, qword [str.System32]
call fcn.140188690
mov r14, qword [rsp + 0x48]
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
lock cmpxchg qword [0x1402447e8], rdi
jne 0x1400f38ce
lock inc dword [rdi - 8]
mov rax, rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret

Function at 0x1400f38e0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [0x1402447d8], 0
mov rbx, rcx
je 0x1400f3903
movups xmm0, xmmword [0x1402447d0]
movups xmmword [rcx], xmm0
add rsp, 0x30
pop rbx
ret
mov ecx, 0x7ffe0030
mov qword [rsp + 0x28], 0x7ffe0030
call sym.ProcessHacker.exe_PhCountStringZ
lea rcx, [rax + rax]
cmp word [rcx + 0x7ffe002e], 0x5c
mov qword [rsp + 0x20], rcx
jne 0x1400f3932
lea rax, [rcx - 2]
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [rsp + 0x20]
lea rax, [rcx - 2]
cmovne rax, rcx
movups xmmword [rbx], xmm0
mov qword [0x1402447d0], rax
lock or dword [rsp], 0
mov qword [0x1402447d8], 0x7ffe0030
add rsp, 0x30
pop rbx
ret
Function at 0x1400f4c00
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
xorps xmm0, xmm0
mov dword [rsp + 0x30], 0x70
movups xmmword [rsp + 0x34], xmm0
xor eax, eax
mov rdi, rcx
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
mov qword [r11 - 0x14], rax
movups xmmword [r11 - 0x24], xmm0
mov dword [r11 - 0xc], eax
mov qword [r11 - 0x60], rdx
mov qword [r11 - 0x58], r8
mov dword [rsp + 0x34], 0x400
mov dword [rsp + 0x60], 5
mov qword [r11 - 0x70], rcx
lea rcx, [r11 - 0x78]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400f4d0f
mov qword [rsp + 0xb8], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
test eax, eax
jne 0x1400f4c8d
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x1400f4c94
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_execute_the_program.
mov rbx, rax
mov rcx, rdi
test rax, rax
je 0x1400f4cf6
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov r8d, 0xfffe
lea rax, [0x1401b8d58]
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400f4d07
nop
call fcn.1400fbcc0
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
lea r8, [0x1401efb68]
mov edx, 0x10
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
Function at 0x1400f4d20
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x37]
sub rsp, 0xe8
mov ebx, dword [rbp + 0x6f]
mov rax, rcx
xor ecx, ecx
mov dword [rsp + 0x30], 0x70
xorps xmm0, xmm0
mov qword [rbp - 0x1d], rcx
movups xmmword [rbp - 0x7d], xmm0
mov qword [rbp - 0x79], rax
test bl, 1
movups xmmword [rbp - 0x6d], xmm0
mov dword [rbp - 0x15], ecx
lea rax, str.runas
cmove rax, qword [rbp - 0x71]
mov ecx, 0x440
movups xmmword [rbp - 0x5d], xmm0
mov qword [rbp - 0x71], rax
test bl, 4
mov eax, 0x800440
mov qword [rbp - 0x69], rdx
cmovne ecx, eax
mov qword [rbp - 0x61], r8
mov dword [rbp - 0x7d], ecx
lea rcx, [rsp + 0x30]
movups xmmword [rbp - 0x4d], xmm0
mov dword [rbp - 0x51], r9d
movups xmmword [rbp - 0x3d], xmm0
movups xmmword [rbp - 0x2d], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400f4f81
mov qword ss:[rsp + 0x110], rdi
mov edi, dword [rbp + 0x77]
test edi, edi
je 0x1400f4f46
test bl, 2
jne 0x1400f4e0b
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400f4f4a
cmp edi, 0xffffffff
jne 0x1400f4def
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
jmp 0x1400f4f46
imul rdx, rdi, 0xffffffffffffd8f0
lea r8, [rbp + 0x4f]
mov qword [rbp + 0x4f], rdx
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
jmp 0x1400f4f46
mov rax, qword [0x7ffe0320]
mov rbx, rdi
mov ecx, dword [0x7ffe0004]
mov qword [rsp + 0x108], rsi
mov esi, eax
shr rax, 0x20
mov qword [rsp + 0xe0], r12
mov r12d, 0x7ffe0004
imul rax, rcx
imul rsi, rcx
shl rax, 8
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xd0], r15
mov r15d, 0x7ffe0320
shr rsi, 0x18
add rsi, rax
xor r8d, r8d
mov dword [rsp + 0x20], 0x1cbf
mov r9d, ebx
lea rdx, [rbp - 0x19]
lea ecx, [r8 + 1]
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
nop
test eax, 0xffffff7f
je 0x1400f4f26
cmp eax, 1
jne 0x1400f4f26
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
lea rcx, [rbp - 0x11]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400f4eea
nop
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, ds:[rbp - 0x11]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x11]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400f4eb0
cmp edi, 0xffffffff
je 0x1400f4e62
mov rax, qword ds:[r15]
mov rbx, rdi
mov edx, dword [r12]
mov ecx, eax
shr rax, 0x20
imul rcx, rdx
imul rax, rdx
shr rcx, 0x18
sub rbx, rcx
shl rax, 8
sub rbx, rax
add rbx, rsi
jns 0x1400f4e62
mov r14, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x108]
mov r15, qword [rsp + 0xd0]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rbp + 0x7f]
mov rdi, qword [rsp + 0x110]
test rax, rax
je 0x1400f4f6a
mov qword [rax], rcx
mov al, 1
add rsp, 0xe8
pop rbx
pop rbp
ret
test rcx, rcx
je 0x1400f4f75
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
add rsp, 0xe8
pop rbx
pop rbp
ret
xor al, al
add rsp, 0xe8
pop rbx
pop rbp
ret
Function at 0x1400f50a0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
xorps xmm0, xmm0
mov dword [rsp + 0x30], 0x70
movups xmmword [rsp + 0x34], xmm0
xor eax, eax
mov rdi, rcx
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
mov qword [r11 - 0x14], rax
mov dword [r11 - 0xc], eax
lea rax, str.properties
movups xmmword [r11 - 0x24], xmm0
mov qword [r11 - 0x60], rdx
mov dword [rsp + 0x60], 5
mov dword [rsp + 0x34], 0x40c
mov qword [r11 - 0x70], rcx
lea rcx, [r11 - 0x78]
mov qword [r11 - 0x68], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400f51b4
mov qword ss:[rsp + 0xb8], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400f5133
xor ecx, ecx
call sym.ProcessHacker.exe_PhGetNtMessage
jmp 0x1400f513a
mov ecx, eax
call sym.ProcessHacker.exe_PhGetWin32Message
lea r9, str.Unable_to_execute_the_program.
mov rbx, rax
mov rcx, rdi
test rax, rax
je 0x1400f519b
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov r8d, 0xfffe
lea rax, [0x1401b8d58]
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhShowMessage2
lea rcx, ds:[rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400f51ac
call fcn.1400fbcc0
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
lea r8, [0x1401efb68]
mov edx, 0x10
call sym.ProcessHacker.exe_PhShowMessage
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
Function at 0x1400f5780
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
push r14
sub rsp, 0x48
xor edi, edi
mov r14, rcx
test rdx, rdx
je 0x1400f57d7
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], di
jne 0x1400f57a0
add r8, r8
je 0x1400f57d7
mov word [rsp + 0x30], r8w
lea ecx, [r8 + 2]
mov word [rsp + 0x32], cx
mov qword [rsp + 0x38], rdx
cmp r8, 0xfffe
jbe 0x1400f57df
mov rax, rdi
add rsp, 0x48
pop r14
pop rdi
ret
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov rcx, qword [0x140241998]
mov edx, 4
mov qword [rsp + 0x60], rbx
mov r8d, 0x100
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x68], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
mov ebp, 0x10
nop word [rax + rax]
mov ecx, dword [rsp + 0x68]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], ecx
mov r9, rbx
mov rcx, r14
mov r8d, 2
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
test eax, eax
jns 0x1400f5891
mov rcx, qword [0x140241998]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp esi, 0x80000005
jne 0x1400f5913
mov r8d, dword [rsp + 0x68]
mov edx, 4
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
add ebp, 0xffffffff
jne 0x1400f5820
test esi, esi
js 0x1400f5913
mov ecx, dword ds:[rbx + 4]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x1400f58aa
cmp ecx, 7
jne 0x1400f5901
mov eax, dword [rbx + 8]
cmp eax, 2
jb 0x1400f58f9
mov rdx, qword [0x1402418e8]
lea rsi, [rax - 2]
lea rcx, [rsi + 0x12]
lea rbp, [rbx + 0xc]
call sym.ProcessHacker.exe_PhCreateObject
mov r14, rax
mov qword [rax], rsi
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rsi], di
test rbp, rbp
je 0x1400f58f4
mov rcx, qword [rax + 8]
mov r8, rsi
mov rdx, rbp
call fcn.140188690
mov rdi, r14
jmp 0x1400f5901
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rdi, rax
mov rcx, qword [0x140241998]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbp, qword [rsp + 0x70]
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x40]
add rsp, 0x48
pop r14
pop rdi
ret
Function at 0x1400f5a20
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
push r14
sub rsp, 0x48
mov r14, rcx
mov rdi, 0xffffffffffffffff
test rdx, rdx
je 0x1400f5a78
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400f5a40
add r8, r8
je 0x1400f5a78
mov word [rsp + 0x30], r8w
lea ecx, [r8 + 2]
mov word [rsp + 0x32], cx
mov qword [rsp + 0x38], rdx
cmp r8, 0xfffe
jbe 0x1400f5a80
mov rax, rdi
add rsp, 0x48
pop r14
pop rdi
ret
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov rcx, qword [0x140241998]
mov edx, 4
mov qword [rsp + 0x60], rbx
mov r8d, 0x100
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x68], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
mov ebp, 0x10
nop word [rax + rax]
mov ecx, dword [rsp + 0x68]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], ecx
mov r9, rbx
mov rcx, r14
mov r8d, 2
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov esi, eax
test eax, eax
jns 0x1400f5b2e
mov rcx, qword [0x140241998]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp esi, 0x80000005
jne 0x1400f5b66
mov r8d, dword ds:[rsp + 0x68]
mov edx, 4
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
add ebp, 0xffffffff
jne 0x1400f5ac0
test esi, esi
js 0x1400f5b66
mov eax, dword [rbx + 4]
cmp eax, 4
jne 0x1400f5b44
cmp dword [rbx + 8], eax
jne 0x1400f5b53
mov edi, dword [rbx + 0xc]
jmp 0x1400f5b53
cmp eax, 0xb
jne 0x1400f5b53
cmp dword [rbx + 8], 8
jne 0x1400f5b53
mov rdi, qword [rbx + 0xc]
mov rcx, qword [0x140241998]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbp, qword ss:[rsp + 0x70]
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x40]
add rsp, 0x48
pop r14
pop rdi
ret
Function at 0x1400f5c60
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, str.comdlg32.dll
call fcn.1400f9d00
mov rcx, rax
test rax, rax
jne 0x1400f5cb8
xor edx, edx
lea rcx, str.comdlg32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1400f5cb8
xor edx, edx
lea rcx, str.comdlg32.dll
mov r8d, 0xa00
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1400f5dc8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400f5dc8
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1400f5dc8
cmp dword [rdx + rcx], 0x4550
jne 0x1400f5dc8
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400f5dc8
cmp dword ds:[rdx + 4], 0
je 0x1400f5dc8
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.1400fa1a0
nop dword [rax]
test rax, rax
je 0x1400f5dc8
lea r8, ds:[rsp + 0x40]
lea rdx, [0x1401ad590]
lea rcx, [0x1401ad560]
call qword [case.0x1400f654f.0]
mov ebx, eax
test eax, eax
js 0x1400f5d86
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
lea r8, [0x1401ad550]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400f654f.0]
mov rcx, qword ds:[rsp + 0x40]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
test ebx, ebx
js 0x1400f5dc8
mov rcx, qword [0x140241998]
mov edx, 4
mov rbx, qword [rsp + 0x48]
lea r8d, [rdx + 0xc]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov byte [rax + 1], 0
test rbx, rbx
je 0x1400f5dbc
mov byte [rax], 1
mov qword [rax + 8], rbx
add rsp, 0x30
pop rbx
ret
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1400f5de0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, str.comdlg32.dll
call fcn.1400f9d00
mov rcx, rax
test rax, rax
jne 0x1400f5e38
xor edx, edx
lea rcx, str.comdlg32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1400f5e38
xor edx, edx
lea rcx, str.comdlg32.dll
mov r8d, 0xa00
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1400f5f48
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400f5f48
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1400f5f48
cmp dword [rdx + rcx], 0x4550
jne 0x1400f5f48
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400f5f48
cmp dword ds:[rdx + 4], 0
je 0x1400f5f48
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.1400fa1a0
nop dword [rax]
test rax, rax
je 0x1400f5f48
lea r8, ds:[rsp + 0x40]
lea rdx, [0x1401ad590]
lea rcx, [0x1401ad570]
call qword [case.0x1400f654f.0]
mov ebx, eax
test eax, eax
js 0x1400f5f06
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
lea r8, [0x1401ad550]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400f654f.0]
mov rcx, qword ds:[rsp + 0x40]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f654f.0]
test ebx, ebx
js 0x1400f5f48
mov rcx, qword [0x140241998]
mov edx, 4
mov rbx, qword [rsp + 0x48]
lea r8d, [rdx + 0xc]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov byte [rax + 1], 1
test rbx, rbx
je 0x1400f5f3c
mov byte [rax], 1
mov qword [rax + 8], rbx
add rsp, 0x30
pop rbx
ret
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400f6f60
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
sub rsp, 0x28
mov dword [rcx], edx
test edx, edx
je 0x1400f7004
sub edx, 1
je 0x1400f6fd6
sub edx, 1
je 0x1400f6fcc
cmp edx, 1
je 0x1400f6f89
mov ecx, 0xc00000f0
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
xor eax, eax
mov dword [rcx + 0xc], 0x6a09e667
mov dword [rcx + 0x10], 0xbb67ae85
mov dword [rcx + 0x14], 0x3c6ef372
mov dword [rcx + 0x18], 0xa54ff53a
mov dword [rcx + 0x1c], 0x510e527f
mov dword [rcx + 0x20], 0x9b05688c
mov dword [rcx + 0x24], 0x1f83d9ab
mov dword [rcx + 0x28], 0x5be0cd19
mov qword [rcx + 4], rax
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 4], eax
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 0x1c], 0x67452301
mov qword [rcx + 0x30], rax
mov dword [rcx + 0x20], 0xefcdab89
mov dword [rcx + 0x24], 0x98badcfe
mov dword [rcx + 0x28], 0x10325476
mov dword [rcx + 0x2c], 0xc3d2e1f0
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 0xc], 0x67452301
mov dword [rcx + 0x10], 0xefcdab89
mov dword [rcx + 0x14], 0x98badcfe
mov dword [rcx + 0x18], 0x10325476
mov qword [rcx + 4], rax
add rsp, 0x28
ret