joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002780b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10027854
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002783b
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x10027852
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x10027889
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push 0x486b
push 0x411c
push 1
push 0x3724
push 0x6141
push 0x2922
push dword [ebp - 0x18]
call fcn.10026443
add esp, 0x20
mov esp, ebp
pop ebp
ret

Function at 0x100286f4
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002871c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 1
push 0x3727
push dword [ebp - 8]
call fcn.10028793
add esp, 0xc
jmp 0x1002878f
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10028744
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1002878f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10028772
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1002878f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.1002d7f4
mov dword [eax], 1
jmp 0x10028767
mov esp, ebp
pop ebp
ret

Function at 0x100295f6
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002963e
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10029634
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [eax + 0x10], 1
jmp 0x1002963c
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x1002966d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x46a0
push 0xaec
push 1
call fcn.1001036e
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x1003da2c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov dword [esp + 0x10], 0x4456
cmp dword [esp + 0x10], 0x4709
push esi
push edi
jle 0x1003dad9
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov dword [esp + 0x14], esi
xor edi, edi
mov dword [esp + 0x10], edi
mov ebx, edi
mov dword [esp + 0xc], 0x6983
and dword [esp + 0x1c], 0
mov edi, esi
mov esi, dword [esp + 0x1c]
mov ecx, ebx
shl edi, cl
mov eax, edi
lea ecx, [esp + 0x20]
xor eax, esi
cdq
push edx
push eax
call fcn.1003b15e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003da93
mov eax, dword [eax]
push eax
call fcn.1005b488
pop ecx
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.1002e289
inc esi
cmp esi, 0xfce
jl 0x1003da79
mov esi, dword [esp + 0x14]
dec ebx
dec dword [esp + 0xc]
jne 0x1003da6a
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
cmp edi, 0x5a79
jl 0x1003da60
inc esi
mov dword [esp + 0x14], esi
cmp esi, 0x7127
jl 0x1003da5a
cmp dword [esp + 0x18], 0x41a3
jge 0x1003daee
push 0x100085b8
call fcn.1005b488
pop ecx
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1006e0a5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10078750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005f4b8
mov dword [ebp - 0x14], eax
cmp dword [0x10664d04], esi
jne 0x1006e198
push 0x800
push esi
push 0x10007f80
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006e125
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006e278
push esi
push esi
push 0x10007f80
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006e278
push 0x10007f98
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006e278
push eax
call ebx
push 0x10007fa4
push edi
mov dword [0x10664d04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007fb4
push edi
mov dword [0x10664d08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007fc8
push edi
mov dword [0x10664d0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10664d14], eax
test eax, eax
je 0x1006e195
push 0x10007fe4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10664d10], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006e1bd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006e1b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006e1d2
push 4
pop eax
jmp 0x1006e27a
cmp dword [ebp - 0x14], esi
je 0x1006e1d2
push dword [0x10664d04]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006e1b7
mov eax, dword [0x10664d10]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006e230
cmp dword [0x10664d14], edi
je 0x1006e230
push eax
call ebx
push dword [0x10664d14]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006e230
test eax, eax
je 0x1006e230
call ecx
test eax, eax
je 0x1006e225
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006e225
test byte [ebp - 8], 1
jne 0x1006e230
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006e260
mov eax, dword [0x10664d08]
cmp eax, edi
je 0x1006e25d
push eax
call ebx
test eax, eax
je 0x1006e25d
call eax
mov esi, eax
test esi, esi
je 0x1006e25d
mov eax, dword [0x10664d0c]
cmp eax, edi
je 0x1006e25d
push eax
call ebx
test eax, eax
je 0x1006e25d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10664d04]
call ebx
test eax, eax
je 0x1006e278
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006e27a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005cbb8
mov esp, ebp
pop ebp
ret
Function at 0x1582058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x15821a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x158207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x158206a
add dl, dl
jne 0x1582089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15820dc
xor eax, eax
add dl, dl
jne 0x1582096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x158217d
add dl, dl
jne 0x15820a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15820b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15820bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15820c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x15820d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1582075
mov eax, 1
add dl, dl
jne 0x15820ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15820f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15820e1
sub eax, ebx
mov ebx, 1
jne 0x1582128
mov ecx, 1
add dl, dl
jne 0x158210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1582119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1582105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1582075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x158213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x158214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1582136
cmp eax, 0x7d00
jae 0x158216d
cmp eax, 0x500
jb 0x1582168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1582075
cmp eax, 0x7f
ja 0x1582170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1582075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x158219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1582075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x933700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0093378f
jae 0x93370e
xor ecx, ecx
call fcn.0093378f
jae 0x93373d
xor eax, eax
call fcn.0093378f
jae 0x93374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0093378f
adc al, al
jae 0x93372f
jne 0x933779
stosb byte es:[edi], al
jmp 0x933711
call fcn.0093379b
sub ecx, ebx
jne 0x933756
call fcn.00933799
jmp 0x933775
lodsb al, byte [esi]
shr eax, 1
je 0x933783
adc ecx, ecx
jmp 0x933772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00933799
cmp eax, 0x7d00
jae 0x933772
cmp ah, 5
jae 0x933773
cmp eax, 0x7f
ja 0x933774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x933711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x100064f0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007216b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x100c3579
call fcn.10071035
push 0x118
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x14], 0
push 0
push eax
mov dword [ebp - 0x138], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea ecx, [ebp - 0x130]
call fcn.100487b0
cmp dword [ebp - 0x12c], 6
lea edx, [ebp - 0x14]
mov eax, str.SharedAccess
mov esi, str.MpsSvc
cmovb esi, eax
mov ecx, esi
call fcn.1000cdf0
test al, al
je 0x100066fa
cmp dword [ebp - 0x14], 4
je 0x100065ae
mov edx, 2
mov ecx, esi
call fcn.1000cf50
test eax, eax
je 0x100066fa
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x12c], 6
jb 0x100066b0
lea ecx, [ebp - 0x13c]
call fcn.10048550
mov dword [ebp - 4], 0
lea eax, [ebp - 0x134]
push eax
push 0x1008b894
push 0x17
push 0
push 0x1008b914
mov dword [ebp - 0x134], 0
mov bl, 1
mov dword [ebp - 0x14], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x10006698
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push ecx
call dword [eax + 0x1c]
xor ecx, ecx
movzx ebx, bl
test eax, eax
mov eax, dword [ebp - 0x14]
cmovs ebx, ecx
test al, 4
je 0x10006641
mov eax, dword [ebp - 0x134]
push 0xffffffffffffffff
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
xor edx, edx
movzx ebx, bl
test eax, eax
mov eax, dword [ebp - 0x14]
cmovs ebx, edx
test al, 2
je 0x10006662
mov eax, dword [ebp - 0x134]
push 0xffffffffffffffff
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
xor edx, edx
movzx ebx, bl
test eax, eax
mov eax, dword [ebp - 0x14]
cmovs ebx, edx
test al, 1
je 0x1000667c
mov eax, dword [ebp - 0x134]
push 0xffffffffffffffff
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jns 0x1000667c
xor bl, bl
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x1000669a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x134], 0
jmp 0x1000669a
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.10048630
mov al, bl
jmp 0x100066fc
lea eax, [ebp - 0x138]
push eax
call fcn.10006280
test al, al
je 0x100066ea
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x100066fa
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0x24]
test eax, eax
js 0x100066ea
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x100066e6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov al, 1
jmp 0x100066fc
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x100066fa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
Function at 0x10006850
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100721db
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x100c3579
call fcn.10071035
push 0x118
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x14], 0
push 0
push eax
mov dword [ebp - 0x138], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea ecx, [ebp - 0x130]
call fcn.100487b0
cmp dword [ebp - 0x12c], 6
lea edx, [ebp - 0x14]
mov eax, str.SharedAccess
mov esi, str.MpsSvc
cmovb esi, eax
mov ecx, esi
call fcn.1000cdf0
test al, al
je 0x10006a5a
cmp dword [ebp - 0x14], 4
je 0x1000690e
mov edx, 2
mov ecx, esi
call fcn.1000cf50
test eax, eax
je 0x10006a5a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x12c], 6
jb 0x10006a10
lea ecx, [ebp - 0x13c]
call fcn.10048550
mov dword [ebp - 4], 0
lea eax, [ebp - 0x134]
push eax
push 0x1008b894
push 0x17
push 0
push 0x1008b914
mov dword [ebp - 0x134], 0
mov bl, 1
mov dword [ebp - 0x14], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x100069f8
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push ecx
call dword [eax + 0x1c]
xor ecx, ecx
movzx ebx, bl
test eax, eax
mov eax, dword [ebp - 0x14]
cmovs ebx, ecx
test al, 4
je 0x100069a1
mov eax, dword [ebp - 0x134]
push 0
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
xor edx, edx
movzx ebx, bl
test eax, eax
mov eax, dword [ebp - 0x14]
cmovs ebx, edx
test al, 2
je 0x100069c2
mov eax, dword [ebp - 0x134]
push 0
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
xor edx, edx
movzx ebx, bl
test eax, eax
mov eax, dword [ebp - 0x14]
cmovs ebx, edx
test al, 1
je 0x100069dc
mov eax, dword [ebp - 0x134]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jns 0x100069dc
xor bl, bl
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x100069fa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x134], 0
jmp 0x100069fa
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.10048630
mov al, bl
jmp 0x10006a5c
lea eax, [ebp - 0x138]
push eax
call fcn.10006280
test al, al
je 0x10006a4a
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x10006a5a
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x24]
test eax, eax
js 0x10006a4a
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x10006a46
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov al, 1
jmp 0x10006a5c
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x10006a5a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
Function at 0x10007d50
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007240b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, 0x100c3579
call fcn.10071035
push 0x118
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea ecx, [ebp - 0x12c]
call fcn.100487b0
xor eax, eax
lea ecx, [ebp - 0x138]
cmp dword [ebp - 0x128], 5
setne al
mov dword [esi], eax
call fcn.10048550
mov dword [ebp - 4], 0
cmp dword [esi], 0
je 0x10007e54
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push eax
push 0x1008b894
push 1
push 0
push 0x1008b914
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x130]
test eax, eax
jns 0x10007e46
test ecx, ecx
je 0x10007e13
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.10048630
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
test ecx, ecx
je 0x10007eb3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov bl, 1
jmp 0x10007e15
lea edx, [ebp - 0x134]
mov dword [ebp - 0x134], 0
mov ecx, str.SharedAccess
call fcn.1000cdf0
test al, al
je 0x10007e13
cmp dword [ebp - 0x134], 4
jne 0x10007e13
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push eax
call fcn.10007c50
test al, al
je 0x10007e13
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x10007eb3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x130], 0
mov bl, 1
jmp 0x10007e15
Function at 0x1000a9d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x100c3579
call fcn.10071035
push 0x118
lea eax, [ebp - 0x128]
mov dword [ebp - 0x130], 0
push 0
push eax
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea ecx, [ebp - 0x12c]
call fcn.100487b0
test al, al
je 0x1000aa4b
cmp dword [ebp - 0x128], 6
jb 0x1000aa4b
mov eax, str.SYSTEMCurrentControlSetControlRemote_Assistance
jmp 0x1000aa80
lea edx, [ebp - 0x130]
mov ecx, str.RDSessMgr
call fcn.1000cdf0
test al, al
je 0x1000aa7b
cmp dword [ebp - 0x130], 4
jne 0x1000aa7b
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
mov eax, str.SYSTEMCurrentControlSetControlTerminal_Server
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push str.fAllowToGetHelp
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000aaac
cmp dword [ebp - 8], 1
mov eax, 2
je 0x1000aab1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret

Function at 0x1000aac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x100c3579
call fcn.10071035
push 0x118
lea eax, [ebp - 0x120]
mov dword [ebp - 8], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x124], 0x11c
lea ecx, [ebp - 0x124]
call fcn.100487b0
test al, al
je 0x1000ab24
cmp dword [ebp - 0x120], 6
jb 0x1000ab24
mov cl, 1
jmp 0x1000ab30
mov ecx, str.RDSessMgr
call fcn.1000ce80
xor cl, cl
push 4
lea eax, [ebp - 8]
test cl, cl
push eax
push 4
mov edx, str.SYSTEMCurrentControlSetControlRemote_Assistance
mov eax, str.SYSTEMCurrentControlSetControlTerminal_Server
push str.fAllowToGetHelp
cmovne eax, edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x1000ab72
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 2
mov dword [esi], 1
xor ecx, ebp
pop esi
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ab90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x100c3579
call fcn.10071035
push 0x118
lea eax, [ebp - 0x120]
mov dword [ebp - 8], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x124], 0x11c
lea ecx, [ebp - 0x124]
call fcn.100487b0
test al, al
je 0x1000abf4
cmp dword [ebp - 0x120], 6
setae bl
jmp 0x1000abf6
xor bl, bl
push 4
lea eax, [ebp - 8]
mov ecx, str.SYSTEMCurrentControlSetControlRemote_Assistance
push eax
push 4
test bl, bl
mov eax, str.SYSTEMCurrentControlSetControlTerminal_Server
push str.fAllowToGetHelp
cmovne eax, ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x1000ac42
test bl, bl
jne 0x1000ac2b
call fcn.1000d010
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
test bl, bl
jne 0x1000ac4b
call fcn.1000d010
mov ecx, dword [ebp - 4]
mov eax, 2
mov dword [esi], 1
xor ecx, ebp
pop esi
pop ebx
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4

Function at 0x1000adc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x100c3579
call fcn.10071035
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push str.LimitBlankPasswordUse
push str.SYSTEMCurrentControlSetControlLsa
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000ae1f
cmp dword [ebp - 8], 1
mov eax, 2
jne 0x1000ae24
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret

Function at 0x1000ae40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x100c3579
call fcn.10071035
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 4
push str.LimitBlankPasswordUse
push str.SYSTEMCurrentControlSetControlLsa
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x1000ae9c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 2
mov dword [esi], 1
xor ecx, ebp
pop esi
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4