joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800504d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x80], 0
jne 0x1800504fd
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18005051d
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180050696
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x180050554
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180050696
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x180050572
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180050696
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
jmp 0x18005059e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jae 0x18005067a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, str..detour
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180050675
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0xc], 0
je 0x180050603
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
cmp dword [rcx + rax + 0x10], 0
jne 0x180050605
jmp 0x18005067a
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
cmp rax, 0x40
jb 0x18005064b
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0x727444
je 0x18005064d
jmp 0x18005067a
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180050667
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
mov dword [rax + 8], ecx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
jmp 0x180050696
jmp 0x180050594
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180050696
add rsp, 0x78
ret
Function at 0x1800506a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
jmp 0x1800506e8
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
ja 0x180050707
jmp 0x1800507ab
cmp dword [rsp + 0x68], 0x1000
jne 0x18005072c
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x18005072c
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x18005072e
jmp 0x1800506d3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180050764
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x180050764
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x180050769
jmp 0x1800506d3
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x1800506d3
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x20]
jmp 0x1800507ad
xor eax, eax
add rsp, 0x88
ret

Function at 0x180050a00
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
nop
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
ja 0x180050a4a
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180050b12
cmp dword [rsp + 0x60], 0x1000
jne 0x180050a6f
mov eax, dword [rsp + 0x64]
and eax, 0xff
cmp eax, 1
je 0x180050a6f
mov eax, dword [rsp + 0x64]
and eax, 0x100
test eax, eax
je 0x180050a80
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180050b12
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180050aa7
mov ecx, 0xc1
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180050b12
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180050adb
mov ecx, 0xbf
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180050b12
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
test eax, eax
jne 0x180050af6
mov ecx, 0xc0
call sub.KERNEL32.dll_SetLastError
xor eax, eax
jmp 0x180050b12
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
jmp 0x180050b12
add rsp, 0x78
ret
Function at 0x18005329c
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 0x180053320
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800569f0]
cmp byte [rcx + rax], 0
je 0x180053320
dec r8
sub rdx, 1
jne 0x180053306
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180002290
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x160
cmp dword [0x18000bb64], 0
je 0x1800022ad
mov eax, dword [0x18000bb64]
jmp 0x1800023b7
mov dword [rsp + 0x30], 0x11c
lea rdi, [rsp + 0x34]
xor eax, eax
mov ecx, 0x118
rep stosb byte [rdi], al
mov qword [rsp + 0x150], 0
lea rdx, str.RtlGetVersion
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0
je 0x18000230d
lea rcx, [rsp + 0x30]
call qword [rsp + 0x150]
jmp 0x180002325
xor r9d, r9d
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x34]
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
cmp dword [rsp + 0x34], 5
jne 0x18000233f
cmp dword [rsp + 0x38], 1
jne 0x18000233f
mov dword [0x18000bb64], 0x33
jmp 0x1800023b1
cmp dword [rsp + 0x34], 6
jne 0x180002359
cmp dword [rsp + 0x38], 1
jne 0x180002359
mov dword [0x18000bb64], 0x3d
jmp 0x1800023b1
cmp dword [rsp + 0x34], 6
jne 0x180002373
cmp dword [rsp + 0x38], 2
jne 0x180002373
mov dword [0x18000bb64], 0x3e
jmp 0x1800023b1
cmp dword [rsp + 0x34], 6
jne 0x18000238d
cmp dword [rsp + 0x38], 3
jne 0x18000238d
mov dword [0x18000bb64], 0x3f
jmp 0x1800023b1
cmp dword [rsp + 0x34], 0xa
jne 0x1800023a7
cmp dword [rsp + 0x38], 0
jne 0x1800023a7
mov dword [0x18000bb64], 0x64
jmp 0x1800023b1
mov dword [0x18000bb64], 0x64
mov eax, dword [0x18000bb64]
add rsp, 0x160
pop rdi
ret
Function at 0x14000109c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov rdi, rdx
mov rdx, qword [rcx + 8]
lea rax, [rbp - 0x10]
mov rsi, rcx
mov dword [rbp - 0x10], ebx
mov qword [rbp - 8], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rax
mov ecx, dword [rdx]
test ecx, ecx
je 0x1400011e5
dec ecx
je 0x140001170
sub ecx, 2
je 0x140001145
cmp ecx, 3
jne 0x1400012b4
mov rax, qword [rdi + 8]
cmp dword [rax], ebx
jne 0x140001195
cmp qword [rsi], rbx
je 0x140001121
mov rcx, qword [rdx + 8]
mov edx, dword [rsi]
xor r9d, r9d
mov rcx, qword [rcx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x1400012b4
mov r8, qword [rbp + 0x30]
mov rax, qword [rsi + 8]
mov rdx, qword [rdi]
lea r9, [rbp + 0x20]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
jmp 0x1400012b4
mov rax, qword [rdi + 8]
cmp dword [rax], ebx
jne 0x140001195
mov rcx, qword [rdx + 8]
mov qword [rsp + 0x28], rbx
mov r9d, r8d
mov edx, 0x22c187
mov r8, qword [rdi]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rsi
call section..text
jmp 0x14000113e
mov rax, qword [rdi + 8]
cmp dword [rax], ebx
jne 0x140001195
mov rcx, qword [rdx + 8]
mov rdx, qword [rsi]
mov r9, r8
mov r8, qword [rdi]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x14000113e
mov rdx, r8
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1400012b4
mov r8, qword [rbp + 0x30]
lea rcx, [rbp - 0x20]
mov rdx, rdi
call fcn.14000109c
test eax, eax
je 0x1400011d6
mov r8, qword [rbp + 0x30]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.14000109c
mov ebx, eax
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400012b4
mov rdx, qword [rdi + 8]
mov ecx, dword [rdx]
test ecx, ecx
je 0x1400012a4
dec ecx
je 0x140001284
dec ecx
je 0x14000126a
dec ecx
je 0x140001250
cmp ecx, 3
jne 0x1400012b4
mov rcx, qword [rdx + 8]
mov edx, dword [rdi]
xor r9d, r9d
mov rcx, qword [rcx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1400012b4
mov rax, qword [rdi + 8]
mov r8d, dword [rbp + 0x30]
mov rdx, qword [rsi]
mov rcx, qword [rax + 8]
lea r9, [rbp + 0x20]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x14000113e
mov rcx, qword [rdx + 8]
lea rax, [rbp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov edx, 0x22c183
jmp 0x14000115e
mov rcx, qword [rdx + 8]
mov rdx, qword [rsi]
mov r9, r8
mov rcx, qword [rcx]
mov r8, qword [rdi]
call fcn.140001568
jmp 0x14000113e
mov rcx, qword [rdx + 8]
mov rdx, qword [rdi]
mov r9, r8
mov r8, qword [rsi]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x14000113e
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call fcn.14000d780
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000145c
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rdx
mov rsi, rcx
lea edx, [rdi + 0x10]
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbx], rax
test rax, rax
je 0x14000151e
and qword [rsp + 0x28], rdi
and dword [rsp + 0x20], edi
lea r8d, [rdi + 2]
xor r9d, r9d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rax
mov rax, qword [rbx]
mov qword [rax], rcx
mov rax, qword [rbx]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400014fe
and qword [rsp + 0x20], rdi
lea edx, [rdi + 4]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rax
mov rax, qword [rbx]
mov qword [rax + 8], rcx
test rcx, rcx
je 0x1400014fe
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
cmp dword [rcx], 0x504d444d
jne 0x1400014fe
mov eax, 0xa793
cmp word [rcx + 4], ax
jne 0x1400014fe
mov edi, 1
jmp 0x14000151e
mov rbx, qword [rbx]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140001510
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000151e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, edi
add rsp, 0x30
pop rdi
ret

Function at 0x1400017c4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdx, qword [rdx]
mov ebp, ecx
mov ebx, 0xc0000004
test rdx, rdx
je 0x1400017fa
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
jmp 0x14000183e
mov edi, 0x1000
mov edx, edi
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsi], rax
test rax, rax
je 0x14000183e
xor r9d, r9d
mov r8d, edi
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
jns 0x140001834
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add edi, edi
cmp ebx, 0xc0000004
je 0x1400017ff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140002318
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x20
lea r8, [0x14001f940]
lea rdx, [0x14001f948]
lea rcx, [0x14001f944]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
and dword [0x14001f940], 0x3fff
xor r8d, r8d
lea edx, [r8 + 1]
lea r9, [rsp + 0x40]
lea ecx, [rdx + 0x13]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
mov edx, 0x14
mov ebx, eax
test eax, eax
js 0x140002371
lea rcx, str.Privilege__u_OK_n
call fcn.14000576c
jmp 0x140002380
lea rcx, str.ERROR_kuhl_m_privilege_simple___RtlAdjustPrivilege___u___08x_n
mov r8d, eax
call fcn.140001764
cmp ebx, 0x40000015
je 0x1400023b7
cmp dword [0x14001f944], 6
lea rcx, [0x140017680]
lea rax, [0x1400176a8]
cmovb rax, rcx
mov qword [0x14001f8a0], rax
call fcn.1400030a4
mov rax, qword [0x14001f8a0]
call qword [rax + 8]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140008498
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140008300
Function at 0x1400016e0
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov qword [rsp + 0x40], 0
mov rbx, rcx
mov qword [rsp + 0x38], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edx, edx
lea rax, [rsp + 0x40]
lea r9, [0x140004720]
mov qword [rsp + 0x20], rax
lea rcx, [0x140004768]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x90]
xor edx, edx
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea r9, [0x140004748]
mov qword [rsp + 0x20], rax
lea rcx, [0x140004758]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140001839
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rsp + 0x30]
mov edx, 2
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov rcx, qword [rsp + 0x30]
mov edx, 6
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0xa0]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x40]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x30]
mov edx, 2
mov rax, qword [rcx]
call qword [rax + 0x130]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001849
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001859
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002580
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140001880
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov qword [rsp + 0x40], 0
mov rbx, rcx
mov qword [rsp + 0x38], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edx, edx
lea rax, [rsp + 0x40]
lea r9, [0x140004720]
mov qword [rsp + 0x20], rax
lea rcx, [0x140004768]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x90]
xor edx, edx
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea r9, [0x140004748]
mov qword [rsp + 0x20], rax
lea rcx, [0x140004758]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400019d9
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rsp + 0x30]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov rcx, qword [rsp + 0x30]
mov edx, 6
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0xa0]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x40]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x30]
mov edx, 2
mov rax, qword [rcx]
call qword [rax + 0x130]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400019e9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400019f9
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002580
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140001a20
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov qword [rsp + 0x40], 0
mov rbx, rcx
mov qword [rsp + 0x38], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edx, edx
lea rax, [rsp + 0x40]
lea r9, [0x140004720]
mov qword [rsp + 0x20], rax
lea rcx, [0x140004768]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x90]
xor edx, edx
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea r9, [0x140004748]
mov qword [rsp + 0x20], rax
lea rcx, [0x140004758]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140001b79
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rsp + 0x30]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov rcx, qword [rsp + 0x30]
mov edx, 0x11
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0xa0]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x40]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x30]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x130]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001b89
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001b99
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002580
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140001bc0
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov qword [rsp + 0x40], 0
mov rbx, rcx
mov qword [rsp + 0x38], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edx, edx
lea rax, [rsp + 0x40]
lea r9, [0x140004720]
mov qword [rsp + 0x20], rax
lea rcx, [0x140004768]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x90]
xor edx, edx
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea r9, [0x140004748]
mov qword [rsp + 0x20], rax
lea rcx, [0x140004758]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140001d19
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rsp + 0x30]
mov edx, 2
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov rcx, qword [rsp + 0x30]
mov edx, 0x11
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0xa0]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov rbx, rax
mov r8, qword [rcx]
call qword [r8 + 0x40]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x30]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x130]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140001d29
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001d39
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002580
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140002f14
Capabilities:
Parse pe header

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