joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180013570
Capabilities:
Capture screenshot

Disassembly:
jmp 0x180132270
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x50]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0x28]
mov eax, dword [rax + 0x30]
sub eax, ecx
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0x2c]
mov eax, dword [rax + 0x34]
sub eax, ecx
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x18013231a
jmp 0x18013248e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x58], rax
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x68], rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SetBkMode]
movzx eax, byte [0x1808ecbec]
test eax, eax
je 0x1801323c4
mov eax, dword [0x1808ecb1c]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 1
je 0x180132394
jmp 0x1801323c2
mov edx, 0x2b2b2b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_FillRect]
jmp 0x1801323f2
mov edx, 0xffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_FillRect]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xc0]
mov r9d, dword [rax + 0x30]
mov rax, qword [rsp + 0xc0]
mov r8d, dword [rax + 0x2c]
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rsp
lea rdx, [0x1804a1270]
call fcn.180014e20
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xb0
pop rdi
ret
Function at 0x1800135a0
Capabilities:
Read file on windows

Disassembly:
jmp 0x1800d30c0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x50]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x120089
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x68]
call sym.ProcessMonitor.dll_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1800d314c
mov eax, dword [rsp + 0x50]
jmp 0x1800d31fe
mov dword [rsp + 0x80], 0x400
mov eax, dword [rsp + 0x80]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtReadFile]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x50], 0
jl 0x1800d31f0
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0xa0]
mov dword [rax], ecx
mov eax, dword [rsp + 0x50]
jmp 0x1800d31fe
mov rcx, qword [rsp + 0x78]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804868d0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xd0
pop rdi
ret
Function at 0x180013ec0
Capabilities:
Terminate process

Disassembly:
jmp 0x180316a90
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x180316abe
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.180017450
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x180013f10
Capabilities:
Read http header

Disassembly:
jmp 0x180226730
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x74], 4
mov r9d, 2
lea r8, [0x1804e1710]
mov edx, dword [rsp + 0xa8]
lea rcx, [rsp + 0x34]
call sym.ProcessMonitor.dll_PhMapFlags1
mov eax, dword [rsp + 0x34]
bts eax, 0x1d
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x54]
xor r8d, r8d
mov edx, eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1802267e2
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
mov al, 1
jmp 0x1802267e4
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e1a70]
call fcn.180014e20
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x180014190
Capabilities:
Start service

Disassembly:
jmp 0x180030220
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov edx, 0x10
mov rcx, qword [rax + 8]
call sym.ProcessMonitor.dll_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800302a7
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x18003029c
mov byte [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x180030389
call fcn.180010890
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 8]
lea rcx, str.Unable_to_start
call fcn.1800023e0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x80]
call fcn.180004330
movzx eax, al
test eax, eax
je 0x180030360
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x18003035e
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov edx, 1
mov rcx, qword [rax + 8]
call fcn.180014350
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jl 0x180030330
mov byte [rsp + 0x38], 1
jmp 0x180030359
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x88]
lea rdx, str.start
mov rcx, qword [rsp + 0x80]
call fcn.180033d10
call sym.ProcessMonitor.dll_PhUiDisconnectFromPhSvc
jmp 0x180030389
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x88]
lea rdx, str.start
mov rcx, qword [rsp + 0x80]
call fcn.180033d10
movzx eax, byte [rsp + 0x38]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18039ab60]
call fcn.180014e20
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x70
pop rdi
ret

Function at 0x180014310
Capabilities:
Terminate process

Disassembly:
jmp 0x1801a04f0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
call fcn.180014ef0
movzx eax, al
test eax, eax
je 0x1801a052c
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.180011090
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc00000bb
je 0x1801a052c
mov eax, dword [rsp + 0x20]
jmp 0x1801a053b
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
add rsp, 0x30
pop rdi
ret
Function at 0x180014b50
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1800e3000
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov ecx, 0x53
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
add rsp, 0x20
pop rdi
ret

Function at 0x180014b60
Capabilities:
Get system information on windows

Disassembly:
jmp 0x1801a5f10
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x30], 0x200
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x12
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1801a5f8f
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
shl eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x10000000
jbe 0x1801a5f7d
mov eax, 0xc000009a
jmp 0x1801a5fb7
mov eax, dword [rsp + 0x30]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
jmp 0x1801a5f32
cmp dword [rsp + 0x20], 0
jge 0x1801a5fa6
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
jmp 0x1801a5fb7
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret

Function at 0x180014bd0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x18013a2f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], 0x100
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x49
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x20], 0xc0000004
jne 0x18013a3b7
cmp dword [rsp + 0x44], 8
jae 0x18013a3b7
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0x49
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x18013a362
cmp dword [rsp + 0x20], 0
jl 0x18013a3d8
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
jmp 0x18013a3e2
mov rcx, qword [rsp + 0x28]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804a24d0]
call fcn.180014e20
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x60
pop rdi
ret
Function at 0x180015a70
Capabilities:
Query or enumerate registry key

Disassembly:
jmp 0x1801a8c30
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x44], 0x100
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x8000001a
jne 0x1801a8cc4
mov dword [rsp + 0x30], 0
jmp 0x1801a8d61
cmp dword [rsp + 0x30], 0x80000005
je 0x1801a8cd8
cmp dword [rsp + 0x30], 0xc0000023
jne 0x1801a8d21
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtEnumerateKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1801a8d2a
jmp 0x1801a8d61
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x80]
movzx eax, al
test eax, eax
jne 0x1801a8d4c
jmp 0x1801a8d61
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
xor eax, eax
cmp eax, 1
jne 0x1801a8c7e
mov rcx, qword [rsp + 0x38]
call sym.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804c2260]
call fcn.180014e20
mov eax, edi
add rsp, 0x60
pop rdi
ret
Function at 0x180015c00
Capabilities:
Delete registry value

Disassembly:
jmp 0x1801a8b90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
cmp qword [rsp + 0x78], 0
je 0x1801a8bdc
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.180011010
movzx eax, al
test eax, eax
jne 0x1801a8bda
mov eax, 0xc0000106
jmp 0x1801a8c03
jmp 0x1801a8beb
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.18001a850
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c2200]
call fcn.180014e20
mov rax, rdi
add rsp, 0x60
pop rdi
ret

Function at 0x180015e40
Capabilities:
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
jmp 0x180167700
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
jne 0x180167728
xor eax, eax
jmp 0x1801677ca
xor edx, edx
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov ecx, 2
div rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x58]
test eax, eax
jne 0x180167770
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call sym.ProcessMonitor.dll_PhHashBytes
jmp 0x1801677ca
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
movzx ecx, word [rsp + 0x38]
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx eax, ax
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
imul eax, dword [rsp + 0x20], 0x1000193
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180167770
mov eax, dword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x180015fb0
Capabilities:
Pause service

Disassembly:
jmp 0x180030580
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 0x40
mov rcx, qword [rax + 8]
call sym.ProcessMonitor.dll_PhOpenService
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180030612
lea r8, [rsp + 0x48]
mov edx, 2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x180030607
mov byte [rsp + 0x38], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x1800306fa
call fcn.180010890
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 8]
lea rcx, str.Unable_to_pause
call fcn.1800023e0
lea r9, [rsp + 0x84]
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xc0]
call fcn.180004330
movzx eax, al
test eax, eax
je 0x1800306d1
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x1800306cf
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov edx, 3
mov rcx, qword [rax + 8]
call fcn.180014350
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jl 0x1800306a1
mov byte [rsp + 0x38], 1
jmp 0x1800306ca
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, str.pause
mov rcx, qword [rsp + 0xc0]
call fcn.180033d10
call sym.ProcessMonitor.dll_PhUiDisconnectFromPhSvc
jmp 0x1800306fa
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x74]
mov r8, qword [rsp + 0xc8]
lea rdx, str.pause
mov rcx, qword [rsp + 0xc0]
call fcn.180033d10
movzx eax, byte [rsp + 0x38]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18039acc0]
call fcn.180014e20
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xb0
pop rdi
ret
Function at 0x180016c00
Capabilities:
Get system information on windows

Disassembly:
jmp 0x180139ba0
push rbx
push rsi
push rdi
sub rsp, 0x130
lea rdi, [rsp + 0x20]
mov ecx, 0x44
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov r8d, 0x31
lea rdx, [rsp + 0x78]
mov ecx, 0x69
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x180139c16
mov dword [rsp + 0x64], 0x30
mov eax, dword [rsp + 0x64]
mov edx, eax
lea rcx, [rsp + 0x78]
call sym.ProcessMonitor.dll_PhZeroExtendToUtf16Ex
mov qword [rsp + 0x28], rax
jmp 0x180139ce1
mov eax, 4
imul rax, rax, 0
lea rax, [rsp + rax + 0xc8]
mov qword [rsp + 0x110], rax
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov r8, qword [rsp + 0x110]
mov dword [r8], eax
mov dword [r8 + 4], ebx
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], edx
mov eax, 4
imul rax, rax, 4
lea rax, [rsp + rax + 0xc8]
mov qword [rsp + 0x118], rax
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov r8, qword [rsp + 0x118]
mov dword [r8], eax
mov dword [r8 + 4], ebx
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], edx
mov eax, 4
imul rax, rax, 8
lea rax, [rsp + rax + 0xc8]
mov qword [rsp + 0x120], rax
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov r8, qword [rsp + 0x120]
mov dword [r8], eax
mov dword [r8 + 4], ebx
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], edx
mov dword [rsp + 0x64], 0x30
mov eax, dword [rsp + 0x64]
mov edx, eax
lea rcx, [rsp + 0xc8]
call sym.ProcessMonitor.dll_PhZeroExtendToUtf16Ex
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1800160a0
lea rax, [rsp + 0x48]
mov rdi, rax
mov rsi, qword [rsp + 0x28]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 2
lea rdx, [0x18059f6e0]
lea rcx, [rsp + 0x48]
call sym.ProcessMonitor.dll_PhTrimStringRef
lea rcx, [rsp + 0x48]
call fcn.180006dd0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180003fd0
mov rax, qword [rsp + 0x28]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804a2410]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x130
pop rdi
pop rsi
pop rbx
ret

Function at 0x180016cd0
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180276750
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1802767c8
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1802767c8
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1802767c8
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1802767bc
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1802767da
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1802767aa
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1802767ca
Function at 0x1800174d0
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x180236ba0
mov qword [rsp + 8], rcx
push rdi
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0x10325476
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x18], 0xc3d2e1f0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x2c], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 0x2c], 0
pop rdi
ret
Function at 0x180017670
Capabilities:
Print debug messages

Disassembly:
jmp 0x180342910
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret