joyce8/EMBER2024-capa huggingface dataset:
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, 0x100c3579
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, 0x100c3579
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, 0x100c3579
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, 0x100c3579
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, 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
Function at 0x1000aec0
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], 0
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 0x1000af1c
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 0x1000b090
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 edx, [ebp - 8]
mov dword [ebp - 8], 0
mov ecx, str.TermService
call fcn.1000cdf0
test al, al
je 0x1000b10d
cmp dword [ebp - 8], 4
jne 0x1000b10d
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000b10d
cmp dword [ebp - 8], 1
mov eax, 2
jne 0x1000b112
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret

Function at 0x1000b120
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.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x1000b17c
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 0x1000b1a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
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 - 0x128], 0
push eax
push 4
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x1000b20f
mov dword [esi], 1
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
push pe_nt_image_headers32
lea eax, [ebp - 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x124], 0x11c
lea ecx, [ebp - 0x124]
call fcn.100487b0
cmp dword [ebp - 0x120], 5
jne 0x1000b27e
mov edx, 3
mov ecx, str.TermService
call fcn.1000cf50
lea edx, [ebp - 0x128]
mov ecx, str.TermService
call fcn.1000cdf0
cmp dword [ebp - 0x128], 4
je 0x1000b27e
xor eax, eax
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, 1
xor ecx, ebp
pop esi
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b9b0
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x100c3579
push ebx
push esi
push edi
mov dword [ebp - 0x18], eax
call fcn.10071035
mov edi, dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
xor bl, bl
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
push 2
push 3
push 0
call dword [sym.imp.NETAPI32.dll_NetUserEnum]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1000ba26
cmp ecx, 0xea
jne 0x1000ba77
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1000ba8c
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000ba7a
xor edi, edi
test eax, eax
je 0x1000ba7a
nop word [eax + eax]
test esi, esi
je 0x1000ba77
cmp dword [ebp + 8], 1
jne 0x1000ba50
cmp dword [esi + 0xc], 0
jmp 0x1000ba5d
push dword [ebp - 0x18]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000ba6e
test byte [esi + 0x18], 2
mov eax, 1
movzx ebx, bl
cmove ebx, eax
inc edi
add esi, 0x74
cmp edi, dword [ebp - 8]
jb 0x1000ba40
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
test esi, esi
je 0x1000ba8c
push esi
call edi
xor esi, esi
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x1c], 0xea
je 0x1000b9f7
test esi, esi
je 0x1000baa0
push esi
call edi
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 8
Function at 0x1000bac0
Capabilities:
Create process on windows
List user accounts

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072f75
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x100c3579
call fcn.10071035
mov edi, dword [ebp + 8]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_WinExec]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push eax
push 2
push 3
push 0
call dword [sym.imp.NETAPI32.dll_NetUserEnum]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1000bb4a
cmp eax, 0xea
jne 0x1000bc98
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x1000bca5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000bc7c
xor esi, esi
test eax, eax
je 0x1000bc7c
nop word [eax + eax]
cmp dword [ecx + 0xc], 0
jne 0x1000bc6d
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov dword [ebp - 4], 4
cmp edi, 1
jne 0x1000bbc2
mov eax, dword [ebp - 0x54]
push dword [eax]
push str.cmd__c_net_user__s__active:no
jmp 0x1000bbd1
cmp edi, 2
jne 0x1000bbdd
mov eax, dword [ebp - 0x54]
push dword [eax]
push str.cmd__c_net_user__s__active:yes
lea eax, [ebp - 0x38]
push eax
call fcn.10047dc0
add esp, 0xc
push ecx
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.100491e0
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
push 0
cmovae eax, dword [ebp - 0x50]
push eax
call ebx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x1000bc34
mov eax, dword [ebp - 0x50]
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x1000bc2a
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x1000bc9f
push edx
push eax
call fcn.1006f01d
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 4
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
call fcn.10004d00
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
add ecx, 0x74
inc esi
mov dword [ebp - 0x54], ecx
cmp esi, eax
jb 0x1000bb70
cmp dword [ebp - 0x5c], 0xea
mov bl, 1
je 0x1000bb14
test ecx, ecx
je 0x1000bca7
push ecx
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
jmp 0x1000bca7
mov ecx, dword [ebp - 0x54]
xor bl, bl
jmp 0x1000bc8b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
Function at 0x1000bea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007304d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 1
call fcn.1000bac0
test al, al
je 0x1000c003
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
push 0x28
push str.cmd__c_net_user_HelpAssistant__active:no
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c670
mov dword [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jbe 0x1000bfa6
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000bf7f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bf75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000bf75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006f01d
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, 1
jmp 0x1000c00e
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000bfe3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bfd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000bfd9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006f01d
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [esi], 9
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ce80
Capabilities:
Modify service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, 0x100c3579
push edi
call fcn.10071035
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x1000cf32
push 0xf01ff
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x1000cf2b
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1000cf24
push edi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov ebx, eax
test ebx, ebx
je 0x1000cf24
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push ebx
test eax, eax
je 0x1000cf1e
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006efdc
mov esp, ebp
pop ebp
ret

Function at 0x1000d010
Capabilities:
Modify service

Disassembly:
push esi
mov ecx, 0x100c3579
call fcn.10071035
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x1000d06f
push edi
push 2
push str.RDSessMgr
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x1000d067
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
ret
Function at 0x1000d280
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x100bd024]
xor eax, esp
mov dword [esp + 0x1a8], eax
push esi
mov ecx, 0x100c3579
call fcn.10071035
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1000d344
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
xorps xmm0, xmm0
mov eax, 2
movlpd qword [esp + 0x10], xmm0
push str.127.0.0.1
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x599
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
cmp esi, 0xffffffff
je 0x1000d337
push 0x10
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1000d337
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, 1
pop esi
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1ac]
xor al, al
pop esi
xor ecx, esp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret