joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c980
Capabilities:
Create process on windows
Reference google public dns server

Disassembly:
sub esp, 0x450
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x448], eax
push esi
mov ecx, str.8.8.8.8
call fcn.1000d0a0
test eax, eax
je 0x1000ca10
mov al, byte [0x1002206c]
test al, al
je 0x1000caa7
cmp byte [0x10022466], 0
jne 0x1000c9ca
call fcn.10006840
mov byte [0x1002206c], al
mov byte [0x10022466], 1
test al, al
je 0x1000caa7
push 0x3ff
lea eax, [esp + 0x4d]
push 0
push eax
mov byte [esp + 0x54], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 0x48]
call fcn.1000be40
push str.NPAVIDS.EXE
mov ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 0
mov edx, esi
push edx
jmp 0x1000ca9a
push 0x3f
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 8]
call fcn.1000d1d0
mov ecx, esi
call fcn.1000d0a0
test eax, eax
je 0x1000caa7
mov al, byte [0x1002206c]
test al, al
je 0x1000caa7
cmp byte [0x10022466], 0
jne 0x1000ca5d
call fcn.10006840
mov byte [0x1002206c], al
mov byte [0x10022466], 1
test al, al
je 0x1000caa7
push 0x3ff
lea ecx, [esp + 0x4d]
push 0
push ecx
mov byte [esp + 0x54], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 0x48]
call fcn.1000be40
push str.NPAVIDS.EXE
mov edx, esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 0
mov eax, esi
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x44c]
pop esi
xor ecx, esp
call fcn.100190a2
add esp, 0x450
ret

Function at 0x1000cac0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x964
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x960], eax
push 0x103
lea eax, [esp + 0x861]
push 0
push eax
mov byte [esp + 0x868], 0
call sub.MSVCR90.dll_memset
push 0x10023228
lea ecx, [esp + 0x86c]
push str._sEMAIL_SCANEMON.EXE
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
lea edx, [esp + 0x85c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000cb58
mov dword [esp + 0x854], 0
mov dword [esp + 0x858], 0
xor eax, eax
jmp 0x1000cb40
mov cl, byte [esp + eax + 0x85c]
mov byte [esp + eax + 0x54], cl
inc eax
test cl, cl
jne 0x1000cb40
lea ecx, [esp]
call fcn.10015490
mov ecx, dword [esp + 0x960]
xor ecx, esp
call fcn.100190a2
add esp, 0x964
ret
Function at 0x1000cc90
Capabilities:
Check if file exists
Read .ini file

Disassembly:
sub esp, 0x468
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x464], eax
push 0x63
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call sub.MSVCR90.dll_memset
push 0x3ff
lea ecx, [esp + 0x75]
push 0
push ecx
mov byte [esp + 0x7c], 0
call sub.MSVCR90.dll_memset
lea edx, [esp + 0x7c]
push edx
call fcn.10006b90
lea eax, [esp + 0x80]
add esp, 0x1c
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000cce2
mov ecx, dword [str.lm3User.ini]
mov edx, dword [0x1001dca8]
mov dword [eax], ecx
mov ecx, dword [0x1001dcac]
mov dword [eax + 4], edx
mov dl, byte [0x1001dcb0]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000cd6e
lea ecx, [esp + 0x64]
push ecx
push 0x104
lea edx, [esp + 8]
push edx
push 0x1001bb53
push str.LanMonONOFF
push str.Status
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x1001bb00
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x1000cd6e
mov eax, 1
mov ecx, dword [esp + 0x464]
xor ecx, esp
call fcn.100190a2
add esp, 0x468
ret
mov ecx, dword [esp + 0x464]
xor ecx, esp
xor eax, eax
call fcn.100190a2
add esp, 0x468
ret

Function at 0x1000ce40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push 0x3ff
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 4]
call fcn.1000be40
push str.LANMONLANMON3.EXE
mov ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 0
mov edx, esi
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
call fcn.100190a2
add esp, 0x404
ret

Function at 0x1000cec0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x1f8
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x1f4], eax
push esi
push 0x1f3
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 4]
call fcn.1000be40
push str.ZVSCANWCPROT.EXE
mov ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0
push 0
mov edx, esi
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x1f8]
pop esi
xor ecx, esp
call fcn.100190a2
add esp, 0x1f8
ret
Function at 0x1000cfa0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR90.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x1000d00b
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
test eax, eax
jne 0x1000d00b
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.100190a2
add esp, 0xa0
ret
xor eax, eax
cmp dword [esp + 0x14], 2
jne 0x1000d01c
cmp dword [esp + 8], 5
sete al
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
call fcn.100190a2
add esp, 0xa0
ret

Function at 0x1000d0a0
Capabilities:
Send icmp echo request

Disassembly:
sub esp, 0x24
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push 0x7d0
mov esi, ecx
call ebp
mov edi, dword [sym.imp.MSVCR90.dll_strncmp]
push 9
push str.127.0.0.1
push esi
call edi
add esp, 0xc
test eax, eax
je 0x1000d129
push 7
push str.0.0.0.0
push esi
call edi
add esp, 0xc
test eax, eax
je 0x1000d129
mov eax, dword [str.Data_Buffer]
mov ecx, dword [0x1001dd1c]
mov edx, dword [0x1001dd20]
mov dword [esp + 0xc], eax
xor eax, eax
push esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000d13d
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100190a2
add esp, 0x24
ret
push ebx
call sub.IPHLPAPI.DLL_IcmpCreateFile
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000d1af
push 0x3c
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x1000d1af
push 0x3e8
push 0x3c
push esi
push 0
push 0x20
lea eax, [esp + 0x24]
push eax
push edi
push ebx
call sub.IPHLPAPI.DLL_IcmpSendEcho
test eax, eax
je 0x1000d1af
cmp dword [esi + 4], 0
jne 0x1000d195
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100190a2
add esp, 0x24
ret
push 0x3e8
call ebp
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100190a2
add esp, 0x24
ret
mov ecx, dword [esp + 0x30]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.100190a2
add esp, 0x24
ret
Function at 0x1000d1d0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x298], eax
push edi
xor eax, eax
push 0x18e
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xfe
lea eax, [esp + 0x19d]
push 0
push eax
mov byte [esp + 0x1a4], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0xff
lea ecx, [esp + 0x19c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [esp + 0x198]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x43
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
je 0x1000d286
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x1001bf20
push 0x40
push esi
call dword [sym.imp.MSVCR90.dll_sprintf_s]
add esp, 0x10
jmp 0x1000d2a1
mov eax, dword [str.127.0.0.1]
mov dword [esi], eax
mov ecx, dword [0x1001dd08]
mov dword [esi + 4], ecx
mov dx, word [0x1001dd0c]
mov word [esi + 8], dx
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x29c]
pop edi
xor ecx, esp
call fcn.100190a2
mov esp, ebp
pop ebp
ret

Function at 0x1000d880
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x308
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x304], eax
push 0x1ff
lea eax, [esp + 0x109]
push 0
push eax
mov byte [esp + 0x110], 0
call sub.MSVCR90.dll_memset
push esi
lea ecx, [esp + 0x114]
push str._im__s__f
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
push 0x103
lea edx, [esp + 0x1d]
push 0
push edx
mov byte [esp + 0x24], 0
call sub.MSVCR90.dll_memset
add esp, 0x24
push 0
push 0x25
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000d8f2
mov ecx, dword [str._taskkill.exe]
mov edx, dword [0x1001ddf4]
mov dword [eax], ecx
mov ecx, dword [0x1001ddf8]
mov dword [eax + 4], edx
mov dx, word [0x1001ddfc]
push 0
mov dword [eax + 8], ecx
push 0
mov word [eax + 0xc], dx
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0xc]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x304]
xor ecx, esp
call fcn.100190a2
add esp, 0x308
ret
Function at 0x1000da60
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x95
lea eax, [esp + 9]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x10], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
push 0x96
lea ecx, [esp + 0xc]
push ecx
push str.NPAV
push edi
push 0x1001bab8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [sym.imp.MSVCR90.dll__stricmp]
lea edx, [esp + 4]
push str.NPAV
push edx
call esi
add esp, 8
test eax, eax
je 0x1000db18
lea eax, [esp + 4]
push str.TRUE
push eax
call esi
add esp, 8
test eax, eax
je 0x1000db18
lea ecx, [esp + 4]
push str.FALSE
push ecx
call esi
add esp, 8
test eax, eax
je 0x1000db18
lea edx, [esp + 4]
push edx
call fcn.1000db40
xor ecx, ecx
add esp, 4
cmp eax, 3
setg cl
mov eax, ecx
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.100190a2
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
mov eax, 1
call fcn.100190a2
add esp, 0xa0
ret
Function at 0x1000dce0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x5f0
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x5ec], eax
push esi
push 0x1f3
lea eax, [esp + 0x19]
push 0
push eax
mov byte [esp + 0x20], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 0x14]
call fcn.1000be40
cmp byte [esp + 0x14], 0
je 0x1000de92
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000dd25
mov cx, word [0x1001dc00]
mov dl, byte [0x1001dc02]
mov word [eax], cx
push edi
mov byte [eax + 2], dl
xor eax, eax
push 0x3e6
push eax
lea ecx, [esp + 0x216]
push ecx
mov word [esp + 0x218], ax
call sub.MSVCR90.dll_memset
lea edx, [esp + 0x24]
push edx
push 0x1001de58
lea edx, [esp + 0x220]
call fcn.10001000
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x14
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SOFTWAREWow6432NodeMicrosoftWindows_DefenderExclusionsProcesses
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x1c], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000dddc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x21c]
push ecx
push edx
mov dword [esp + 0x28], 0x200
mov dword [esp + 0x2c], 4
call edi
mov eax, dword [esp + 8]
test eax, eax
je 0x1000ddeb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xc], 0
je 0x1000de76
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_DefenderExclusionsProcesses
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
call esi
test eax, eax
jne 0x1000de47
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0x21c]
push ecx
push edx
mov dword [esp + 0x2c], 0x200
mov dword [esp + 0x28], 4
call edi
mov eax, dword [esp + 8]
test eax, eax
je 0x1000de56
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 0xc], eax
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x5ec]
xor ecx, esp
call fcn.100190a2
add esp, 0x5f0
ret
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x5ec]
xor ecx, esp
call fcn.100190a2
add esp, 0x5f0
ret
mov ecx, dword [esp + 0x5f0]
pop esi
xor ecx, esp
xor eax, eax
call fcn.100190a2
add esp, 0x5f0
ret

Function at 0x1000deb0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
sub esp, 0x1f8
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x1f4], eax
push esi
push 0x1f3
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 4]
call fcn.1000be40
push str.ZVSCANMYACCOUNTAPPS.EXE
mov ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
pop esi
test eax, eax
je 0x1000df1e
push 0
push 0
push str._myapps
lea eax, [esp + 0xc]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x1f4]
xor ecx, esp
call fcn.100190a2
add esp, 0x1f8
ret
Function at 0x1000e8d0
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov word [esp + 0x1c], ax
mov dword [esp], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 8], ecx
mov ecx, 0x1001bb53
lea eax, [esp]
mov edx, 0x215
push eax
mov dword [esp + 8], 3
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], dx
mov dword [esp + 0x1e], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
add esp, 0x20
ret
Function at 0x1000ecb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x95
lea eax, [esp + 9]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x10], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
push 0x96
lea ecx, [esp + 0xc]
push ecx
push str.NPAV
push str.DELETENPCRASHDUMPS
push str.NPCRASHDUMPS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [sym.imp.MSVCR90.dll__stricmp]
lea edx, [esp + 4]
push str.NPAV
push edx
call esi
add esp, 8
test eax, eax
je 0x1000ed6c
lea eax, [esp + 4]
push str.TRUE
push eax
call esi
add esp, 8
test eax, eax
je 0x1000ed6c
lea ecx, [esp + 4]
push str.FALSE
push ecx
call esi
add esp, 8
test eax, eax
je 0x1000ed6c
lea edx, [esp + 4]
push edx
call fcn.1000db40
xor ecx, ecx
add esp, 4
cmp eax, 7
setg cl
mov eax, ecx
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.100190a2
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
mov eax, 1
call fcn.100190a2
add esp, 0xa0
ret
Function at 0x1000ed90
Capabilities:
Query service configuration

Disassembly:
sub esp, 0x10
push ebp
push esi
push edi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [esp + 0x1c], esi
xor ebp, ebp
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, esi
je 0x1000ef46
push ebx
push 1
push str.Net_Protector_Web_Prototection
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
cmp ebx, esi
jne 0x1000ede1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
lea eax, [esp + 0x10]
push eax
push esi
push esi
push ebx
call edi
test eax, eax
jne 0x1000ee13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000ef35
mov esi, dword [esp + 0x10]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
lea ecx, [esp + 0x10]
push ecx
push esi
push ebp
push ebx
call edi
test eax, eax
je 0x1000ef35
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceConfig2A]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 1
push ebx
call edi
test eax, eax
jne 0x1000ee5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000ef45
mov esi, dword [esp + 0x10]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x1000ee5f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push esi
push eax
push 1
push ebx
call edi
test eax, eax
je 0x1000ef45
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push 3
push ebx
call edi
test eax, eax
je 0x1000ef45
test ebp, ebp
je 0x1000ef29
mov eax, dword [ebp + 4]
sub eax, 2
je 0x1000eeec
sub eax, 1
je 0x1000eeca
sub eax, 1
jne 0x1000ef35
mov ecx, dword [str.Disabled]
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
mov edx, dword [0x1001d368]
mov dword [eax + 4], edx
mov cl, byte [0x1001d36c]
mov byte [eax + 8], cl
jmp 0x1000ef35
mov edx, dword [str.Manual]
mov eax, dword [esp + 0x24]
mov dword [eax], edx
mov cx, word [0x1001d358]
mov word [eax + 4], cx
mov dl, byte [0x1001d35a]
mov byte [eax + 6], dl
jmp 0x1000ef35
cmp dword [esp + 0x18], 1
jne 0x1000ef07
mov edi, dword [esp + 0x24]
mov ecx, 6
mov esi, str.Automatic__delayed_start_
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x1000ef35
mov ecx, dword [str.Automatic]
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
mov edx, dword [0x1001d374]
mov dword [eax + 4], edx
mov cx, word [0x1001d378]
mov word [eax + 8], cx
jmp 0x1000ef35
mov eax, dword [esp + 0x24]
mov edx, 0x2d
mov word [eax], dx
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x1000f070
Capabilities:
Modify service

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x1000f17b
mov eax, dword [esp + 0x10]
push esi
push 2
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x1000f0b1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
pop ebp
pop ecx
ret
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll__stricmp]
push str.DISABLED
push ebp
call ebx
add esp, 8
test eax, eax
jne 0x1000f0ed
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop ebx
pop esi
pop edi
pop ebp
pop ecx
ret
push str.AUTOMATIC
push ebp
call ebx
add esp, 8
test eax, eax
jne 0x1000f122
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop ebx
pop esi
pop edi
pop ebp
pop ecx
ret
push str.MANUAL
push ebp
call ebx
add esp, 8
test eax, eax
jne 0x1000f157
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop ebx
pop esi
pop edi
pop ebp
pop ecx
ret
lea ecx, [esp + 0x10]
push ecx
push 3
push esi
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop ebx
pop esi
pop edi
pop ebp
pop ecx
ret
Function at 0x1000f180
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x25c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x258], eax
push esi
push 0x1f3
lea eax, [esp + 0x6d]
push 0
push eax
mov byte [esp + 0x74], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 0x68]
call fcn.1000be40
push 0x104
mov ecx, esi
push ecx
mov edx, esi
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov eax, esi
dec eax
pop esi
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000f1d0
mov ecx, dword [str.StartWebProt.ini]
mov edx, dword [0x1001e10c]
mov dword [eax], ecx
mov ecx, dword [0x1001e110]
mov dword [eax + 4], edx
mov edx, dword [0x1001e114]
mov dword [eax + 8], ecx
mov cx, word [0x1001e118]
mov dword [eax + 0xc], edx
push 0x63
lea edx, [esp + 5]
push 0
push edx
mov word [eax + 0x10], cx
mov byte [esp + 0xc], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push 0x64
lea ecx, [esp + 8]
push ecx
push str.NPAV
push str.spread
push str.data2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp]
push str.NPAV
push edx
call dword [sym.imp.MSVCR90.dll__stricmp]
mov ecx, dword [esp + 0x260]
add esp, 8
neg eax
sbb eax, eax
xor ecx, esp
neg eax
call fcn.100190a2
add esp, 0x25c
ret

Function at 0x1000f270
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x16c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x168], eax
push 0x103
lea eax, [esp + 0x69]
push 0
push eax
mov byte [esp + 0x70], 0
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x70]
push ecx
call fcn.10006b90
lea eax, [esp + 0x74]
add esp, 0x10
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000f2b0
mov edx, dword [str.LaunchMgr.ini]
mov ecx, dword [0x1001b908]
mov dword [eax], edx
mov edx, dword [0x1001b90c]
mov dword [eax + 4], ecx
mov cx, word [0x1001b910]
mov dword [eax + 8], edx
push 0x63
lea edx, [esp + 5]
push 0
push edx
mov word [eax + 0xc], cx
mov byte [esp + 0xc], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push 0x64
lea ecx, [esp + 8]
push ecx
push str.NPAV
push str.installed
push str.WEBPROT2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp]
push str.TRUE
push edx
call dword [sym.imp.MSVCR90.dll__stricmp]
mov ecx, dword [esp + 0x170]
add esp, 8
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.100190a2
add esp, 0x16c
ret