joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140076e6c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140076e94
mov rdx, qword [r8]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
cmp qword [r8 + 0x10], rcx
jbe 0x140076ec4
movzx eax, byte [rdx + rcx]
xor rbx, rax
movabs r8, 0x100000001b3
imul rbx, r8
inc rcx
cmp rcx, qword [r14 + 0x10]
jb 0x140076ea6
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
call fcn.1400773d8
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140076eea
mov qword [rsi], rax
mov byte [rsi + 8], 0
jmp 0x14007705b
movabs rax, 0x3ffffffffffffff
cmp qword [0x14014e3a0], rax
jne 0x140076f0b
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x14014e398]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x38], 0
mov ecx, 0x40
call fcn.1400774c0
mov rdi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
and qword [rax + 0x20], 0
and qword [rax + 0x28], 0
movups xmm0, xmmword [r14]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x20], xmm1
and qword [r14 + 0x10], 0
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
xor eax, eax
mov qword [rdi + 0x30], rax
mov dword [rdi + 0x38], eax
mov r8, qword [0x14014e3a0]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140076f85
cvtsi2ss xmm0, rcx
jmp 0x140076f9a
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x14014e3c8]
xorps xmm1, xmm1
test rcx, rcx
js 0x140076fb0
cvtsi2ss xmm1, rcx
jmp 0x140076fc5
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x14014e390]
jbe 0x140076ff8
call fcn.1400770f8
lea r8, [rdi + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x30]
call fcn.1400773d8
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov r8, qword [0x14014e3a0]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 8]
inc r8
mov qword [0x14014e3a0], r8
mov qword [rdi], rcx
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rcx + 8], rdi
and rbx, qword [0x14014e3c0]
add rbx, rbx
mov rax, qword [0x14014e3a8]
mov r8, qword [rax + rbx*8]
cmp r8, qword [0x14014e398]
jne 0x14007703d
mov qword [rax + rbx*8], rdi
jmp 0x14007704f
cmp r8, rcx
jne 0x140077048
mov qword [rax + rbx*8], rdi
jmp 0x140077054
cmp qword [rax + rbx*8 + 8], rdx
jne 0x140077054
mov qword [rax + rbx*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x140078248
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140078292
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140078292
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140078292
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140078292
cmp dword [rcx + 0x84], 0xe
jbe 0x140078292
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140078294
xor al, al
add rsp, 0x28
ret

Function at 0x140078480
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400784ba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400784bf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140078508
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14007ed50]
cmp byte [rcx + rax], 0
je 0x140078508
dec r8
sub rdx, 1
jne 0x1400784ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140078ccc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140078598
mov ebx, eax
test eax, eax
jne 0x140078cfc
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140078d5f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140078d56
test al, 0x10
je 0x140078d56
bt eax, 0xa
jae 0x140078d4f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140078d70
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140078d4b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140078d4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140078d56
and dword [rsp + 0x3c], 0
jmp 0x140078d5b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov rdi, rdx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov esi, dword [r8 + 0x24]
add r10, rcx
mov ebp, dword [r8 + 0x1c]
add rsi, rcx
mov ebx, dword [r8 + 0x18]
add rbp, rcx
test ebx, ebx
je 0x1400018c3
nop dword [rax]
mov eax, dword [r10]
mov r8, rdi
add rax, r11
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400018b3
inc rax
test ecx, ecx
jne 0x1400018a0
test edx, edx
je 0x1400018da
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140001890
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movsxd rax, r9d
movzx ecx, word [rsi + rax*2]
mov eax, dword [rbp + rcx*4]
add rax, r11
jmp 0x1400018c5

Function at 0x140002200
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000224a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000224a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000224a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000224a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000224a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000224c
xor al, al
add rsp, 0x28
ret
Function at 0x141bbc058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141bbc1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141bbc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141bbc06f
add dl, dl
jne 0x141bbc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141bbc0f6
xor eax, eax
add dl, dl
jne 0x141bbc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141bbc1ad
add dl, dl
jne 0x141bbc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141bbc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141bbc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141bbc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141bbc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141bbc07e
mov eax, 1
add dl, dl
jne 0x141bbc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141bbc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141bbc0fb
sub eax, ebx
mov ebx, 1
jne 0x141bbc14c
mov ecx, 1
add dl, dl
jne 0x141bbc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141bbc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141bbc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141bbc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141bbc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141bbc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141bbc15d
cmp eax, 0x7d00
jae 0x141bbc19b
cmp eax, 0x500
jb 0x141bbc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141bbc07e
cmp eax, 0x7f
ja 0x141bbc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141bbc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141bbc1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141bbc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14020a357
Capabilities:
Get file attributes

Disassembly:
jmp 0x1403ff5d0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x60]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov byte [rsp + 0x94], 1
mov dword [rsp + 0x98], 0x2400
mov eax, dword [rsp + 0x98]
mov ecx, eax
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0xa0], rax
xor eax, eax
cmp eax, 1
je 0x1403ff734
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x50], al
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x1d
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntdll.dll_NtQueryDirectoryFile]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x103
jne 0x1403ff6c2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jl 0x1403ff6c2
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x80000006
jne 0x1403ff6d6
mov dword [rsp + 0x60], 0
jmp 0x1403ff734
cmp dword [rsp + 0x60], 0
jge 0x1403ff6df
jmp 0x1403ff734
mov r9, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0xc8]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x80000006
jne 0x1403ff71e
mov dword [rsp + 0x60], 0
jmp 0x1403ff734
cmp dword [rsp + 0x60], 0
jge 0x1403ff727
jmp 0x1403ff734
mov byte [rsp + 0x94], 0
jmp 0x1403ff629
mov rcx, qword [rsp + 0xa0]
call sym.SystemInformer.exe_PhFree
mov eax, dword [rsp + 0x60]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1407a37f0]
call fcn.1402124fd
mov eax, edi
add rsp, 0xb0
pop rdi
ret
Function at 0x14020a410
Capabilities:
Hide graphical window

Disassembly:
jmp 0x1403721c0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
cmp dword [0x14096a768], 0
jne 0x1403721dd
jmp 0x1403722d7
mov dword [0x14096a768], 0
mov qword [0x14096a770], 0
mov dword [rbp + 4], 0
jmp 0x140372203
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov rax, qword [0x14096a6e8]
mov eax, dword [rax]
cmp dword [rbp + 4], eax
jae 0x1403722a1
mov eax, dword [rbp + 4]
mov rcx, qword [0x14096a6e8]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax*8]
mov qword [rbp + 0x28], rax
mov ecx, dword [0x14096a768]
call fcn.14020a14a
xor r9d, r9d
mov r8, rax
mov edx, 3
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x28]
call qword [rax + 0x18]
nop
mov r8d, 3
mov edx, 3
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0x40]
call fcn.14020fc21
nop
xor edx, edx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0xa8]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rax, qword [rbp + 0x28]
cmp qword [rax + 0xa0], 0
je 0x14037229c
xor edx, edx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0xa0]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
jmp 0x1403721fb
xor edx, edx
mov rcx, qword [0x14096a778]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
xor edx, edx
mov rcx, qword [0x14096a788]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
xor edx, edx
mov rcx, qword [0x14096a780]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
call fcn.140212e49
nop
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14020a546
Capabilities:
Get user security identifier

Disassembly:
jmp 0x14051b072
jmp qword [sym.imp.ADVAPI32.dll_LsaLookupNames2]
Function at 0x14020ac49
Capabilities:
Get graphical window text

Disassembly:
jmp 0x14024c9c0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x15a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7e8]
mov rax, qword [0x140961e80]
xor rax, rbp
mov qword [rbp + 0x798], rax
mov dword [rbp + 0x10], 0xd
mov dword [rbp + 0x20], 0xffffffff
mov eax, dword [rbp + 0x7c8]
mov dword [rbp + 0x14], eax
mov dword [rbp + 0x18], 0
mov dword [rbp + 0x30], 0x208
lea rax, [rbp + 0x110]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x90], 0xd
mov dword [rbp + 0xa0], 0xffffffff
mov eax, dword [rbp + 0x7d0]
mov dword [rbp + 0x94], eax
mov dword [rbp + 0x98], 0
mov dword [rbp + 0xb0], 0x208
lea rax, [rbp + 0x340]
mov qword [rbp + 0xa8], rax
lea r9, [rbp + 0x10]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [rbp + 0x7c0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14024cb01
lea r9, [rbp + 0x90]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [rbp + 0x7c0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14024cb01
mov eax, dword [rbp + 0x7d0]
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x7c8]
mov dword [rbp + 0x94], eax
lea r9, [rbp + 0x10]
xor r8d, r8d
mov edx, 0x104c
mov rcx, qword [rbp + 0x7c0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea r9, [rbp + 0x90]
xor r8d, r8d
mov edx, 0x104c
mov rcx, qword [rbp + 0x7c0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x140659ed0]
call fcn.1402124fd
mov rcx, qword [rbp + 0x798]
xor rcx, rbp
call fcn.14020ee98
lea rsp, [rbp + 0x7a8]
pop rdi
pop rbp
ret

Function at 0x14020ace4
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14023f5a0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 0x108]
cmp qword [rax], rcx
jne 0x14023f676
mov rax, qword [rbp + 0x100]
cmp dword [rax + 0x10], 0xffffff65
jne 0x14023f676
mov rax, qword [rbp + 0x100]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax + 0x18]
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 0x41
je 0x14023f641
cmp dword [rbp + 0xd4], 0x43
je 0x14023f615
jmp 0x14023f676
mov eax, dword [rbp + 0x110]
and eax, 1
test eax, eax
je 0x14023f63f
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x14023f63f
mov rcx, qword [rbp + 0x108]
call sym.SystemInformer.exe_PhCopyListView
nop
jmp 0x14023f676
mov eax, dword [rbp + 0x110]
and eax, 2
test eax, eax
je 0x14023f676
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x14023f676
mov r8d, 2
mov edx, 2
mov rcx, qword [rbp + 0x108]
call sym.SystemInformer.exe_PhSetStateAllListViewItems
nop
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14020ad20
Capabilities:
Set file attributes

Disassembly:
jmp 0x1403fb600
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]
cmp qword [rsp + 0x98], 0
je 0x1403fb648
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x1403fb651
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x20], 0xe
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, [0x1407a1b70]
call fcn.1402124fd
mov rax, rdi
add rsp, 0x80
pop rdi
ret

Function at 0x14020adb6
Capabilities:
Set registry value

Disassembly:
jmp 0x140402130
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
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]
cmp qword [rsp + 0x88], 0
je 0x14040218f
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
call fcn.140210adb
movzx eax, al
test eax, eax
jne 0x14040218d
mov eax, 0xc0000106
jmp 0x1404021dd
jmp 0x14040219f
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140214b0e
nop
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407a4b70]
call fcn.1402124fd
mov rax, rdi
add rsp, 0x70
pop rdi
ret

Function at 0x14020ae2e
Capabilities:
Read http header

Disassembly:
jmp 0x1404d0a40
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2f0
lea rdi, [rsp + 0x30]
mov ecx, 0xb0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x300]
mov rax, qword [0x140961e80]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x54], 0x100
mov r9d, 2
lea r8, [0x1407dd980]
mov edx, dword [rsp + 0x308]
lea rcx, [rsp + 0x34]
call sym.SystemInformer.exe_PhMapFlags1
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, dword [rsp + 0x34]
mov rax, qword [rsp + 0x300]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1404d0b3b
lea rax, [rsp + 0x80]
mov qword [rsp + 0x2a0], rax
mov eax, dword [rsp + 0x54]
mov qword [rsp + 0x298], rax
lea r8, [rsp + 0x2c8]
mov edx, 0xa
lea rcx, [rsp + 0x298]
call sym.SystemInformer.exe_PhStringToInteger64
movzx eax, al
test eax, eax
je 0x1404d0b3b
mov rax, qword [rsp + 0x310]
mov rcx, qword [rsp + 0x2c8]
mov qword [rax], rcx
mov al, 1
jmp 0x1404d0b3d
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407dde20]
call fcn.1402124fd
mov rax, rdi
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0x2f0
pop rdi
ret
Function at 0x14020b176
Capabilities:
Get uefi variable

Disassembly:
jmp 0x140409530
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
lea rdi, [rsp + 0x30]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x100]
mov rax, qword [0x140961e80]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0xc4], 0
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x100]
call fcn.140210adb
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x108]
call sym.SystemInformer.exe_PhStringToGuid
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1404095c5
mov eax, dword [rsp + 0x30]
jmp 0x1404096e6
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa4]
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtQuerySystemEnvironmentValueEx]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000023
je 0x140409605
mov eax, 0xc0000001
jmp 0x1404096e6
mov eax, dword [rsp + 0xa4]
mov ecx, eax
call sym.SystemInformer.exe_PhAllocate
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0xa4]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.1402118af
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa4]
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtQuerySystemEnvironmentValueEx]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1404096d4
cmp qword [rsp + 0x110], 0
je 0x14040968c
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
jmp 0x14040969a
mov rcx, qword [rsp + 0x98]
call sym.SystemInformer.exe_PhFree
nop
cmp qword [rsp + 0x118], 0
je 0x1404096b6
mov rax, qword [rsp + 0x118]
mov ecx, dword [rsp + 0xa4]
mov dword [rax], ecx
cmp qword [rsp + 0x120], 0
je 0x1404096d2
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0xc4]
mov dword [rax], ecx
jmp 0x1404096e2
mov rcx, qword [rsp + 0x98]
call sym.SystemInformer.exe_PhFree
nop
mov eax, dword [rsp + 0x30]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407a9350]
call fcn.1402124fd
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0xf0
pop rdi
ret

Function at 0x14020b31f
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1403b4e60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov dword [rsp], 0
cmp qword [rsp + 0x38], 0
jne 0x1403b4e83
mov eax, dword [rsp]
jmp 0x1403b4ee9
mov rax, qword [rsp + 0x38]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 8], 0
je 0x1403b4eac
mov dword [rsp + 0x10], 1
jmp 0x1403b4eb4
mov dword [rsp + 0x10], 0
cmp dword [rsp + 0x10], 0
je 0x1403b4ee6
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
jmp 0x1403b4e83
mov eax, dword [rsp]
add rsp, 0x20
pop rdi
ret