joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004a70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004a9d
xor eax, eax
jmp 0x140004be3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004ad7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004ad7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140004be3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140004bd6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004b1a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004b29
movsx ecx, dil
jmp 0x140004b7d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x140004bd6
cmp eax, 1
jle 0x140004b97
cmp eax, 3
jne 0x140004bd6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140010548
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004bdb
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004bc4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140011570
cmp rsi, rax
jne 0x140004bd6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140004bdb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400070a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140006340
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.14000a4b0
mov eax, 1
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0xac], eax
xor r9d, r9d
mov word [rsp + 0xb0], ax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], SafeArrayLock
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400063e5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400063e7
xor al, al
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400070a0
add rsp, 0xf0
pop rbx
ret
Function at 0x1400069b0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x870
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0x860], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x60]
call fcn.14000a4b0
mov ecx, 0x20
call fcn.140007624
mov rdi, rax
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
lea r14, [rdi + 0x10]
xor ebp, ebp
mov qword [r14], rbp
lea rsi, [rdi + 0x18]
mov qword [rsi], rbp
mov qword [rdi], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x140006a4d
cmp eax, 0x80010106
jne 0x140006b1a
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov qword [rsp + 0x20], rsi
lea r9, [0x14002e6c8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14002e6b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140006b9b
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
lea r9, [rsp + 0x60]
mov rcx, rdi
call fcn.140006bb0
mov rcx, qword [r14]
test rcx, rcx
je 0x140006b35
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140006b43
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140006b51
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [rsp + 0x60]
lea rcx, str.OperatingSystem_Name:__ls__n
call fcn.1400012c0
mov eax, 1
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400070a0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, 0x8007000e
call fcn.140006970
int3

Function at 0x140010524
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140010350
Function at 0x140001090
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x14000109a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.140001090

Function at 0x1400010b0
Capabilities:
Hash data using fnv
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x28
mov rax, qword [0x140005628]
mov r15d, ecx
mov qword [rsp + 0x60], r12
mov ebx, 0x5a4d
mov qword [rsp + 0x20], r13
mov r8, qword [rax + 0x60]
mov rax, qword [r8 + 0x18]
add rax, 0x20
mov qword [rsp + 0x70], rax
mov r14, qword [rax]
mov rsi, qword [r14 + 0x20]
test rdx, rdx
je 0x140001113
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
mov rax, qword [rsp + 0x70]
jne 0x1400011c0
cmp word [rsi], bx
jne 0x1400011c0
movsxd rax, dword [rsi + 0x3c]
add rax, rsi
cmp dword [rax], 0x4550
jne 0x1400011bb
cmp word [rax + 0x14], 0x60
jb 0x1400011bb
cmp dword [rax + 0x84], 0
je 0x1400011bb
mov ecx, dword [rax + 0x88]
test ecx, ecx
je 0x1400011bb
mov r12d, dword [rsi + rcx + 0x24]
lea rax, [rsi + rcx]
mov edi, dword [rax + 0x20]
add r12, rsi
mov r13d, dword [rax + 0x1c]
add rdi, rsi
mov ebp, dword [rax + 0x18]
add r13, rsi
xor ebx, ebx
test ebp, ebp
je 0x1400011b6
nop
mov ecx, dword [rdi]
add rcx, rsi
movsx eax, byte [rcx]
test al, al
jne 0x140001183
mov eax, 0x811c9dc5
jmp 0x140001196
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.140001090
cmp eax, r15d
je 0x1400011a7
inc ebx
add rdi, 4
cmp ebx, ebp
jb 0x140001170
jmp 0x1400011b6
movzx ecx, word [r12 + rbx*2]
mov eax, dword [r13 + rcx*4]
add rax, rsi
jne 0x1400011d4
mov ebx, 0x5a4d
mov rax, qword [rsp + 0x70]
mov r14, qword [r14]
cmp r14, rax
je 0x1400011d2
mov rdx, qword [rsp + 0x68]
jmp 0x1400010f3
xor eax, eax
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x60]
add rsp, 0x28
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001ea4
Capabilities:
Parse pe header

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

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x14000d008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x14000d008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14000d008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000d008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14003a018]
xor rax, rsp
mov qword [rsp + 0x290], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], edi
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x140001087
mov rcx, qword [rbx + 0x60]
lea rdx, [0x14002aed0]
mov r8d, 0x12
call fcn.14000ea4c
test eax, eax
je 0x14000108a
mov rax, qword gs:[0x60]
mov rbx, qword [rbx]
mov rcx, qword [rax + 0x18]
cmp rbx, qword [rcx + 0x10]
je 0x140001087
test rbx, rbx
jne 0x140001052
mov rbx, rdi
mov rcx, qword [rbx + 0x30]
mov edx, 1
call fcn.140007890
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
mov rsi, rax
call fcn.1400079d0
test eax, eax
jne 0x1400010b3
mov rbx, rdi
jmp 0x1400010c0
mov edx, eax
mov rcx, rsi
call fcn.1400075e0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x30
lea r8, [rsp + 0x38]
mov rcx, rax
xor edx, edx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call rbx
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x104
mov rbx, rax
call fcn.14000c2a0
xor edx, edx
lea rcx, [rsp + 0x180]
mov r8d, 0x104
call fcn.14000c2a0
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x104
lea rdx, [rsp + 0x180]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
mov rcx, qword [rsi + 0x70]
test rcx, rcx
je 0x140001161
call fcn.14000e90c
mov qword [rsi + 0x70], rdi
mov rcx, rsi
call fcn.14000e90c
lea rcx, [rsp + 0x70]
lea r9, [rsp + 0x180]
sub r9, rcx
nop dword [rax]
movzx r8d, byte [rcx]
movzx edx, byte [rcx + r9]
sub r8d, edx
jne 0x140001195
inc rcx
test edx, edx
jne 0x140001180
test r8d, r8d
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14000b000
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140003630
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x14003a018]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000368e
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b000
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x68], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov esi, eax
call fcn.14000eb48
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, esi
mov qword [rsp + 0x20], 0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400036de
cmp dword [rsp + 0x40], esi
je 0x1400036e8
mov rcx, rbx
call fcn.14000e90c
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000b000
add rsp, 0x50
pop rdi
ret
Function at 0x140004630
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14003a018]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x14003bdd0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140004660
test rax, rax
jne 0x1400046b7
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14000c2a0
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call fcn.14000e6e0
lea r8, str.wdigest.dll
mov edx, 0x104
mov rcx, rbx
call fcn.14000e6e0
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000b000
add rsp, 0x240
pop rbx
ret
Function at 0x140004f50
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14003a018]
xor rax, rsp
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [0x1400358c0]
mov r14d, ecx
lea rcx, str.hid_NtProt_8OOzvDydCwMf
mov dword [rbp - 0x40], 0x6f6d654d
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x3c], 0x7972
mov byte [rbp - 0x3a], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movdqa xmm0, xmmword [0x1400358c0]
lea rcx, str.hid_NtProt_M4rfIG6szvIB
movdqu xmmword [rbp - 0x38], xmm0
mov dword [rbp - 0x28], 0x6f6d654d
mov word [rbp - 0x24], 0x7972
mov byte [rbp - 0x22], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x20], 0
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x18], 0
call fcn.1400057a0
mov rbx, qword [rbp - 0x18]
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.1400079d0
test eax, eax
jne 0x140005001
xor esi, esi
jmp 0x14000500e
mov edx, eax
mov rcx, rbx
call fcn.1400075e0
mov rsi, rax
mov rbx, qword [rbp - 0x20]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.1400079d0
test eax, eax
jne 0x140005026
xor edi, edi
jmp 0x140005033
mov edx, eax
mov rcx, rbx
call fcn.1400075e0
mov rdi, rax
xor ebx, ebx
mov rdx, rsi
sub rdx, rdi
mov r9, rdi
nop
movzx ecx, byte [rdx + r9]
cmp byte [r9], cl
jne 0x14000505e
inc rbx
inc r9
cmp rbx, 0x18
jb 0x140005040
mov rax, rdi
jmp 0x140005132
mov rdx, rdi
lea rcx, [rbx + rsi]
sub rdx, rsi
mov r8, rbx
nop dword [rax + rax]
cmp rbx, 0x18
jae 0x140005085
movzx eax, byte [rcx + 1]
inc rcx
inc rbx
cmp byte [rdx + rcx], al
jne 0x140005070
sub rbx, r8
jne 0x140005092
mov rax, rdi
jmp 0x140005132
cmp r14d, 3
jne 0x1400050b6
lea r8, [r9 + rbx]
mov rdx, rbx
sub r9, rdi
lea rcx, [rsi + r9]
call fcn.140004980
test rax, rax
je 0x140005157
jmp 0x140005132
cmp r14d, 2
jne 0x140005153
lea r9d, [r14 + 2]
mov qword [rsp + 0x90], r15
mov r8d, 0x3000
lea rdx, [rbx + 0xe]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x140005162
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.14000c990
mov eax, 0x25ff
lea r9, [rbp - 0x18]
mov word [r14 + rbx], ax
lea rdx, [rbx + 0xe]
lea rax, [rbx + rdi]
mov dword [r14 + rbx + 2], 0
mov r8d, 0x20
mov qword [r14 + rbx + 6], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r15, qword [rsp + 0x90]
mov rax, r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000b000
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor eax, eax
jmp 0x140005132
mov ecx, 1
call fcn.14000d3f4
int3
mov ecx, 1
call fcn.14000d3f4
int3
Function at 0x1400057a0
Capabilities:
Access peb ldr_data
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14003a018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r15, rcx
mov dword [rsp + 0x20], 0x74006e
lea rcx, str.hid_n_t_d__Vn3tbyHbuyFk
mov dword [rsp + 0x24], 0x6c0064
xor esi, esi
mov dword [rsp + 0x28], 0x2e006c
mov r14, rdx
mov dword [rsp + 0x2c], 0x6c0064
mov dword [rsp + 0x30], 0x6c
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rax, [rsp + 0x20]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rax + rcx*2 + 2], si
lea rcx, [rcx + 1]
jne 0x140005810
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x140005870
lea rdi, [rcx + rcx]
nop word [rax + rax]
mov rcx, qword [rbx + 0x60]
lea rdx, [rsp + 0x20]
mov r8, rdi
call fcn.14000ea4c
test eax, eax
je 0x140005873
mov rax, qword gs:[0x60]
mov rbx, qword [rbx]
mov rcx, qword [rax + 0x18]
cmp rbx, qword [rcx + 0x10]
je 0x140005870
test rbx, rbx
jne 0x140005840
mov rbx, rsi
mov rdi, qword [0x14003e220]
test rdi, rdi
jne 0x140005895
mov rcx, qword [rbx + 0x30]
lea edx, [rdi + 1]
call fcn.140007890
mov rdi, rax
mov qword [0x14003e220], rax
mov rsi, qword [0x14003e210]
test rsi, rsi
jne 0x1400058cf
mov rcx, qword [rbx + 0x50]
call fcn.140003630
test rax, rax
je 0x140005900
xor edx, edx
mov rcx, rax
call fcn.140007890
mov rdx, qword [rdi + 0x10]
mov rcx, rax
mov rsi, rax
mov qword [0x14003e210], rax
call fcn.140007670
test r15, r15
je 0x1400058d7
mov qword [r15], rdi
test r14, r14
je 0x1400058df
mov qword [r14], rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000b000
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov ecx, 1
call fcn.14000d3f4
int3
Function at 0x140006260
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push rbx
push r12
push r13
push r14
sub rsp, 0x88
mov rax, qword [0x14003a018]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r13d, r13d
mov r14, rcx
mov r12d, r13d
call fcn.14000a0c0
test eax, eax
je 0x14000647b
mov qword [rsp + 0xb8], rbp
lea rax, str.Domain
mov qword [rsp + 0x48], rax
lea ebp, [r13 - 1]
lea rax, str.Private
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0x58], rax
lea edx, [rbp + 3]
lea rax, str.Public
mov qword [rsp + 0x80], r15
xor ecx, ecx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x3c], r13d
mov word [rsp + 0x38], r13w
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x50], 2
mov dword [rsp + 0x60], 4
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov r15d, eax
mov eax, 0x80000000
lea ecx, [r15 + rax]
test eax, ecx
jne 0x140006320
cmp r15d, 0x80010106
jne 0x14000634b
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x14002db50]
mov qword [rsp + 0x20], rax
lea rcx, [0x14002db80]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r15d, eax
test eax, eax
jns 0x140006352
mov esi, 0x80004005
jmp 0x1400063bd
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x3c]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov esi, eax
test eax, eax
js 0x1400063bd
mov qword [rsp + 0xc8], rdi
mov ebx, r13d
lea rdi, [rsp + 0x40]
mov edx, dword [rdi]
test dword [rsp + 0x3c], edx
je 0x1400063a2
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov esi, eax
test eax, eax
js 0x1400063b5
cmp word [rsp + 0x38], r12w
jne 0x1400063a2
movzx ebp, r13w
inc ebx
add rdi, 0x10
cmp ebx, 3
jb 0x140006378
cmp bp, 0xffff
sete r12b
mov rdi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400063da
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x30], r13
test r15d, r15d
mov r15, qword [rsp + 0x80]
js 0x1400063ed
call qword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
mov rsi, qword [rsp + 0xc0]
js 0x14000647b
test r12d, r12d
je 0x14000647b
mov rcx, r14
call fcn.140005910
mov rcx, r14
call fcn.140005c40
mov rbx, qword [r14]
test rbx, rbx
je 0x140006477
nop word [rax + rax]
mov edx, 2
lea ecx, [rdx + 0x13]
call fcn.14000d400
mov edx, 2
mov qword [rbx + 8], rax
lea ecx, [rdx + 0x13]
call fcn.14000d400
mov r8, qword [rbx + 8]
mov qword [rbx + 0x10], rax
test r8, r8
je 0x140006477
test rax, rax
je 0x140006477
mov rcx, qword [rbx]
mov edx, 1
call fcn.140009e90
mov r8, qword [rbx + 0x10]
mov edx, 2
mov rcx, qword [rbx]
call fcn.140009e90
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140006420
xor eax, eax
jmp 0x140006480
mov eax, 0x80004005
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14000b000
add rsp, 0x88
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x1400069b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14003a018]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x14003c430]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400069e0
test rax, rax
jne 0x140006a37
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14000c2a0
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call fcn.14000e6e0
lea r8, str._ntoskrnl.exe
mov edx, 0x104
mov rcx, rbx
call fcn.14000e6e0
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000b000
add rsp, 0x240
pop rbx
ret

Function at 0x140007b50
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x14003a018]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rbx, [0x14003c840]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140007b80
test rax, rax
jne 0x140007bd7
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14000c2a0
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x20]
mov edx, 0x104
mov rcx, rbx
call fcn.14000e6e0
lea r8, str.ci.dll
mov edx, 0x104
mov rcx, rbx
call fcn.14000e6e0
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000b000
add rsp, 0x240
pop rbx
ret