joyce8/EMBER2024-capa huggingface dataset:
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, 0x100c3578
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, 0x100c3578
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, 0x100c3578
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, 0x100c3578
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, 0x100c3578
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, 0x100c3578
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, 0x100c3578
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, 0x100c3578
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, 0x100c3578
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, 0x100c3578
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
Function at 0x1001ee10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077759
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100bd024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, 0x100c3578
call fcn.10071035
mov dword [ebx], vtable.RC::IRefCount.0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.RC::ISysDoctorEngine.0
mov dword [ebp - 4], 1
lea eax, [ebx + 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov dword [eax], vtable.RC::RCRefCounted.0
mov dword [eax + 4], 0
mov byte [ebp - 4], 3
mov dword [ebx], vtable.RC::RCRefCountImpl1_class_RC::ISysDoctorEngine_.0
mov dword [eax], vtable.RC::RCRefCountImpl1_class_RC::ISysDoctorEngine_.1.0
mov dword [ebp - 4], 4
lea edi, [ebx + 0xc]
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov dword [ebx], vtable.RC::RCSysDoctorEngine.0
mov dword [eax], vtable.RC::RCSysDoctorEngine.1.0
mov dword [edi], vtable.RC::RCSafeTaskQueue.0
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1006efed
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 6
lea esi, [edi + 0x18]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 7
push 0x18
call fcn.1006efed
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 8
mov dword [esi], eax
push eax
call ebx
mov byte [ebp - 4], 8
push ecx
push 0
push ecx
lea ecx, [edi + 0x1c]
call fcn.1005d9c0
mov byte [ebp - 4], 9
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x10]
add edi, 0x4c
push ecx
push 1
push ecx
mov dword [ebp - 0x18], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.RC::RCSafeThreadMgr.0
call fcn.1005d9c0
mov byte [ebp - 4], 0xb
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 0xc
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 0xd
lea esi, [edi + 0x40]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xe
push 0x18
call fcn.1006efed
add esp, 4
mov dword [esi], eax
push eax
call ebx
mov byte [ebp - 4], 0xf
mov dword [edi + 0x44], 1
mov byte [ebp - 4], 0x10
mov ebx, dword [ebp - 0x10]
lea esi, [ebx + 0x98]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x94], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10021ba0
mov dword [esi], eax
mov byte [ebp - 4], 0x13
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100235a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078649
mov eax, dword fs:[0]
push eax
sub esp, 0x90
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 ecx, 0x100c3578
call fcn.10071035
lea ecx, [ebp - 0x28]
call fcn.10042c50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x84]
push str.SysDoctor.log
call fcn.10004850
mov byte [ebp - 4], 1
lea eax, [ebp - 0x84]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x9c]
call fcn.10051500
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10023649
mov ecx, eax
call fcn.10004d00
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.10004d00
mov byte [ebp - 4], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x84]
call fcn.10004d00
mov byte [ebp - 4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10049d70
test al, al
je 0x100236e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x400
mov dword [ebp - 0x54], str.notepad.exe
mov dword [ebp - 0x48], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 0x65], 1
test eax, eax
jne 0x100236e4
mov byte [ebp - 0x65], 0
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
call fcn.10004d00
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x65]
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
Function at 0x100239e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100787dc
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100bd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x100c3578
call fcn.10071035
lea ecx, [ebp - 0x40]
call fcn.10042c50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
push str.SysDoctor.log
call fcn.10004850
mov byte [ebp - 4], 1
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x7c]
call fcn.10051500
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x10023a80
mov ecx, eax
call fcn.10004d00
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.10004d00
mov byte [ebp - 4], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.10004d00
mov byte [ebp - 4], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 0
cmovae eax, dword [ebp - 0x40]
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10023b69
push ecx
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.100491e0
add esp, 4
mov byte [ebp - 4], 0xf
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x44]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10023b4f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10023b45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10023b45
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 byte [ebp - 4], 0
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x40]
call fcn.10004d00
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret
Function at 0x100264d0
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007955f
mov eax, dword fs:[0]
push eax
sub esp, 0x158
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 dword [ebp - 0x148], ecx
mov ecx, 0x100c3578
call fcn.10071035
mov dword [ebp - 0x13c], 0
mov bl, 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x140], 0
nop dword [eax]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x13c]
push eax
push 2
push 1
push 0
call dword [sym.imp.NETAPI32.dll_NetUserEnum]
mov edi, eax
mov dword [ebp - 0x14c], edi
test edi, edi
je 0x10026579
cmp edi, 0xea
jne 0x100266f4
mov esi, dword [ebp - 0x13c]
test esi, esi
je 0x1002670f
mov edi, dword [ebp - 0x148]
push ecx
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
call fcn.1000e290
mov eax, dword [edi + 4]
add esp, 4
mov dword [edi + 8], eax
xor edi, edi
cmp dword [ebp - 0x14], edi
jbe 0x100266ee
nop dword [eax]
test esi, esi
je 0x100266ee
cmp dword [esi + 0xc], 2
jne 0x1002666c
mov edx, dword [esi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 4], 3
xor eax, eax
mov word [ebp - 0x164], ax
mov eax, edx
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x144], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10026610
sub eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x164]
sar eax, 1
push eax
push edx
call fcn.10004e60
mov dword [ebp - 4], 4
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x148]
push eax
lea ecx, [ecx + 4]
call fcn.10026c60
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x164]
call fcn.10004d00
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
push pe_nt_image_headers32
lea eax, [ebp - 0x134]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x138], 0x11c
lea ecx, [ebp - 0x138]
call fcn.100487b0
cmp dword [ebp - 0x134], 6
jne 0x100266e1
cmp dword [ebp - 0x130], 2
jb 0x100266e1
lea eax, [ebp - 0x140]
push eax
push 0x18
push dword [esi]
push 0
call dword [sym.imp.NETAPI32.dll_NetUserGetInfo]
xor ecx, ecx
movzx ebx, bl
test eax, eax
mov eax, dword [ebp - 0x140]
cmovne ebx, ecx
test eax, eax
je 0x100266e1
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x140], 0
inc edi
add esi, 0x20
cmp edi, dword [ebp - 0x14]
jb 0x100265b0
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x13c]
test ecx, ecx
je 0x1002670f
push ecx
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov dword [ebp - 0x13c], 0
cmp edi, 0xea
je 0x10026540
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 - 0x10]
xor ecx, ebp
call fcn.1006efdc
mov esp, ebp
pop ebp
ret