joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415f20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004242e0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x415f8d
mov rcx, r8
call fcn.00415e00
test eax, eax
je 0x415f8d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x415f8d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x415f84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x415f8f
add rax, 0x28
cmp rax, r9
jne 0x415f70
xor eax, eax
add rsp, 0x28
ret

Function at 0x416680
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x4166b1
xor edx, edx
mov ecx, eax
mov dword [0x0042ab70], eax
call fcn.0041c160
test eax, eax
sete al
movzx eax, al
mov dword [0x0041f568], eax
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41669e

Function at 0x4167c0
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov edi, 1
mov rax, qword [rdx]
mov rbp, qword [rcx + 0x10]
mov r12, qword [rcx + 0x18]
test rax, rax
mov rsi, rcx
mov rbx, rdx
mov r15, r8
je 0x4168c0
mov r13, qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x41681c
mov qword [0x0042ab78], r14
mov rax, qword [rbx]
add edi, 1
mov rax, qword [rax]
test rax, rax
mov qword [rbx], rax
je 0x4168c0
mov r9, rsi
mov r8, qword [rsi]
mov edx, 0xa
mov ecx, 1
mov r14, qword [rax + 0x30]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
call rbp
test eax, eax
jne 0x4168e0
test r14, r14
je 0x41686f
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov r8, qword [rsi]
mov edx, 0xa
mov ecx, 1
call r14
cmp eax, 7
je 0x416905
cmp eax, 8
jne 0x4168e0
mov rax, qword [rbx]
mov r14, qword [rax]
mov eax, dword [0x0041f568]
test eax, eax
js 0x4168b0
test eax, eax
je 0x416800
mov rdx, r14
mov ecx, dword [0x0042ab70]
call r13
test eax, eax
jne 0x416807
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x416807
call fcn.004166c0
mov eax, dword [0x0041f568]
jmp 0x41687f
mov qword [rsp + 0x28], r12
mov r9, rsi
mov r8, qword [rsi]
mov edx, 0x1a
mov qword [rsp + 0x20], rbx
mov ecx, 1
call rbp
test eax, eax
je 0x416900
mov eax, 2
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 5
mov dword [r15], edi
jmp 0x4168e5
Function at 0x416910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [0x0041f568]
test eax, eax
mov rbx, rcx
js 0x416990
test eax, eax
jne 0x416943
mov rax, qword [0x0042ab78]
mov qword [0x0042ab78], rbx
mov qword [rbx], rax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov edi, dword [0x0042ab70]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rsi
mov ebp, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rbx], rdi
mov rdx, rbx
mov ecx, dword [0x0042ab70]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x41693a
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
call fcn.004166c0
mov eax, dword [0x0041f568]
jmp 0x416925

Function at 0x4169a0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x0041f568]
mov rbx, qword [rcx]
test eax, eax
js 0x4169e2
test eax, eax
jne 0x4169c3
mov qword [0x0042ab78], rbx
add rsp, 0x20
pop rbx
ret
mov rdx, rbx
mov ecx, dword [0x0042ab70]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4169bd
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.004166c0
mov eax, dword [0x0041f568]
jmp 0x4169b2

Function at 0x416ab0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [0x0041f568]
test eax, eax
mov rbx, rcx
js 0x416b30
test eax, eax
mov rsi, qword [0x0042ab78]
jne 0x416b46
test rsi, rsi
mov qword [rsp + 0x38], rsi
je 0x416b21
lea rdi, [rsp + 0x38]
mov rax, rsi
mov rax, qword [rax + 0x30]
test rax, rax
je 0x416b0f
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, qword [rbx]
mov edx, 1
mov ecx, 1
call rax
cmp eax, 6
je 0x416b70
cmp eax, 8
jne 0x416ba3
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
test rax, rax
mov qword [rsp + 0x38], rax
jne 0x416ae1
mov eax, 5
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
call fcn.004166c0
mov eax, dword [0x0041f568]
mov rsi, qword [0x0042ab78]
test eax, eax
je 0x416acf
mov esi, dword [0x0042ab70]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x416acf
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x34]
mov rdx, rdi
mov rcx, rbx
mov qword [rbx + 0x10], 0
mov qword [rsp + 0x38], rsi
mov qword [rbx + 0x18], rax
call fcn.004165d0
cmp eax, 7
jne 0x416b26
mov rcx, rdi
call fcn.00416750
mov eax, 3
jmp 0x416b26
Function at 0x416cf0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x416d40
mov edx, dword [0x0041f568]
test edx, edx
js 0x416d50
test edx, edx
mov rsi, qword [0x0042ab78]
jne 0x416d66
mov qword [rsp + 0x28], rsi
lea rsi, [rsp + 0x28]
mov rcx, rbx
lea r8, [rsp + 0x24]
mov rdx, rsi
call fcn.004167c0
cmp eax, 7
jne 0x416d89
mov rcx, rsi
call fcn.00416750
nop dword [rax]
call fcn.00416ab0
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
call fcn.004166c0
mov edx, dword [0x0041f568]
mov rsi, qword [0x0042ab78]
test edx, edx
je 0x416d16
mov esi, dword [0x0042ab70]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x416d16
call sub.msvcrt.dll_abort
nop
nop
mov rax, qword [rcx + 8]
test rax, rax
je 0x416da4
mov rdx, rcx
mov ecx, 1
jmp rax
ret

Function at 0x416f50
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x0042ab90], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x0042ab98], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x416fa0
lea rdx, [0x00416e70]
mov ecx, eax
mov dword [0x0042ab88], eax
call fcn.0041c160
test eax, eax
jne 0x416faa
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x416f9b
call sub.msvcrt.dll_abort
nop
Function at 0x416fb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x004241c0]
mov r11d, dword [rbx]
mov rdi, rcx
test r11d, r11d
jne 0x416fe4
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x417040
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x417050
mov ebx, dword [0x0042ab88]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
call r12
mov ebp, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebp
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x4170c1
mov rbp, qword [rbx]
cmp rbp, rsi
jb 0x417101
lea rbx, [rbx + rsi*8]
mov rax, qword [rbx]
test rax, rax
jne 0x416fd7
mov rcx, rdi
call fcn.00416eb0
mov qword [rbx], rax
jmp 0x416fd7
call fcn.00416eb0
mov qword [rdi + 0x10], rax
jmp 0x416fd7
mov r10d, dword [rbx]
test r10d, r10d
je 0x417162
mov r9d, dword [0x0041f570]
test r9d, r9d
je 0x417190
lock add dword [0x0042ab90], 1
jne 0x4171c0
mov rsi, qword [rdi + 0x10]
test rsi, rsi
je 0x41716f
mov eax, dword [rbx]
test eax, eax
je 0x416fed
mov eax, 0xffffffff
lock xadd dword [0x0042ab90], eax
sub eax, 1
js 0x416fed
xor r8d, r8d
mov edx, 1
mov rcx, qword [0x0042ab98]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x416fed
lea rcx, [rsi + 0x21]
mov edx, 8
call sub.msvcrt.dll_calloc
lea rbp, [rsi + 0x20]
test rax, rax
mov rbx, rax
je 0x4171e7
mov qword [rax], rbp
mov rdx, rbx
mov ecx, dword [0x0042ab88]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x417027
call r12
jmp 0x417027
lea r13, [rbp + rbp]
mov rcx, rbx
lea rax, [rsi + 0x20]
cmp rsi, r13
cmova r13, rax
lea rdx, [r13*8 + 8]
call sub.msvcrt.dll_realloc
test rax, rax
mov rbx, rax
je 0x4171e7
mov qword [rax], r13
lea rcx, [rax + rbp*8 + 8]
sub r13, rbp
xor edx, edx
lea r8, [r13*8]
call sub.msvcrt.dll_memset
jmp 0x4170e2
call fcn.00416f50
mov dword [0x0041f570], 1
mov edx, dword [rbx]
test edx, edx
jne 0x41706c
mov rsi, qword [rdi + 0x10]
test rsi, rsi
jne 0x416fed
mov rax, qword [0x0042ab80]
lea rsi, [rax + 1]
mov qword [0x0042ab80], rsi
mov qword [rdi + 0x10], rsi
jmp 0x417087
lock add dword [0x0041f574], 1
je 0x417149
mov r8d, dword [0x0041f570]
lea rsi, [0x0041f570]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
test r8d, r8d
jne 0x417158
xor ecx, ecx
call rbp
mov ecx, dword [rsi]
test ecx, ecx
je 0x4171b4
jmp 0x417158
mov edx, 0xffffffff
mov rcx, qword [0x0042ab98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41707a
lock sub dword [0x0042ab90], 1
jmp 0x41707a
call sub.msvcrt.dll_abort
nop
nop dword [rax]
cmp qword [rcx], rdx
jae 0x417200
mov qword [rcx], rdx
mov qword [rcx + 0x18], 0
cmp qword [rcx + 8], r8
jae 0x41720a
mov qword [rcx + 8], r8
test r9, r9
je 0x417214
cmp qword [rcx], rdx
je 0x417215
ret
mov qword [rcx + 0x18], r9
ret

Function at 0x41e310
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x0041f6a0]
jmp fcn.00416fb0
Function at 0x41edb0
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp fcn.00401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.0041beb0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.0041beb0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x14000c750
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x140038038]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x24], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
call fcn.140005210
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400116b0
add rsp, 0x258
ret

Function at 0x14000c7d0
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x140038038]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x30], 0
lea rdx, [0x140028738]
mov rcx, qword [rsp + 0x2a0]
call fcn.140005210
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x2a8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x14000c871
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140005210
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x2a0]
call fcn.140006c80
lea rcx, [rsp + 0x48]
call fcn.140006810
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400116b0
add rsp, 0x298
ret

Function at 0x14000cbb0
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140038038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0xffffffff80000001
lea rcx, [rsp + 0x50]
call fcn.1400058a0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea rcx, [rsp + 0x30]
call fcn.140004b70
nop
lea rdx, str.PCApp
lea rcx, [rsp + 0x28]
call fcn.140004b70
nop
mov r9, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14000da00
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140008960
movzx eax, al
test eax, eax
jne 0x14000cc33
mov dword [rsp + 0x20], 1
jmp 0x14000cc3b
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x50], al
lea rcx, [rsp + 0x48]
call fcn.140006600
nop
lea rcx, [rsp + 0x28]
call fcn.140006600
nop
lea rcx, [rsp + 0x30]
call fcn.140006600
movzx eax, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400116b0
add rsp, 0x68
ret
Function at 0x14000cd90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140038038]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14000cde9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14000ce36
mov rcx, qword [rsp + 0x290]
call fcn.14000bdc0
mov rdx, rax
lea rcx, [rsp + 0x5c]
call fcn.14001a924
test eax, eax
jne 0x14000ce16
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000ce36
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000cde9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400116b0
add rsp, 0x288
ret
Function at 0x14000da00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140038038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], 0
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14000b7f0
lea rcx, [rsp + 0x60]
call fcn.140004c30
nop
mov dword [rsp + 0x50], 0x1000
mov rcx, qword [rsp + 0xa0]
call fcn.140002c40
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000db25
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400085d0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x98]
call fcn.140002c40
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x60]
call fcn.140008f40
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.140004b40
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.140006600
mov rax, qword [rsp + 0x90]
jmp 0x14000db56
lea rdx, [0x1400284cc]
mov rcx, qword [rsp + 0x90]
call fcn.140004b70
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.140006600
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400116b0
add rsp, 0x88
ret
Function at 0x14001045c
Capabilities:
Get geographical location

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

Function at 0x140011d10
Capabilities:
Parse pe header

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

Function at 0x14001ad4c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14001ad83
call fcn.14001a524
mov dword [rax], 0x16
call fcn.140017834
xor eax, eax
jmp 0x14001ae11
mov rdx, r9
mov rcx, r8
call fcn.14001ace8
mov rbx, rax
test rax, rax
je 0x14001ae0e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14001ac14]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14001adfb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001a498
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14001ade2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14001adf1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14001cd34
jmp 0x14001ae0e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001ae0b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14001b6bc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001b4b8
Function at 0x14002084c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400208d3
mov rsi, rbx
cmp word [rax], bp
je 0x140020892
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002087c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140020878
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001cd70
mov rdi, rax
test rax, rax
je 0x1400208c0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140012100
mov rbp, rdi
xor ecx, ecx
call fcn.14001cd34
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004540
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14029fbf8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ebp, r9d
mov r15d, r8d
mov esi, edx
mov r14, rcx
mov rbx, qword [rsp + 0xd0]
cmp qword [rcx + 8], 0
je 0x140004732
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov qword [r11 - 0x38], r12
mov rdx, qword [rbx + 8]
sub rdx, qword [rbx]
sar rdx, 5
movabs r13, 0x1fffffffffffffff
test rdx, rdx
je 0x1400045d3
cmp rdx, r13
jbe 0x1400045c9
call fcn.1400065d0
int3
lea rcx, [rsp + 0x60]
call fcn.140006650
mov rdi, qword [rbx + 8]
mov rbx, qword [rbx]
cmp rbx, rdi
je 0x14000460c
nop
cmp qword [rbx + 0x18], 8
jb 0x1400045ec
mov rax, qword [rbx]
jmp 0x1400045ef
mov rax, rbx
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140009020
add rbx, 0x20
cmp rbx, rdi
jne 0x1400045e0
cmp qword [r14 + 0x20], 0
je 0x140004635
lea rax, [r14 + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140004621
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140009020
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
sub rcx, rbx
sar rcx, 3
test ebp, ebp
je 0x140004661
sub ebp, 1
je 0x140004659
cmp ebp, 1
je 0x140004659
mov r9d, r12d
jmp 0x140004667
mov r9d, 0x40000010
jmp 0x140004667
mov r9d, 0x40000011
mov edx, r12d
mov eax, 2
test r15d, r15d
cmove dx, ax
test esi, esi
je 0x140004697
sub esi, 1
je 0x140004689
sub esi, 1
je 0x14000469b
cmp esi, 1
je 0x140004690
mov eax, 4
jmp 0x14000469b
mov eax, 1
jmp 0x14000469b
movzx eax, r12w
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], r12
movzx r8d, dx
movzx edx, ax
mov rcx, qword [r14 + 8]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
nop
test rbx, rbx
je 0x140004732
mov rax, qword [rsp + 0x70]
sub rax, rbx
sar rax, 3
cmp rax, r13
jbe 0x1400046e2
call fcn.1401a7998
int3
lea rax, [rax*8]
cmp rax, 0x1000
jb 0x14000472a
test bl, 0x1f
je 0x1400046fd
call fcn.1401a7998
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x14000470c
call fcn.1401a7998
int3
sub rbx, rax
cmp rbx, 8
jae 0x14000471b
call fcn.1401a7998
int3
cmp rbx, 0x27
jbe 0x140004727
call fcn.1401a7998
int3
mov rbx, rax
mov rcx, rbx
call fcn.1401998b8
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140199a10
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000c060
Capabilities:
Query service status
Stop service

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x10
mov eax, dword [rcx + rdx]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
test al, 1
jne 0x14000c0a7
or eax, 1
mov dword [rcx + rdx], eax
mov ecx, r8d
add rcx, rdx
call fcn.14000b960
nop
cmp byte [r8 + rdx + 1], 0
je 0x14000c0ed
lea rdx, str.unsigned_long___cdecl_MinifilterStopCommand::Execute_int_wchar_t____
lea rdi, [0x1402a6fe0]
mov rcx, rdi
call fcn.140012600
mov rax, qword [0x1402a6fe0]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.140013c50
movzx edx, al
mov rcx, rdi
call fcn.140013a90
mov rcx, rdi
call fcn.1400118c0
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400192b0