joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14020c4e5
Capabilities:
Parse pe header

Disassembly:
jmp 0x14041f590
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14041f5bd
mov eax, 0xc000012f
jmp 0x14041f617
mov rax, qword [rsp]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x10], eax
cmp dword [rsp + 0x10], 0
je 0x14041f5d9
cmp dword [rsp + 0x10], 0x7fffffff
jb 0x14041f5e0
mov eax, 0xc000007b
jmp 0x14041f617
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x14041f608
mov eax, 0xc000007b
jmp 0x14041f617
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 8]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x14020c562
Capabilities:
Get file attributes

Disassembly:
jmp 0x1403fb560
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 + 0x20], 0xe
mov r9d, 8
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1403fb5c2
mov eax, dword [rsp + 0x30]
jmp 0x1403fb5d6
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407a1ac0]
call fcn.1402124fd
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x14020c5d5
Capabilities:
Map section object

Disassembly:
jmp 0x14044c4e0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x50]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov byte [rsp + 0x54], 0
cmp qword [rsp + 0xf0], 0
jne 0x14044c53a
cmp qword [rsp + 0xf8], 0
jne 0x14044c53a
mov eax, 0xc0000030
jmp 0x14044c6cb
cmp qword [rsp + 0xf8], 0
jne 0x14044c597
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x100081
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xf8]
call sym.SystemInformer.exe_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14044c592
mov eax, dword [rsp + 0x50]
jmp 0x14044c6cb
mov byte [rsp + 0x54], 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
call sym.SystemInformer.exe_PhGetFileSize
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14044c5b9
jmp 0x14044c6af
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 5
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14044c601
jmp 0x14044c6af
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x50], 0
jge 0x14044c68c
jmp 0x14044c6af
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x14044c6c7
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407cd190]
call fcn.1402124fd
mov rax, rdi
add rsp, 0xe0
pop rdi
ret

Function at 0x14020c5fd
Capabilities:
Terminate process

Disassembly:
jmp 0x1403d0890
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
cmp qword [rax + 8], 0
je 0x1403d08b6
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1403d08e0
xor edx, edx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtTerminateProcess]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ntdll.dll_NtClose]
nop
add rsp, 0x20
pop rdi
ret
Function at 0x14020c819
Capabilities:
Map section object

Disassembly:
jmp 0x14044c6f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x50]
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov byte [rsp + 0x54], 0
cmp qword [rsp + 0xf0], 0
jne 0x14044c74a
cmp qword [rsp + 0xf8], 0
jne 0x14044c74a
mov eax, 0xc0000030
jmp 0x14044c8db
cmp qword [rsp + 0xf8], 0
jne 0x14044c7a7
mov dword [rsp + 0x30], 0x60
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0x80
mov r8d, 0x100081
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xf8]
call sym.SystemInformer.exe_PhCreateFile
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14044c7a2
mov eax, dword [rsp + 0x50]
jmp 0x14044c8db
mov byte [rsp + 0x54], 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xf8]
call sym.SystemInformer.exe_PhGetFileSize
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14044c7c9
jmp 0x14044c8bf
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 5
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14044c811
jmp 0x14044c8bf
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rsp + 0x50], 0
jge 0x14044c89c
jmp 0x14044c8bf
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x14044c8d7
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407cd2e0]
call fcn.1402124fd
mov rax, rdi
add rsp, 0xe0
pop rdi
ret
Function at 0x14020cdaf
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x1403e8630
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140961e80]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8d, 0x40
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1402118af
xor r9d, r9d
mov r8d, 0x40
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jge 0x1403e86b7
mov dword [rsp + 0x38], 0x1000
mov byte [rsp + 0x68], 1
mov dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x48], 0x10000
mov qword [rsp + 0x58], 0x10000
mov qword [rsp + 0x60], 0xffff
movzx eax, word [rsp + 0x38]
mov word [sym.SystemInformer.exe_PhSystemBasicInformation], ax
movsx ax, byte [rsp + 0x68]
mov word [0x14096b412], ax
mov eax, dword [rsp + 0x3c]
mov dword [0x14096b414], eax
mov eax, dword [rsp + 0x48]
mov dword [0x14096b418], eax
mov rax, qword [rsp + 0x58]
mov qword [0x14096b420], rax
mov rax, qword [rsp + 0x60]
mov qword [0x14096b428], rax
mov rcx, rsp
lea rdx, [0x1407993c0]
call fcn.1402124fd
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0x90
pop rdi
ret
Function at 0x14020d06b
Capabilities:
Initialize winhttp library

Disassembly:
jmp 0x1404d01b0
mov qword [rsp + 0x10], rdx
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]
mov ecx, 0x18
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x30], rax
mov r8d, 0x18
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1402118af
cmp dword [0x14095f7f0], 0x3f
jb 0x1404d0212
mov dword [rsp + 0xd4], 4
jmp 0x1404d021d
mov dword [rsp + 0xd4], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x1404d0264
mov rcx, qword [rsp + 0x30]
call sym.SystemInformer.exe_PhFree
xor al, al
jmp 0x1404d0369
cmp dword [0x14095f7f0], 0x3f
jae 0x1404d0299
mov dword [rsp + 0x44], 0xa00
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 0x54
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
nop
jmp 0x1404d0357
mov dword [rsp + 0x64], 0x2800
mov r9d, 4
lea r8, [rsp + 0x64]
mov edx, 0x54
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov dword [rsp + 0x84], 3
mov r9d, 4
lea r8, [rsp + 0x84]
mov edx, 0x76
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [0x14095f7f0], 0x64
jb 0x1404d0321
mov dword [rsp + 0xa4], 1
mov r9d, 4
lea r8, [rsp + 0xa4]
mov edx, 0x85
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
nop
cmp dword [0x14095f7f0], 0x72
jb 0x1404d0357
mov dword [rsp + 0xc4], 1
mov r9d, 4
lea r8, [rsp + 0xc4]
mov edx, 0xc3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
nop
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407ddb10]
call fcn.1402124fd
mov rax, rdi
add rsp, 0xe0
pop rdi
ret

Function at 0x14020d084
Capabilities:
Modify service

Disassembly:
jmp 0x140429370
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
je 0x1404293a5
mov dword [rsp + 0x20], 0
jmp 0x1404293ae
call fcn.1402107d9
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x14020d0a7
Capabilities:
Continue service

Disassembly:
jmp 0x140429750
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, 3
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1404297ab
mov dword [rsp + 0x20], 0
jmp 0x1404297b4
call fcn.1402107d9
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1407b7df0]
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 0x14020d1ab
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1403ce010
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x10
mov eax, dword [rsp + 0x20]
xor eax, 0xffffffff
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp], 0
je 0x1403ce087
mov eax, dword [rsp + 0x20]
shr eax, 8
mov rcx, qword [rsp + 0x28]
movsx ecx, byte [rcx]
mov edx, dword [rsp + 0x20]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x1407c3620]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1403ce02e
mov eax, dword [rsp + 0x20]
xor eax, 0xffffffff
add rsp, 0x10
pop rdi
ret

Function at 0x14020d28c
Capabilities:
Get graphical window text

Disassembly:
jmp 0x1403d8500
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov eax, dword [rsp + 0x48]
and eax, 1
test eax, eax
je 0x1403d853e
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov dword [rsp + 0x24], eax
jmp 0x1403d8557
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1403d8569
call fcn.1402107d9
mov dword [rsp + 0x20], eax
jmp 0x1403d8571
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x60], 0
je 0x1403d8584
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x14020d29b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1402fc520
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x140961e80]
xor rax, rbp
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x1d0]
mov rax, qword [rax]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1402fc59f
movzx eax, byte [rbp + 0x1e0]
test eax, eax
je 0x1402fc595
xor eax, eax
jmp 0x1402fc6c4
mov eax, 0xc0000005
jmp 0x1402fc6c4
mov rax, qword [rbp + 0x1c0]
mov eax, dword [rax]
cmp qword [rbp + 8], rax
jb 0x1402fc5b8
mov eax, 0xc0000005
jmp 0x1402fc6c4
mov rax, qword [rbp + 8]
and rax, 1
test rax, rax
je 0x1402fc5cf
mov eax, 0x80000002
jmp 0x1402fc6c4
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x1c8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x1c0]
mov eax, dword [rax]
and eax, 0xfffffffe
mov eax, eax
mov rcx, qword [rbp + 0x1c8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
shl rax, 1
mov qword [rbp + 0x68], rax
movzx eax, byte [rbp + 0x1d8]
test eax, eax
je 0x1402fc690
mov qword [rbp + 0xc8], 0
lea r9, [rbp + 0x68]
lea r8, [rbp + 0x98]
xor edx, edx
lea rcx, [rbp + 0x68]
call sym.SystemInformer.exe_PhSplitStringRefAtChar
movzx eax, al
test eax, eax
je 0x1402fc68e
mov rax, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0x98]
lea rax, [rax + rcx + 2]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0x98], 0
jne 0x1402fc68c
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
xor eax, eax
jmp 0x1402fc6c4
jmp 0x1402fc639
jmp 0x1402fc6bf
lea r9, [rbp + 0x68]
lea r8, [rbp + 0x98]
xor edx, edx
lea rcx, [rbp + 0x68]
call sym.SystemInformer.exe_PhSplitStringRefAtChar
movzx eax, al
test eax, eax
je 0x1402fc6bf
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
xor eax, eax
jmp 0x1402fc6c4
mov eax, 0xc0000005
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14075a2a0]
call fcn.1402124fd
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.14020ee98
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x14020d2e1
Capabilities:
Receive http response

Disassembly:
jmp 0x1404d0bf0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1080
call fcn.14020bc9d
sub rsp, rax
lea rdi, [rsp + 0x20]
mov ecx, 0x418
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1090]
mov rax, qword [0x140961e80]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov dword [rsp + 0x28], 0x1000
mov eax, dword [rsp + 0x28]
mov ecx, eax
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x2c], 0
lea r9, [rsp + 0x34]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1090]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1404d0ce9
cmp dword [rsp + 0x34], 0
jne 0x1404d0c83
jmp 0x1404d0ce9
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x28], eax
jae 0x1404d0cb4
mov eax, dword [rsp + 0x28]
shl eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call sym.SystemInformer.exe_PhReAllocate
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x20]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
lea rdx, [rsp + 0x60]
call fcn.14020eed9
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x1404d0c58
mov eax, dword [rsp + 0x2c]
inc eax
cmp dword [rsp + 0x28], eax
jae 0x1404d0d14
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call sym.SystemInformer.exe_PhReAllocate
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x20]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x2c], 0
je 0x1404d0d6f
cmp qword [rsp + 0x1098], 0
je 0x1404d0d45
mov rax, qword [rsp + 0x1098]
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
jmp 0x1404d0d50
mov rcx, qword [rsp + 0x20]
call sym.SystemInformer.exe_PhFree
nop
cmp qword [rsp + 0x10a0], 0
je 0x1404d0d69
mov rax, qword [rsp + 0x10a0]
mov ecx, dword [rsp + 0x2c]
mov dword [rax], ecx
mov al, 1
jmp 0x1404d0d7b
mov rcx, qword [rsp + 0x20]
call sym.SystemInformer.exe_PhFree
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407dded0]
call fcn.1402124fd
mov rax, rdi
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0x1080
pop rdi
ret

Function at 0x14020d39a
Capabilities:
Set file attributes

Disassembly:
jmp 0x1403fb740
mov qword [rsp + 0x10], rdx
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 rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0x13
mov r9d, 8
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407a1cd0]
call fcn.1402124fd
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x14020d41c
Capabilities:
Get file attributes

Disassembly:
jmp 0x1403fb150
mov qword [rsp + 0x10], rdx
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 + 0x20], 4
mov r9d, 0x28
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407a1690]
call fcn.1402124fd
mov rax, rdi
add rsp, 0x60
pop rdi
ret
Function at 0x14020d589
Capabilities:
Suspend thread

Disassembly:
jmp 0x140231930
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140961e80]
xor rax, rbp
mov qword [rbp + 0x178], rax
mov byte [rbp + 4], 1
mov byte [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
jmp 0x140231990
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x1b0]
cmp dword [rbp + 0x44], eax
jae 0x140231af9
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x1a8]
mov rax, qword [rcx + rax*8]
mov r8, qword [rax]
mov edx, 2
lea rcx, [rbp + 0x88]
call sym.SystemInformer.exe_PhOpenThread
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jl 0x1402319ea
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_NtSuspendThread]
mov dword [rbp + 0x64], eax
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
nop
cmp dword [rbp + 0x64], 0
jge 0x140231af4
mov byte [rbp + 4], 0
movzx eax, byte [rbp + 0x24]
test eax, eax
jne 0x140231abe
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x1a8]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax]
call fcn.14020a55f
mov edx, eax
lea rcx, str.Unable_to_suspend_thread__lu
call fcn.140210833
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rax + 8]
mov rcx, qword [rbp + 0x1a0]
call fcn.14020b577
movzx eax, al
test eax, eax
je 0x140231abe
movzx eax, byte [rbp + 0xa4]
test eax, eax
je 0x140231ab8
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x1a8]
mov rax, qword [rcx + rax*8]
xor r8d, r8d
mov edx, 2
mov rcx, qword [rax]
call fcn.14021497e
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jl 0x140231a82
mov byte [rbp + 4], 1
jmp 0x140231ab0
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x20], 0
mov r9d, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x1a8]
mov r8, qword [rcx + rax*8]
lea rdx, str.suspend
mov rcx, qword [rbp + 0x1a0]
call fcn.140233ee0
nop
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
nop
jmp 0x140231abc
mov byte [rbp + 0x24], 1
jmp 0x140231af4
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x20], 0
mov r9d, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x1a8]
mov r8, qword [rcx + rax*8]
lea rdx, str.suspend
mov rcx, qword [rbp + 0x1a0]
call fcn.140233ee0
movzx eax, al
test eax, eax
jne 0x140231af4
jmp 0x140231af9
jmp 0x140231988
movzx eax, byte [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14064b290]
call fcn.1402124fd
mov eax, edi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14020ee98
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret