joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b9080
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov rbp, rcx
call fcn.1400b8fc0
mov rdx, qword [0x1402418f0]
mov ecx, 0x10
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, qword [0x140241998]
mov edx, 4
mov rbx, rax
mov dword [rax], 0
lea r8d, [rdx + 0x4c]
mov dword [rax + 4], 0xa
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbx + 8], rax
mov qword [rsp + 0x28], rbx
call fcn.1400b7940
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [0x1400b8f20]
call qword [sym.imp.USER32.dll_EnumDesktopsW]
mov rcx, qword [rsp + 0x28]
xor ebx, ebx
cmp dword [rcx], ebx
jbe 0x1400b91bf
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x40], rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx + 8]
lea rdi, [rbx*8]
mov rcx, qword [rdi + rax]
test rcx, rcx
je 0x1400b914b
mov r9, qword [rcx + 8]
jmp 0x1400b914e
xor r9d, r9d
xor r8d, r8d
mov edx, 0x143
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
cmp eax, 0xffffffff
je 0x1400b91a6
mov rcx, qword [0x140241998]
mov edx, 4
lea r8d, [rdx + 4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword ds:[rsp + 0x28]
mov r9, rax
movsxd r8, esi
mov rdx, qword [rcx + 8]
mov rcx, qword [rdi + rdx]
mov edx, 0x151
mov qword [rax], rcx
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x28]
inc ebx
cmp ebx, dword [rcx]
jb 0x1400b9130
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x68]
mov ebx, 0xffffffff
add rcx, 0xfffffffffffffff0
mov eax, ebx
lock xadd dword [rcx + 8], eax
mov rbp, qword [rsp + 0x60]
cmp eax, 1
jne 0x1400b91de
call fcn.1400fbcc0
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
mov rbx, qword [rsp + 0x58]
jne 0x1400b91fb
call fcn.1400fbcc0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x48
ret
Function at 0x1400bb8a0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, rcx
movzx ebp, r9b
movzx ecx, r9b
mov rdi, r8
mov rbx, rdx
call fcn.1400bb7c0
xorps xmm0, xmm0
mov rsi, rax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x48], rbx
xor ebx, ebx
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x30], 0x70
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x50], rdi
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
test rax, rax
je 0x1400bb924
mov rax, qword [rax + 8]
jmp 0x1400bb927
mov rax, rbx
mov qword ds:[rsp + 0x58], rax
lea rcx, [rsp + 0x30]
test bpl, bpl
mov dword [rsp + 0x34], 0x400
lea rax, str.runas
mov dword [rsp + 0x60], 0xa
cmove rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400bb97f
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400bb997
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400bb997
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1400bb98e
mov ebx, eax
jmp 0x1400bb997
movzx ebx, ax
or ebx, 0xc0070000
test rsi, rsi
je 0x1400bb9b4
lea rcx, [rsi - 0x10]
mov edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400bb9b4
call fcn.1400fbcc0
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400cc780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x38
cmp dword [0x140237d34], 0x3e
mov byte [0x14024246e], 1
mov dword [0x140243990], 1
jb 0x1400cc8cc
xor edx, edx
mov qword [rsp + 0x40], rbx
mov r8d, 0x800
lea rcx, str.sechost.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1400cc7f2
xor edx, edx
lea rcx, str.sechost.dll
mov r8d, 0xa00
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x1400cc8c7
movzx ecx, word [rbx]
mov qword [rsp + 0x48], rsi
mov esi, 0x5a4d
mov qword [rsp + 0x30], rdi
cmp cx, si
jne 0x1400cc85f
mov edx, dword [rbx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1400cc85f
cmp dword [rdx + rbx], 0x4550
jne 0x1400cc85f
add rdx, 0x88
add rdx, rbx
mov eax, dword [rdx]
test eax, eax
je 0x1400cc854
cmp dword [rdx + 4], 0
je 0x1400cc854
xor edi, edi
lea r8, [rbx + rax]
lea r9, str.SubscribeServiceChangeNotifications
mov word [rsp + 0x20], di
mov rcx, rbx
call fcn.1400fa1a0
movzx ecx, word [rbx]
jmp 0x1400cc863
xor edi, edi
mov qword [0x1402439b0], rdi
jmp 0x1400cc86f
xor edi, edi
mov eax, edi
mov qword [0x1402439b0], rax
cmp cx, si
jne 0x1400cc8b6
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1400cc8b6
cmp dword [rcx + rbx], 0x4550
jne 0x1400cc8b6
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400cc8b6
cmp dword [rdx + 4], 0
je 0x1400cc8b6
lea r8, [rbx + rax]
mov word [rsp + 0x20], di
lea r9, str.UnsubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.1400fa1a0
mov rdi, rax
mov rsi, qword [rsp + 0x48]
mov qword [0x1402441d0], rdi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
xor edx, edx
lea rcx, [0x1400cc0e0]
add rsp, 0x38
jmp sym.ProcessHacker.exe_PhCreateThread2

Function at 0x1400ccd60
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [0x140244288], 0
mov rbx, rcx
mov qword [0x1402441f0], rcx
jne 0x1400ccdd0
xor r8d, r8d
lea rdx, [0x1400cce00]
lea rcx, [0x140244288]
call sym.ProcessHacker.exe_PhCreateThreadEx
test eax, eax
jns 0x1400ccdb8
mov rcx, qword [sym.ProcessHacker.exe_PhMainWndHandle]
lea r9, str.Unable_to_create_the_window.
lea r8, [0x1401b8d58]
mov edx, 0x10
add rsp, 0x20
pop rbx
jmp sym.ProcessHacker.exe_PhShowMessage
test byte [0x14023ddf0], 1
nop
jne 0x1400ccdd0
xor edx, edx
lea rcx, [0x14023ddf0]
call sym.ProcessHacker.exe_PhfWaitForEvent
mov rcx, qword [0x140241878]
xor r9d, r9d
mov r8, rbx
mov edx, 0x8096
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_SendMessageW]
Function at 0x1400ce3e0
Capabilities:
Capture screenshot

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r9, rcx
mov rdi, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, qword [0x1402441d8]
jne 0x1400ce41a
mov rcx, rdx
call fcn.1400cf440
mov al, 1
jmp 0x1400ce5bf
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp rcx, qword [0x1402441e8]
jne 0x1400ce584
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_GetDC]
mov rbp, rax
test rax, rax
je 0x1400ce578
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 [0x140246198], bl
nop
je 0x1400ce4d2
cmp dword [0x140246134], 1
jne 0x1400ce506
mov edx, 0x2b2b2b
jmp 0x1400ce4d7
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 0x1400ce5b7
mov r8, qword [0x140244200]
mov edx, dword [r8]
test edx, edx
je 0x1400ce5b5
mov r8, qword [r8 + 8]
nop word [rax + rax]
mov rcx, qword [r8 + rbx*8]
mov eax, dword [rcx + 0xb0]
cmp r9, rax
je 0x1400ce5d5
inc ebx
cmp ebx, edx
jb 0x1400ce5a0
xor al, al
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x80
pop rdi
ret
mov rdx, qword ds:[rdi + 0x20]
lea r8, [rdi + 0x28]
call fcn.1400cf680
mov al, 1
jmp 0x1400ce5b7
Function at 0x1400cf440
Capabilities:
Capture screenshot

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x70
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [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_GetDC]
mov rsi, rax
test rax, rax
je 0x1400cf65e
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 [0x140246198], r15b
je 0x1400cf514
mov ecx, dword [0x140246134]
test ecx, ecx
je 0x1400cf514
cmp ecx, 1
jne 0x1400cf549
mov edx, 0xffffff
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, 0x2b2b2b
jmp 0x1400cf524
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 [0x140244208], r15b
jne 0x1400cf55b
cmp byte [0x14024420a], r15b
je 0x1400cf5b0
cmp byte [0x140244209], r15b
je 0x1400cf594
mov rcx, qword [0x1402442d8]
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 0x1400cf5b0
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 [0x140244228]
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.1401848a0
add rsp, 0x70
pop r15
pop rdi
pop rsi
ret
Function at 0x1400d1120
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 [0x140241988]
xor esi, esi
mov rcx, qword [0x140241998]
mov r8d, eax
shl r8, 3
lea edx, [rsi + 4]
mov qword [0x1402443e8], rsi
mov qword [0x140244308], rsi
mov qword [0x140244440], rsi
mov qword [0x140244448], rsi
mov qword [0x140244428], rsi
mov dword [0x140244324], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [0x140241998]
lea edx, [rsi + 4]
mov qword [0x140244348], rax
mov eax, dword [0x140244324]
lea r8, [rax + rax*2]
shl r8, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [0x140241998]
lea edx, ds:[rsi + 4]
mov qword [0x1402442f8], rax
mov eax, dword [0x140244324]
lea r8, [rax + rax*2]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [0x140241998]
lea edx, [rsi + 4]
mov qword [0x140244408], rax
mov eax, dword [0x140244324]
lea ebx, [rax + rax*2]
shl ebx, 3
mov r8d, ebx
mov edi, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [0x140244324]
xorps xmm0, xmm0
mov qword [0x1402443f8], rax
xorps xmm1, xmm1
mov dword [0x140244460], esi
mov r9, rax
mov byte [0x140244464], sil
mov dword [0x140244478], 0xffffffff
movdqu xmmword [0x140244450], xmm0
movdqu xmmword [0x140244468], xmm1
test ecx, ecx
je 0x1400d1267
mov rax, qword [0x1402442f8]
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 0x1400d1240
xor edx, edx
mov dword [0x1402443d8], esi
xor r8d, r8d
mov dword [rsp + 0x20], ebx
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtPowerInformation]
mov rbx, qword [0x1402443f8]
test eax, eax
jns 0x1400d1297
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.1401868c0
mov eax, dword [0x140244324]
mov ecx, esi
mov dword [0x140244320], ecx
test eax, eax
je 0x1400d12c5
lea rdx, [rbx + 4]
mov r8d, eax
cmp ecx, dword [rdx]
cmovb ecx, dword [rdx]
lea rdx, [rdx + 0x18]
sub r8, 1
jne 0x1400d12b0
mov dword [0x140244320], ecx
mov qword [0x140244430], rsi
mov qword [0x140244318], rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400d3bc0
Function at 0x1400d1300
Capabilities:
Execute anti-debugging instructions
Get system information on windows

Disassembly:
sub rsp, 0x38
mov eax, dword [0x140244324]
xor r9d, r9d
mov rdx, qword [0x140244408]
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 [0x140244324]
test eax, eax
js 0x1400d13b4
xor edx, edx
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x140244408]
xor r8d, r8d
cmp r10d, 2
jb 0x1400d1392
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 0x1400d1370
cmp esi, r10d
mov rsi, qword [rsp + 0x48]
jb 0x1400d13a0
jmp 0x1400d13a8
test r10d, r10d
je 0x1400d13a8
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 [0x140246508]
xor edx, edx
mov r9, qword [0x1402443f8]
mov eax, ecx
sub eax, dword [0x1402443e8]
xor r8d, r8d
mov dword [0x1402443ec], eax
mov dword [0x1402443e8], ecx
mov ecx, dword [0x140246308]
mov eax, ecx
sub eax, dword [0x140244308]
mov dword [0x14024430c], eax
mov rax, rbx
sub rax, qword [0x140244440]
mov qword [0x140244448], rax
mov dword [0x140244308], ecx
mov ecx, dword [0x140246514]
mov eax, ecx
sub eax, dword [0x140244428]
mov dword [0x14024442c], eax
lea eax, [r10 + r10*2]
shl eax, 3
mov dword [0x140244428], ecx
lea ecx, [rdx + 0xb]
mov dword [rsp + 0x20], eax
mov qword [0x140244440], rbx
call qword [sym.imp.ntdll.dll_NtPowerInformation]
mov rbx, qword ss:[rsp + 0x40]
test eax, eax
jns 0x1400d1465
mov eax, dword [0x140244324]
xor edx, edx
mov rcx, qword [0x1402443f8]
lea r8, [rax + rax*2]
shl r8, 3
call fcn.1401868c0
mov r8, qword [0x140244318]
test r8, r8
je 0x1400d1486
mov rcx, qword [0x140241998]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [0x140244430]
mov qword [0x140244318], rax
mov qword [0x140244430], 0
nop
call fcn.1400d3bc0
mov eax, dword [0x1402443d8]
cmp eax, 2
jae 0x1400d14b8
inc eax
mov dword [0x1402443d8], eax
call fcn.1400d27c0
add rsp, 0x38
jmp fcn.1400d2900
Function at 0x1400d3680
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xb0
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor r9d, r9d
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], rsi
lea rdx, [r11 - 0x50]
mov qword [r11 + 0x18], rdi
lea r8d, [r9 + 0x31]
lea ecx, [r9 + 0x69]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop
test eax, eax
js 0x1400d3732
mov rdx, qword [0x1402418e8]
mov ecx, 0x72
call sym.ProcessHacker.exe_PhCreateObject
xor ebp, ebp
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], 0x60
mov qword [rax + 8], rcx
lea ebx, [rbp + 0xc]
mov word [rcx + 0x60], bp
lea rcx, [rsp + 0x6a]
mov rdx, qword [rax + 8]
nop dword [rax]
movzx eax, byte [rcx - 2]
lea rcx, [rcx + 4]
mov word [rdx], ax
lea rdx, [rdx + 8]
movzx eax, byte [rcx - 5]
mov word [rdx - 6], ax
movzx eax, byte [rcx - 4]
mov word [rdx - 4], ax
movzx eax, byte [rcx - 3]
mov word [rdx - 2], ax
sub rbx, 1
jne 0x1400d3700
jmp 0x1400d37ed
xor ecx, ecx
mov eax, 0x80000002
cpuid
mov dword [rsp + 0x40], ecx
xor ecx, ecx
mov dword [rsp + 0x38], eax
mov eax, 0x80000003
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x3c], ebx
cpuid
mov dword [rsp + 0x50], ecx
xor ecx, ecx
mov dword [rsp + 0x48], eax
mov eax, 0x80000004
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x4c], ebx
cpuid
mov dword [rsp + 0x60], ecx
mov ecx, 0x72
mov dword [rsp + 0x64], edx
mov rdx, qword [0x1402418e8]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], ebx
call sym.ProcessHacker.exe_PhCreateObject
mov rdi, rax
lea rdx, [rsp + 0x3a]
mov qword [rax], 0x60
add rax, 0x10
xor ebp, ebp
mov qword [rdi + 8], rax
mov word [rax + 0x60], bp
mov rcx, qword [rdi + 8]
lea ebx, [rbp + 0xc]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx - 2]
lea rdx, [rdx + 4]
mov word [rcx], ax
lea rcx, [rcx + 8]
movzx eax, byte [rdx - 5]
mov word [rcx - 6], ax
movzx eax, byte [rdx - 4]
mov word [rcx - 4], ax
movzx eax, byte [rdx - 3]
mov word [rcx - 2], ax
sub rbx, 1
jne 0x1400d37c0
mov rcx, qword [rdi + 8]
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
lea rdx, [0x14023de00]
mov qword [rdi], rax
lea rcx, [rsp + 0x28]
movups xmm0, xmmword [rdi]
mov r8d, 2
movups xmmword [rsp + 0x28], xmm0
call sym.ProcessHacker.exe_PhTrimStringRef
mov rsi, qword [rsp + 0x28]
test rsi, rsi
jne 0x1400d382f
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x1400d3867
mov rdx, qword [0x1402418e8]
lea rcx, [rsi + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdx, qword [rsp + 0x30]
mov rbx, rax
mov qword [rax], rsi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + rsi], bp
test rdx, rdx
je 0x1400d3867
mov rcx, qword [rbx + 8]
mov r8, rsi
call fcn.140188690
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xc0]
cmp eax, 1
jne 0x1400d3897
call fcn.1400fbcc0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0xb0
pop rbx
ret
Function at 0x1400d3bc0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [0x140241998]
mov edx, 4
mov r8d, 0x100
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
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 0x1400d3c7b
cmp ebx, 8
jae 0x1400d3c88
mov rcx, qword [0x140241998]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x20]
mov edx, 4
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
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 0x1400d3c27
test edi, edi
js 0x1400d3c88
mov qword [0x140244430], rsi
jmp 0x1400d3c9d
lfence
mov rcx, qword [0x140241998]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401848a0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400ef660
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x50
mov ebx, edx
mov rsi, rcx
lea rdx, [rax + 0x20]
mov rcx, r8
mov qword [rax - 0x38], rdx
call sym.ProcessHacker.exe_PhFormatString_V
mov rdi, rax
test rax, rax
jne 0x1400ef69a
lea eax, [rdi - 1]
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x48], rbp
xor ebp, ebp
test byte [0x14023e4b0], 1
jne 0x1400ef7d6
lock bts qword [0x14023e4b0], 0x1f
jae 0x1400ef6da
test byte [0x14023e4b0], 1
jne 0x1400ef7d6
xor edx, edx
lea rcx, [0x14023e4b0]
call sym.ProcessHacker.exe_PhfWaitForEvent
jmp 0x1400ef7d6
lea rcx, [0x1401d9d58]
call fcn.1400f9d00
mov rcx, rax
test rax, rax
jne 0x1400ef732
xor edx, edx
lea rcx, [0x1401d9d58]
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1400ef732
xor edx, edx
lea rcx, [0x1401d9d58]
mov r8d, 0xa00
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1400ef7ca
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ef7ca
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1400ef7ca
cmp dword [rdx + rcx], 0x4550
jne 0x1400ef7ca
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400ef7ca
cmp dword [rdx + 4], ebp
je 0x1400ef7ca
lea r8, [rcx + rax]
mov word [rsp + 0x20], bp
lea r9, str.MessageBoxW
call fcn.1400fa1a0
mov r9, rax
test rax, rax
je 0x1400ef7ca
mov rcx, qword [0x7ffe0320]
mov edx, dword [0x7ffe0004]
mov eax, ecx
shr rcx, 0x20
imul rax, rdx
imul rcx, rdx
shr rax, 0x18
shl rcx, 8
add rax, rcx
mov qword [0x140244c78], rax
xor rax, r9
mov qword [0x140244bd0], rax
lea rcx, [0x14023e4b0]
call sym.ProcessHacker.exe_PhfSetEvent
mov rax, qword [0x140244bd0]
nop dword [rax]
test rax, rax
je 0x1400ef7f6
mov rcx, qword [0x140244c78]
test rcx, rcx
je 0x1400ef7f6
xor rax, rcx
jmp 0x1400ef7f9
mov rax, rbp
mov r8, qword [0x140241990]
mov r9d, ebx
mov rdx, qword [rdi + 8]
mov rcx, rsi
call qword [case.0x1400f654f.0]
mov ebx, eax
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
mov rbp, qword [rsp + 0x48]
cmp eax, 1
jne 0x1400ef82f
call fcn.1400fbcc0
mov eax, ebx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret