joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140213998
Capabilities:
Check processdebugport

Disassembly:
jmp 0x14030a0b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x140961e80]
xor rax, rbp
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0x28], 7
mov dword [rbp + 0x2c], 0
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rbp + 0x28]
mov edx, 0x34
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14030a199
mov eax, dword [rbp + 0x2c]
shr eax, 3
and eax, 1
test eax, eax
je 0x14030a14c
mov dword [rbp + 0xf4], 1
jmp 0x14030a156
mov dword [rbp + 0xf4], 0
mov rax, qword [rbp + 0x128]
movzx ecx, byte [rbp + 0xf4]
mov byte [rax], cl
mov eax, dword [rbp + 0x2c]
shr eax, 4
and eax, 1
test eax, eax
je 0x14030a17f
mov dword [rbp + 0xf4], 1
jmp 0x14030a189
mov dword [rbp + 0xf4], 0
mov rax, qword [rbp + 0x130]
movzx ecx, byte [rbp + 0xf4]
mov byte [rax], cl
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14075f9f0]
call fcn.1402124fd
mov eax, edi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14020ee98
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1402139e8
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x14040b020
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r8d, 0x40
mov rdx, qword [rsp + 0x30]
mov ecx, 0x51
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
add rsp, 0x20
pop rdi
ret

Function at 0x140213aa6
Capabilities:
Set file attributes

Disassembly:
jmp 0x1403fb840
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 dword [rsp + 0x30], 0xc0000001
cmp dword [0x14095f7f0], 0x6a
jb 0x1403fb8a9
mov dword [rsp + 0x44], 0x13
mov dword [rsp + 0x20], 0x40
mov r9d, 4
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1403fb8e8
mov byte [rsp + 0x94], 1
mov dword [rsp + 0x20], 0xd
mov r9d, 1
lea r8, [rsp + 0x94]
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1403fb932
mov dword [rsp + 0x20], 0x1000
mov r9d, 4
mov r8d, 0x10000
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0xe8]
call fcn.14020a51e
test eax, eax
jl 0x1403fb932
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ntdll.dll_NtClose]
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1407a1ed0]
call fcn.1402124fd
mov eax, edi
add rsp, 0x100
pop rdi
ret
Function at 0x140213c31
Capabilities:
Get file attributes

Disassembly:
jmp 0x1403fb2f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [0x140961e80]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1403fb376
lea rax, [rsp + 0x78]
mov rdi, qword [rsp + 0xd8]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1407a1850]
call fcn.1402124fd
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0xb8
pop rdi
pop rsi
ret

Function at 0x140213d35
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140402400
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.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x38], rax
xor eax, eax
cmp eax, 1
je 0x140402536
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_NtEnumerateValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x8000001a
jne 0x14040249f
mov dword [rsp + 0x30], 0
jmp 0x140402536
cmp dword [rsp + 0x30], 0x80000005
je 0x1404024b3
cmp dword [rsp + 0x30], 0xc0000023
jne 0x1404024fc
mov rcx, qword [rsp + 0x38]
call sym.SystemInformer.exe_PhFree
mov eax, dword [rsp + 0x44]
mov ecx, eax
call sym.SystemInformer.exe_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_NtEnumerateValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140402505
jmp 0x140402536
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 0x140402527
jmp 0x140402536
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x14040244e
mov rcx, qword [rsp + 0x38]
call sym.SystemInformer.exe_PhFree
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1407a4c90]
call fcn.1402124fd
mov eax, edi
add rsp, 0x60
pop rdi
ret
Function at 0x140213de9
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1403ad7d0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x14096aed4]
call fcn.14020d7b4
test eax, eax
jge 0x1403ad7fa
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
nop
mov ecx, dword [0x14096fabc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403ad821
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x30], rcx
add rsp, 0x30
pop rdi
ret

Function at 0x140213e3e
Capabilities:
Get user security identifier

Disassembly:
jmp 0x14043a120
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
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]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
call fcn.140210adb
movzx eax, al
test eax, eax
jne 0x14043a178
mov eax, 0xc0000106
jmp 0x14043a338
call fcn.140213cb8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x98], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14020a546
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x14043a308
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax], 7
je 0x14043a300
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax], 8
je 0x14043a300
cmp qword [rsp + 0xc8], 0
je 0x14043a25a
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + rax + 8]
call fcn.14020ddfe
mov eax, eax
mov ecx, 0x18
imul rcx, rcx, 0
mov edx, eax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax + rcx + 8]
call fcn.140211b34
mov rcx, qword [rsp + 0xc8]
mov qword [rcx], rax
cmp qword [rsp + 0xd0], 0
je 0x14043a2d5
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + rax + 0x10], 0
jl 0x14043a2c5
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movsxd rax, dword [rcx + rax + 0x10]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x78]
add rax, qword [rcx + 8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.14020d3b3
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
jmp 0x14043a2d5
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
cmp qword [rsp + 0xd8], 0
je 0x14043a2fe
mov eax, 0x18
imul rax, rax, 0
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x98]
mov eax, dword [rdx + rax]
mov dword [rcx], eax
jmp 0x14043a308
mov dword [rsp + 0x30], 0xc0000073
cmp qword [rsp + 0x78], 0
je 0x14043a31b
mov rcx, qword [rsp + 0x78]
call fcn.14020bfd6
nop
cmp qword [rsp + 0x98], 0
je 0x14043a334
mov rcx, qword [rsp + 0x98]
call fcn.14020bfd6
nop
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407c0ef0]
call fcn.1402124fd
mov rax, rdi
add rsp, 0xb0
pop rdi
ret
Function at 0x140213e93
Capabilities:
Pause service

Disassembly:
jmp 0x1404297f0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x140961e80]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x38]
mov edx, 2
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14042984b
mov dword [rsp + 0x20], 0
jmp 0x140429854
call fcn.1402107d9
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1407b7e50]
call fcn.1402124fd
mov eax, edi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0x80
pop rdi
ret

Function at 0x140213f15
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140401fb0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
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 + 0x84], 0x10
cmp qword [rsp + 0xa8], 0
je 0x14040202e
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0
je 0x14040202e
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call fcn.140210adb
movzx eax, al
test eax, eax
jne 0x14040202c
mov eax, 0xc0000106
jmp 0x1404020fd
jmp 0x14040203e
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140214b0e
nop
mov dword [rsp + 0x74], 0x100
mov eax, dword [rsp + 0x74]
mov ecx, eax
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
mov r8d, dword [rsp + 0xb0]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140402095
jmp 0x1404020e9
cmp dword [rsp + 0x30], 0x80000005
jne 0x1404020bb
mov rcx, qword [rsp + 0x68]
call sym.SystemInformer.exe_PhFree
mov eax, dword [rsp + 0x74]
mov ecx, eax
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x68], rax
jmp 0x1404020cb
mov rcx, qword [rsp + 0x68]
call sym.SystemInformer.exe_PhFree
mov eax, dword [rsp + 0x30]
jmp 0x1404020fd
mov eax, dword [rsp + 0x84]
dec eax
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jne 0x140402056
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407a4b10]
call fcn.1402124fd
mov rax, rdi
add rsp, 0x90
pop rdi
ret

Function at 0x140213f24
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1403b8330
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
cmp dword [0x14095f7f0], 0xffffffff
jae 0x1403b835c
cmp dword [rsp + 0x30], 0x40
jae 0x1403b835c
call fcn.140212854
mov ecx, dword [rsp + 0x30]
mov rax, qword [rax + rcx*8 + 0x1480]
jmp 0x1403b8366
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x20
pop rdi
ret
Function at 0x140214267
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1402f3e40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
cmp qword [0x140967450], 0
jne 0x1402f3ed0
cmp dword [0x14096ef34], 0
je 0x1402f3e73
mov qword [rbp + 0xc0], 0
jmp 0x1402f3e81
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0xc0], rax
mov qword [rsp + 0x20], 0
lea r9, [0x14021488e]
mov r8, qword [rbp + 0xc0]
mov edx, 0x8a
mov rcx, qword [0x14096b2d0]
call sym.SystemInformer.exe_PhCreateDialog
mov qword [0x140967450], rax
mov rcx, qword [0x140967450]
call sym.SystemInformer.exe_PhRegisterDialog
nop
mov edx, 5
mov rcx, qword [0x140967450]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rcx, qword [0x140967450]
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1402f3ef6
mov edx, 9
mov rcx, qword [0x140967450]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
jmp 0x1402f3f04
mov rcx, qword [0x140967450]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret
Function at 0x14021437a
Capabilities:
Modify service

Disassembly:
jmp 0x1404292b0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x140429356
mov dword [rsp + 0x60], 0
jmp 0x14042935f
call fcn.1402107d9
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
add rsp, 0x70
pop rdi
ret
Function at 0x140214497
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x1403fd340
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x34], 0x800
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xc0000004
jne 0x1403fd3d8
mov rcx, qword [rsp + 0x28]
call sym.SystemInformer.exe_PhFree
mov eax, dword [rsp + 0x34]
mov ecx, eax
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1403fd3e5
mov eax, dword [rsp + 0x20]
jmp 0x1403fd3f6
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407a2c00]
call fcn.1402124fd
mov rax, rdi
add rsp, 0x50
pop rdi
ret

Function at 0x1402145dc
Capabilities:
Prepare http request

Disassembly:
jmp 0x1404d04e0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x40]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x44], 0
mov r9d, 2
lea r8, [0x1407dd970]
mov edx, dword [rsp + 0x88]
lea rcx, [rsp + 0x44]
call sym.SystemInformer.exe_PhMapFlags1
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x10], 0
jne 0x1404d0587
xor al, al
jmp 0x1404d059b
xor r8d, r8d
mov edx, 2
mov rcx, qword [rsp + 0x70]
call sym.SystemInformer.exe_PhHttpSocketSetFeature
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407ddb70]
call fcn.1402124fd
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x140214c3f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14047fcb0
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x30]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.14020e1d7
test eax, eax
je 0x14047fcfd
movzx eax, byte [rsp + 0x70]
mov dword [rsp + 0x44], eax
jmp 0x14047fd05
mov dword [rsp + 0x44], 0x2e
movzx eax, word [rsp + 0x44]
mov word [rsp + 0x34], ax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x34]
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax]
mov rax, qword [rsp + 0x78]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_TextOutW]
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x3c]
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x88]
mov dword [rcx], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x24]
cmp dword [rax], ecx
jne 0x14047fdb2
mov rax, qword [rsp + 0x88]
mov dword [rax], 0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x54]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
add eax, dword [rcx + 0x38]
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rcx, rsp
lea rdx, [0x1407d5e50]
call fcn.1402124fd
add rsp, 0x50
pop rdi
ret
Function at 0x140214f00
Capabilities:
Get file attributes

Disassembly:
jmp 0x14040d0d0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x30]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x70], 0x200
mov eax, dword [rsp + 0x70]
mov ecx, eax
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x68], rax
xor eax, eax
cmp eax, 1
je 0x14040d192
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x80000005
je 0x14040d168
cmp dword [rsp + 0x30], 0xc0000023
je 0x14040d168
cmp dword [rsp + 0x30], 0xc0000004
jne 0x14040d18e
mov rcx, qword [rsp + 0x68]
call sym.SystemInformer.exe_PhFree
mov eax, dword [rsp + 0x70]
shl eax, 1
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov ecx, eax
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x68], rax
jmp 0x14040d190
jmp 0x14040d192
jmp 0x14040d117
cmp dword [rsp + 0x30], 0
jl 0x14040d1ab
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
jmp 0x14040d1b6
mov rcx, qword [rsp + 0x68]
call sym.SystemInformer.exe_PhFree
nop
mov eax, dword [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1407ab370]
call fcn.1402124fd
mov eax, edi
add rsp, 0x80
pop rdi
ret
Function at 0x140440de0
Capabilities:
Parse pe header

Disassembly:
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 qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0xc0]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
jge 0x140440e45
xor al, al
jmp 0x140440f1c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140440e65
xor al, al
jmp 0x140440f1c
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x4550
je 0x140440e98
xor al, al
jmp 0x140440f1c
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0x98], rax
cmp dword [rsp + 0x98], 0
je 0x140440ecd
cmp dword [rsp + 0x9c], 0
jne 0x140440ed1
xor al, al
jmp 0x140440f1c
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0xc8], rax
jb 0x140440f1a
mov eax, dword [rsp + 0x9c]
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0xc8], rax
jae 0x140440f1a
mov al, 1
jmp 0x140440f1c
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407c4f50]
call fcn.1402124fd
mov rax, rdi
add rsp, 0xb0
pop rdi
ret

Function at 0x140440f40
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x30]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14096c7f8]
mov qword [rsp + 0x30], rax
jmp 0x140440f76
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140440fd9
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x88], 0x10000
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x68]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtProtectVirtualMemory]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x140440fd7
mov eax, dword [rsp + 0x38]
jmp 0x140440fdb
jmp 0x140440f68
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407c5040]
call fcn.1402124fd
mov rax, rdi
add rsp, 0xa0
pop rdi
ret
Function at 0x140441170
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x30]
mov ecx, 0x28
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe0]
call fcn.140441110
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0x30], rax
jae 0x1404412fe
mov rax, qword [0x140960910]
cmp qword [rsp + 0x30], rax
jb 0x1404411ee
mov rax, qword [0x140960918]
cmp qword [rsp + 0x30], rax
ja 0x1404411ee
mov rax, qword [rsp + 0x30]
add rax, 0x8000000
mov qword [rsp + 0x30], rax
jmp 0x1404411ad
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1402118af
nop
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtQueryVirtualMemory]
test eax, eax
jge 0x140441236
jmp 0x1404412fe
cmp dword [rsp + 0x68], 0x10000
jne 0x1404412dc
cmp qword [rsp + 0x60], 0x10000
jb 0x1404412dc
mov qword [rsp + 0x98], 0x10000
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, [rsp + 0xb8]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
jl 0x1404412b9
mov rax, qword [rsp + 0xb8]
jmp 0x140441300
cmp dword [rsp + 0x84], 0xc0000604
jne 0x1404412ca
xor eax, eax
jmp 0x140441300
mov rax, qword [rsp + 0x30]
add rax, 0x10000
mov qword [rsp + 0x30], rax
jmp 0x1404412f9
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140441110
mov qword [rsp + 0x30], rax
jmp 0x1404411ad
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407c5220]
call fcn.1402124fd
mov rax, rdi
add rsp, 0xd0
pop rdi
ret