joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030f0
Capabilities:
Enumerate network shares
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x100c3578
call fcn.10071035
push ebx
push esi
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
push edi
nop dword [eax + eax]
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x428]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x434]
push eax
push 0x1f6
push 0
call dword [sym.imp.NETAPI32.dll_NetShareEnum]
mov ebx, eax
test ebx, ebx
je 0x1000317d
cmp ebx, 0xea
jne 0x1000326d
mov ecx, dword [ebp - 0x428]
mov esi, dword [ebp - 0x434]
cmp ecx, 1
jb 0x10003273
test esi, esi
je 0x10003288
mov edi, 1
cmp ecx, edi
jb 0x10003273
nop word [eax + eax]
cmp dword [esi + 4], 0
jge 0x10003261
mov eax, dword [esi]
cmp word [eax + 2], 0x24
jne 0x10003261
cmp word [eax + 4], 0
jne 0x10003261
push dword [esi + 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x1000325b
xor eax, eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
mov eax, dword [esi]
mov ax, word [eax]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xa], 0x3a
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1000325b
push 0x20a
lea eax, [ebp - 0x424]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x105
push eax
push 0
push 0
push 0
push 0x105
lea eax, [ebp - 0x424]
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x100032aa
mov ecx, dword [ebp - 0x428]
inc edi
add esi, 0x28
cmp edi, ecx
jbe 0x100031b0
mov esi, dword [ebp - 0x434]
test esi, esi
je 0x10003288
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x434], 0
cmp ebx, 0xea
je 0x10003140
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x100032bb
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
Function at 0x100032e0
Capabilities:
Get disk information
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x100c3578
push edi
mov dword [ebp - 0x1c], esi
call fcn.10071035
mov dword [esi], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
mov edi, 1
test ebx, ebx
je 0x10003384
lea ecx, [edi + 0x23]
xor eax, eax
mov edi, dword [sym.imp.NETAPI32.dll_NetShareDel]
lea esi, [ecx - 0x23]
nop word [eax + eax]
test bl, 1
je 0x10003374
add al, 0x41
mov dword [ebp - 0xa], 0x24
cbw
push 0
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 0x18]
movzx ecx, cl
cmove ecx, esi
mov dword [ebp - 0x14], ecx
mov ecx, 0x24
inc eax
shr ebx, 1
mov dword [ebp - 0x18], eax
jne 0x10003340
mov esi, dword [ebp - 0x1c]
mov edi, 1
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push str.AutoShareServer
push str.SYSTEMCurrentControlSet_servicesLanmanServerParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp byte [ebp - 0x14], 0
je 0x100033bc
mov eax, edi
pop edi
pop esi
pop ebx
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
pop edi
mov dword [esi], 2
xor ecx, ebp
pop esi
pop ebx
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
Function at 0x100033e0
Capabilities:
Delete registry value
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x100c3578
call fcn.10071035
push str.AutoShareServer
push str.SYSTEMCurrentControlSet_servicesLanmanServerParameters
xor esi, esi
mov dword [edi], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
je 0x100034b4
lea ecx, [esi + 0x24]
lea edx, [esi + 0x3a]
test bl, 1
je 0x100034af
lea eax, [esi + 0x41]
mov dword [ebp - 0xa], 0x24
movzx eax, ax
mov word [ebp - 0xc], ax
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0xe], ax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x12], 0x5c003a
push eax
push 2
push 0
mov dword [ebp - 0x34], connect
mov dword [ebp - 0x30], str.Default_Share
mov dword [ebp - 0x2c], 0x7f
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.NETAPI32.dll_NetShareAdd]
test eax, eax
jne 0x100034cc
lea ecx, [eax + 0x24]
lea edx, [eax + 0x3a]
inc esi
shr ebx, 1
jne 0x10003436
pop edi
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
mov ecx, dword [ebp - 4]
mov eax, 2
mov dword [edi], 3
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
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, 0x100c3578
call fcn.10071035
push pe_nt_image_headers32
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, 0x100c3578
call fcn.10071035
push pe_nt_image_headers32
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, 0x100c3578
call fcn.10071035
push pe_nt_image_headers32
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 0x10008840
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x100c3578
call fcn.10071035
test edi, edi
je 0x100089d7
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
push str.system
push edi
call ebx
add esp, 8
test eax, eax
je 0x100089d7
push str.c:windows_system32.exe
push edi
call ebx
add esp, 8
test eax, eax
je 0x100089d7
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x100089d7
push esi
lea esi, [eax + 1]
xor bl, bl
push esi
call fcn.1006f76b
push esi
mov esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push esi
push dword [ebp - 0x20c]
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x100089b9
lea eax, [ebp - 0x208]
mov dword [ebp - 0x20c], 0
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x208], 0
push eax
push 0x1008d8c8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x100089b9
mov edi, dword [ebp - 0x20c]
test edi, edi
je 0x100089b9
cmp dword [ebp - 0x208], 0
je 0x100089b9
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [edi + 2]
push eax
movzx eax, word [edi]
push eax
lea eax, [ebp - 0x204]
push str.StringFileInfo_04X_04XOriginalFilename
push eax
call fcn.10007550
add esp, 0x1c
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x100089b9
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x100089b9
cmp dword [ebp - 0x208], 0
jbe 0x100089b9
push str.sqlservr.exe
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
movzx ebx, bl
test eax, eax
mov ecx, 1
cmove ebx, ecx
push esi
call fcn.1006f766
add esp, 4
mov al, bl
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
Function at 0x10009200
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072688
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x100c3578
call fcn.10071035
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
call fcn.10007d50
test al, al
jne 0x10009263
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 3
jmp 0x100093cc
cmp dword [ebp - 0x14], 0
je 0x10009368
lea ecx, [ebp - 0x20]
call fcn.10048550
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x1008b894
push 1
push 0
push 0x1008b914
mov dword [ebp - 0x1c], 0
mov bl, 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10009326
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1000933a
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x14]
test eax, eax
mov edx, SysReAllocString
mov dword [ebp - 0x2c], 1
cmovne ecx, edx
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x14], ecx
xor esi, esi
mov dword [ebp - 0x24], 4
nop
test dword [ebp + esi*4 - 0x2c], ecx
je 0x10009320
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp + esi*4 - 0x2c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp word [ebp - 0x18], 0
je 0x1000931d
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.10008010
test al, al
jne 0x10009352
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, 3
jb 0x100092f0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1000933a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10048630
movzx esi, bl
xor esi, 1
inc esi
jmp 0x100093c4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10009364
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
xor bl, bl
jmp 0x10009329
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
call fcn.10007c50
test al, al
je 0x100093b2
push dword [ebp - 0x1c]
call fcn.10008a90
test al, al
jne 0x10009398
push dword [ebp - 0x1c]
call fcn.10008d70
test al, al
jne 0x10009398
mov bl, 1
jmp 0x1000939a
xor bl, bl
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100093a7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test bl, bl
jne 0x100093bf
mov esi, 2
jmp 0x100093c4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100093bf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
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, 0x100c3578
call fcn.10071035
push pe_nt_image_headers32
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, 0x100c3578
call fcn.10071035
push pe_nt_image_headers32
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, 0x100c3578
call fcn.10071035
push pe_nt_image_headers32
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, 0x100c3578
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, 0x100c3578
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