joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000b520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x18016f210
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 + 0x44], 0
jmp 0x18016f253
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 6
jae 0x18016f271
lea rcx, [0x1808e9008]
call qword [sym.imp.ntdll.dll_RtlRandomEx]
mov ecx, dword [rsp + 0x44]
mov dword [rsp + rcx*4 + 0x28], eax
jmp 0x18016f249
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, word [rsp + rax + 0x28]
mov word [rcx], ax
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x28]
shr eax, 0x10
mov ecx, 4
imul rcx, rcx, 1
mov ecx, dword [rsp + rcx + 0x28]
and ecx, 0xff
or eax, ecx
mov rcx, qword [rsp + 0x70]
mov word [rcx + 2], ax
mov eax, 4
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x28]
shr eax, 8
mov rcx, qword [rsp + 0x70]
mov word [rcx + 4], ax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x70]
movzx eax, word [rsp + rax + 0x28]
mov word [rcx + 6], ax
mov eax, 4
imul rax, rax, 2
mov eax, dword [rsp + rax + 0x28]
shr eax, 0x10
mov ecx, 4
imul rcx, rcx, 3
mov ecx, dword [rsp + rcx + 0x28]
and ecx, 0xff
or eax, ecx
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov word [rdx + rcx + 8], ax
mov eax, 4
imul rax, rax, 3
mov eax, dword [rsp + rax + 0x28]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x70]
mov word [rdx + rcx + 8], ax
mov eax, 4
imul rax, rax, 4
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x70]
movzx eax, word [rsp + rax + 0x28]
mov word [rdx + rcx + 8], ax
mov eax, 4
imul rax, rax, 4
mov eax, dword [rsp + rax + 0x28]
shr eax, 0x10
mov ecx, 4
imul rcx, rcx, 5
mov ecx, dword [rsp + rcx + 0x28]
and ecx, 0xff
or eax, ecx
mov ecx, 1
imul rcx, rcx, 6
mov rdx, qword [rsp + 0x70]
mov word [rdx + rcx + 8], ax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 7]
and al, 0xf
or al, 0x40
mov rcx, qword [rsp + 0x70]
mov byte [rcx + 7], al
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 8]
and eax, 0xffffff3f
mov rcx, qword [rsp + 0x70]
mov byte [rcx + 8], al
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 8]
bts eax, 7
mov rcx, qword [rsp + 0x70]
mov byte [rcx + 8], al
mov rcx, rsp
lea rdx, [0x1804ae950]
call fcn.180014e20
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x60
pop rdi
ret
Function at 0x18000c070
Capabilities:
Encode data using xor

Disassembly:
jmp 0x18030e270
mov rax, rcx
neg rcx
test rax, 7
je 0x18030e28d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x18030e2e8
test al, 7
jne 0x18030e280
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x18030e2a1
mov rdx, qword [rax - 8]
test dl, dl
je 0x18030e312
test dh, dh
je 0x18030e30c
shr rdx, 0x10
test dl, dl
je 0x18030e306
test dh, dh
je 0x18030e300
shr rdx, 0x10
test dl, dl
je 0x18030e2fa
test dh, dh
je 0x18030e2f4
shr edx, 0x10
test dl, dl
je 0x18030e2ee
test dh, dh
jne 0x18030e2a1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x18000c550
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x180196810
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
lea rdi, [rsp + 0x30]
mov ecx, 0x38
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov rax, qword [rsp + 0x130]
cmp qword [rax + 8], 0
jne 0x18019685e
mov eax, 0xc000000d
jmp 0x1801969fd
mov dword [rsp + 0x20], 0
lea r9, [0x1805a0060]
mov r8, 0xfffffffffffffffd
mov edx, 0x20019
lea rcx, [rsp + 0x48]
call sym.ProcessMonitor.dll_PhOpenKey
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180196897
mov eax, dword [rsp + 0x30]
jmp 0x1801969fd
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x30], 0xc0000034
jne 0x180196955
lea rdx, [rsp + 0xf8]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 8]
call sym.ProcessMonitor.dll_PhVerifyFile
mov dword [rsp + 0xe4], eax
cmp dword [rsp + 0xe4], 2
jne 0x180196931
cmp qword [rsp + 0xf8], 0
je 0x180196931
mov r8b, 1
lea rdx, str.Microsoft_Corporation
mov rcx, qword [rsp + 0xf8]
call fcn.180018550
movzx eax, al
test eax, eax
jne 0x180196948
lea rcx, [rsp + 0xf8]
call fcn.1800153b0
mov eax, 0xc0000361
jmp 0x1801969fd
lea rcx, [rsp + 0xf8]
call fcn.1800153b0
lea r9, [rsp + 0x88]
mov r8, qword [rsp + 0x130]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrLoadDll]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180196980
mov eax, dword [rsp + 0x30]
jmp 0x1801969fd
lea rdx, str.OutOfProcessFunctionTableCallback
lea rcx, [rsp + 0xa8]
call fcn.180009cc0
lea r9, [rsp + 0xd8]
xor r8d, r8d
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1801969eb
mov r9, qword [rsp + 0x138]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
call qword [rsp + 0xd8]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_LdrUnloadDll]
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804bbdc0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x110
pop rdi
ret
Function at 0x18000c5a0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x180276690
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1802766be
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x180276717
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
mov r8d, r9d
neg r8
and r8, rbx
lea ecx, [r9 - 1]
mov eax, ecx
and ecx, ebx
and eax, edi
add eax, ecx
dec rax
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add rcx, rax
mov eax, ecx
test ecx, ecx
je 0x180276717
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x180276709
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x18000c9d0
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x180067e50
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryMutant]
add rsp, 0x30
pop rdi
ret
Function at 0x18000d870
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1802af6c0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1802af040
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1802af6ff
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180c63010]
jmp 0x1802af709
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x18000d990
Capabilities:
Get graphical window text

Disassembly:
jmp 0x180181230
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x20]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0xb8]
and eax, 1
test eax, eax
je 0x180181337
mov eax, dword [rsp + 0xb8]
and eax, 2
test eax, eax
je 0x1801812b0
mov r8d, 0x20
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov dword [rsp + 0x28], eax
jmp 0x180181329
mov edx, 0x200
xor ecx, ecx
call sym.ProcessMonitor.dll_PhCreateStringEx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov r8d, eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
shl rax, 1
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
cmp qword [rsp + 0xc0], 0
je 0x18018131f
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
jmp 0x180181329
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhDereferenceObject
mov eax, dword [rsp + 0x28]
jmp 0x180181420
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x18018135e
mov eax, dword [rsp + 0xb8]
and eax, 2
test eax, eax
je 0x180181382
cmp qword [rsp + 0xc0], 0
je 0x180181379
call sym.ProcessMonitor.dll_PhReferenceEmptyString
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov eax, dword [rsp + 0x28]
jmp 0x180181420
mov eax, dword [rsp + 0x28]
shl rax, 1
mov rdx, rax
xor ecx, ecx
call sym.ProcessMonitor.dll_PhCreateStringEx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
xor edx, edx
mov ecx, 2
div rcx
inc rax
mov r8d, eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1801813f9
cmp qword [rsp + 0xc0], 0
je 0x1801813e7
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
jmp 0x1801813f1
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhDereferenceObject
mov eax, dword [rsp + 0x28]
jmp 0x180181420
cmp qword [rsp + 0xc0], 0
je 0x180181414
call sym.ProcessMonitor.dll_PhReferenceEmptyString
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x20]
call sym.ProcessMonitor.dll_PhDereferenceObject
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804b60c0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xa0
pop rdi
ret

Function at 0x18000da10
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x180182f90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_EnumWindows]
add rsp, 0x20
pop rdi
ret
Function at 0x18000dc80
Capabilities:
Initialize winhttp library
Reference cloudflare dns server

Disassembly:
jmp 0x180227970
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x30]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
lea rcx, [0x1805a5810]
call fcn.180012d60
movzx eax, al
test eax, eax
je 0x180227b3e
cmp dword [0x18059ff7c], 0x3f
jb 0x1802279c3
mov dword [rsp + 0xc4], 4
jmp 0x1802279ce
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xc4]
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [0x1808ea750], rax
cmp qword [0x1808ea750], 0
je 0x180227b32
cmp dword [0x18059ff7c], 0x3f
jae 0x180227a30
mov dword [rsp + 0x34], 0xa00
mov r9d, 4
lea r8, [rsp + 0x34]
mov edx, 0x54
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
jmp 0x180227aae
mov dword [rsp + 0x54], 0x2a00
mov r9d, 4
lea r8, [rsp + 0x54]
mov edx, 0x54
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [rsp + 0x74], 3
mov r9d, 4
lea r8, [rsp + 0x74]
mov edx, 0x76
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [0x18059ff7c], 0x64
jb 0x180227aae
mov dword [rsp + 0x94], 1
mov r9d, 4
lea r8, [rsp + 0x94]
mov edx, 0x85
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [rsp + 0xb4], 1
mov r9d, 4
lea r8, [rsp + 0xb4]
mov edx, 0x49
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [0x18059ff7c], 0x64
jb 0x180227b32
cmp qword [rsp + 0xf0], 0
je 0x180227aff
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xc8], rax
jmp 0x180227b0e
lea rax, str.1.1.1.1
mov qword [rsp + 0xc8], rax
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [0x1808ea758], rax
lea rcx, [0x1805a5810]
call sym.ProcessMonitor.dll_PhfEndInitOnce
cmp dword [0x18059ff7c], 0x64
jae 0x180227b97
cmp qword [rsp + 0xf0], 0
je 0x180227b64
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xd0], rax
jmp 0x180227b73
lea rax, str.1.1.1.1
mov qword [rsp + 0xd0], rax
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [0x1808ea750]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [0x1808ea758], rax
mov rax, qword [0x1808ea758]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804e25c0]
call fcn.180014e20
mov rax, rdi
add rsp, 0xe0
pop rdi
ret

Function at 0x18000dcc0
Capabilities:
Hash data with md5

Disassembly:
jmp 0x180234c10
mov qword [rsp + 8], rcx
push rdi
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax + 8], 0x10325476
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x10]
mov dword [rcx + rax], 0
pop rdi
ret
Function at 0x18000dce0
Capabilities:
Set http header

Disassembly:
jmp 0x1802264c0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
cmp dword [rsp + 0x50], 0
je 0x1802264e5
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
jmp 0x1802264ed
mov dword [rsp + 0x20], 0xffffffff
mov r9d, 0xa0000000
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x18022651a
mov dword [rsp + 0x24], 1
jmp 0x180226522
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
add rsp, 0x30
pop rdi
ret
Function at 0x18000e1b0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800ca830
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rdi, [rsp + 0x30]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x110]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xc8], rax
mov r8b, 2
lea rdx, [0x18059c058]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlInitializeSid]
xor edx, edx
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlSubAuthoritySid]
mov dword [rax], 0x20
mov edx, 1
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlSubAuthoritySid]
mov dword [rax], 0x220
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov qword [rsp + 0xe8], rax
lea rcx, [0x1805a0f18]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov eax, eax
mov rcx, qword [rsp + 0xe8]
lea rax, [rcx + rax + 0x48]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov ecx, eax
call sym.ProcessMonitor.dll_PhAllocate
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 0x28
mov qword [rsp + 0xd0], rax
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
mov eax, dword [rsp + 0x90]
sub rax, 0x28
mov r8d, 2
mov edx, eax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
mov r9, qword [rsp + 0xc8]
mov r8d, 0x1f0001
mov edx, 2
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
lea r9, [0x1805a0f18]
mov r8d, 1
mov edx, 2
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
xor r9d, r9d
mov r8, qword [rsp + 0xd0]
mov dl, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
mov dword [rsp + 0x48], 0x30
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x60], 0x40
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
call sym.ProcessMonitor.dll_PhIsExecutingInWow64
movzx eax, al
test eax, eax
je 0x1800caa0a
mov qword [rsp + 0xf0], 0xb0
jmp 0x1800caa16
mov qword [rsp + 0xf0], 0xb0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xf0]
mov r8d, 4
lea rdx, [rsp + 0x48]
lea rcx, [0x180c38da8]
call qword [sym.imp.ntdll.dll_NtCreatePort]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x88]
call sym.ProcessMonitor.dll_PhFree
cmp dword [rsp + 0x30], 0
jge 0x1800caa5c
mov eax, dword [rsp + 0x30]
jmp 0x1800caaa3
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x180c38dbc], eax
mov dword [rsp + 0xd8], 0
jmp 0x1800caa85
mov eax, dword [rsp + 0xd8]
inc eax
mov dword [rsp + 0xd8], eax
cmp dword [rsp + 0xd8], 2
jae 0x1800caa9f
xor edx, edx
lea rcx, [0x18000da90]
call sym.ProcessMonitor.dll_PhCreateThread2
jmp 0x1800caa75
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180484300]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x100
pop rdi
ret
Function at 0x18000e3b0
Capabilities:
Map section object

Disassembly:
jmp 0x1801c3e70
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801c3f15
mov eax, dword [rsp + 0x50]
jmp 0x1801c3f4e
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x88]
mov rcx, 0xffffffffffffffff
call sym.ProcessMonitor.dll_PhGetProcessMappedFileName
mov dword [rsp + 0x50], eax
mov rdx, qword [rsp + 0x88]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804d00c0]
call fcn.180014e20
mov rax, rdi
add rsp, 0xa0
pop rdi
ret

Function at 0x18000e3d0
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180178720
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov qword [rsp], 0
mov qword [rsp + 0x10], 0
mov dword [rsp + 0x18], 0
jmp 0x18017875e
mov eax, dword [rsp + 0x18]
inc eax
mov dword [rsp + 0x18], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x18], eax
jae 0x1801787fe
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp + 0x18]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x40], rax
jb 0x1801787f9
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx + 0x10]
add rax, rcx
cmp qword [rsp + 0x40], rax
jae 0x1801787f9
mov rax, qword [rsp + 8]
mov eax, dword [rax + 8]
mov qword [rsp], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
jmp 0x1801787fe
jmp 0x180178754
cmp qword [rsp + 0x10], 0
je 0x18017882a
cmp qword [rsp], 0
je 0x18017882a
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
mov qword [rax], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov qword [rax], rcx
xor eax, eax
jmp 0x18017882f
mov eax, 0xc0000049
add rsp, 0x20
pop rdi
ret
Function at 0x18000e4a0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1802af5f0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1802aefc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1802af631
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180c63010]
jmp 0x1802af637
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x18000e890
Capabilities:
Get geographical location

Disassembly:
jmp 0x180346b50
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.180345a80
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180346bb7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x180c63030]
jmp 0x180346bd9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.18000aaa0
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x18000e8f0
Capabilities:
Terminate process

Disassembly:
jmp 0x180277540
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x18000ec00
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x180160cb0
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x180160cec
mov byte [0x1808e8fc0], 1
xor r8d, r8d
xor edx, edx
lea rcx, str.String
call sym.ProcessMonitor.dll_PhCreateObjectType
mov qword [0x1808e8f98], rax
xor r8d, r8d
xor edx, edx
lea rcx, str.Bytes
call sym.ProcessMonitor.dll_PhCreateObjectType
mov qword [0x1808e8fa0], rax
mov qword [rsp + 0x28], 0x10
mov dword [rsp + 0x30], 0x80
lea r9, [rsp + 0x28]
lea r8, [0x180004ee0]
mov edx, 1
lea rcx, str.List
call sym.ProcessMonitor.dll_PhCreateObjectTypeEx
mov qword [0x1808e8fa8], rax
lea r8, [0x180017e30]
xor edx, edx
lea rcx, str.PointerList
call sym.ProcessMonitor.dll_PhCreateObjectType
mov qword [0x1808e8fb0], rax
mov qword [rsp + 0x28], 0x48
mov dword [rsp + 0x30], 0x40
lea r9, [rsp + 0x28]
lea r8, [0x180011ba0]
mov edx, 1
lea rcx, str.Hashtable
call sym.ProcessMonitor.dll_PhCreateObjectTypeEx
mov qword [0x1808e8fb8], rax
mov r8d, 0x10
mov edx, 0x10
lea rcx, [0x1808e8fd0]
call sym.ProcessMonitor.dll_PhInitializeFreeList
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x180c3933c], eax
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804ac320]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x60
pop rdi
ret