joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003d30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x9c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x98], eax
push ebp
mov ebp, dword [esp + 0xa4]
push edi
mov edi, dword [sym.imp.MSVCR90.dll__stricmp]
push str.BELOW_NORMAL
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003d91
push 0x4000
push ebx
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
test eax, eax
jne 0x10003e38
xor eax, eax
mov ecx, dword [esp + 0xa0]
pop edi
pop ebp
xor ecx, esp
call fcn.100190a2
add esp, 0x9c
ret 4
push str.NORMAL
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003da4
push 0x20
jmp 0x10003d67
push str.HIGH
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003dba
push 0x80
jmp 0x10003d67
push str.ABOVE_NORMAL
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003dd0
push 0x8000
jmp 0x10003d67
push str.REALTIME
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003de6
push 0x100
jmp 0x10003d67
push 0x1001c2a0
push esi
call edi
add esp, 8
test eax, eax
jne 0x10003d76
push 0x95
push eax
mov byte [esp + 0x10], al
lea eax, [esp + 0x11]
push eax
call sub.MSVCR90.dll_memset
push ebp
lea ecx, [esp + 0x18]
push str.process_where_name__s__call_setpriority_64
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
push 0
push 0
lea edx, [esp + 0x10]
push edx
push str.wmic.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 1
jmp 0x10003d78

Function at 0x10003f00
Capabilities:
Check if file exists
Delete file

Disassembly:
sub esp, 0x4a8
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x4a0], eax
push esi
mov esi, dword [0x1002288c]
push 0x3ff
lea eax, [esp + 0xa5]
push 0
push eax
mov byte [esp + 0xac], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1001bf08
push esi
mov esi, dword [sym.imp.MSVCR90.dll__mbstok]
call esi
add esp, 8
test eax, eax
je 0x10003fb5
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003f50
push 0x1001bf08
push 0
call esi
add esp, 8
test eax, eax
je 0x10003fb5
lea edx, [esp + 0xa0]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10003f70
lea ecx, [esp + 0xa0]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10003fb5
lea ecx, [esp + 0xa0]
call fcn.10004600
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x10003fb5
push edi
mov ecx, 0x10022890
call fcn.100019c0
mov ecx, dword [esp + 0x4a4]
pop esi
xor ecx, esp
call fcn.100190a2
add esp, 0x4a8
ret
Function at 0x10003fd0
Capabilities:
Delete file

Disassembly:
sub esp, 0x918
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x910], eax
push esi
mov esi, dword [0x1002288c]
push 0x1001bf04
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10003ffe
mov byte [eax], 0
push 0x3ff
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x515]
push 0
push ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x51c], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1001bf08
push esi
mov esi, dword [sym.imp.MSVCR90.dll__mbstok]
call esi
add esp, 8
test eax, eax
je 0x100040c8
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004053
push 0x1001bf08
push 0
call esi
add esp, 8
test eax, eax
je 0x100040c8
lea edx, [esp + 8]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10004070
push 0xa
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCR90.dll_strtoul]
add esp, 0xc
lea ecx, [esp + 0x510]
push ecx
push eax
call fcn.10011c30
add esp, 8
push str.C:zvGCLFPID.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.C:zvGCLFPID.ini
lea edx, [esp + 0x514]
push edx
lea eax, [esp + 0x10]
push eax
push str.GCLFPID
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x914]
pop esi
xor ecx, esp
call fcn.100190a2
add esp, 0x918
ret
Function at 0x100040e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
sub esp, 0xf30
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0xf2c], eax
mov eax, dword [esp + 0xf34]
push ebp
push esi
push edi
mov edi, dword [0x1002288c]
push 0x95
lea ecx, [esp + 0x19]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
call sub.MSVCR90.dll_memset
push 0x3ff
lea edx, [esp + 0x2b1]
push 0
push edx
mov byte [esp + 0x2b8], 0
call sub.MSVCR90.dll_memset
push 0x1f3
lea eax, [esp + 0xc9]
push 0
push eax
mov byte [esp + 0xd0], 0
call sub.MSVCR90.dll_memset
push 0x7ff
lea ecx, [esp + 0x761]
push 0
push ecx
mov byte [esp + 0x768], 0
call sub.MSVCR90.dll_memset
mov ebp, dword [sym.imp.MSVCR90.dll_strchr]
push 0x2c
push edi
mov dword [esp + 0x44], 0
call ebp
mov esi, eax
add esp, 0x38
test esi, esi
je 0x10004306
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_strncpy]
mov edx, esi
sub edx, edi
push edx
lea eax, [esp + 0x1c]
push edi
push eax
call ebx
add esp, 0xc
add esi, 1
je 0x10004305
push 0x2c
push esi
call ebp
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x100041ed
mov ecx, ebp
sub ecx, esi
push ecx
lea edx, [esp + 0x2a8]
push esi
push edx
call ebx
add esp, 0xc
add ebp, 1
je 0x1000420e
mov eax, ebp
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100041e0
mov dword [esp + 0x10], ebp
jmp 0x1000420e
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100041f2
sub eax, edx
sub eax, esi
add eax, edi
push eax
lea eax, [esp + 0x2a8]
push esi
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x2a4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10004305
lea edx, [esp + 0x2a4]
push edx
lea eax, [esp + 0x740]
push str.File_Path_is_:__s
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
mov esi, dword [esp + 0x20]
add esp, 0xc
push esi
lea edi, [esp + 0x740]
call fcn.10002690
mov eax, dword [0x10022e1c]
test eax, eax
je 0x10004305
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x2a8]
push edx
call eax
mov edi, dword [sym.imp.MSVCR90.dll__stricmp]
lea eax, [esp + 0xb8]
push str.Biz_Secure_Labs_Pvt._Ltd
push eax
call edi
add esp, 0x10
test eax, eax
je 0x100042c1
lea ecx, [esp + 0xb0]
push str.Biz_Secure_Labs_Pvt._Ltd.
push ecx
call edi
add esp, 8
test eax, eax
je 0x100042c1
lea edx, [esp + 0xb0]
push str.BIZ_SECURE_LABS_PRIVATE_LIMITED
push edx
call edi
add esp, 8
test eax, eax
je 0x100042c1
call fcn.100048c0
jmp 0x10004305
push esi
mov edi, str.Digital_Sign_matched_for_FilePath____In_ShellS_command
call fcn.10002690
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
lea ecx, [esp + 0x2b0]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x10004305
push esi
mov edi, str.ShellS_Job_Successfull
call fcn.10002690
push esi
mov ecx, 0x10022890
call fcn.100019c0
pop ebx
mov ecx, dword [esp + 0xf38]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.100190a2
add esp, 0xf30
ret 4
Function at 0x100048c0
Capabilities:
Move file

Disassembly:
sub esp, 0x56c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x568], eax
push 0x3ff
lea eax, [esp + 0x16d]
push 0
push eax
mov byte [esp + 0x174], 0
call sub.MSVCR90.dll_memset
push 0x63
lea ecx, [esp + 0x11]
push 0
push ecx
mov byte [esp + 0x18], 0
call sub.MSVCR90.dll_memset
push 0x103
lea edx, [esp + 0x81]
push 0
push edx
mov byte [esp + 0x88], 0
call sub.MSVCR90.dll_memset
add esp, 0x24
xor eax, eax
jmp 0x10004930
mov cl, byte [eax + 0x10022890]
mov byte [esp + eax + 0x168], cl
inc eax
test cl, cl
jne 0x10004930
push ebp
mov ebp, dword [sym.imp.MSVCR90.dll_strrchr]
push esi
lea eax, [esp + 0x170]
push 0x5c
push eax
call ebp
mov esi, eax
add esp, 8
test esi, esi
je 0x100049ed
inc esi
lea edx, [esp + 0x6c]
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10004970
push edi
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
mov byte [esi], cl
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x178]
push edx
mov eax, edx
push str._sDONEJOB_s
push eax
call edi
push 0x2e
push esi
call ebp
add esp, 0x18
test eax, eax
je 0x100049ba
lea esi, [esp + 0xc]
mov ecx, eax
sub esi, eax
mov edi, edi
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x100049b0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x178]
push edx
mov byte [eax], 0
mov eax, edx
push str._s_NS_s
push eax
call edi
add esp, 0x10
push 1
lea ecx, [esp + 0x178]
push ecx
push 0x10022890
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
mov ecx, dword [esp + 0x570]
pop esi
pop ebp
xor ecx, esp
call fcn.100190a2
add esp, 0x56c
ret
Function at 0x10004a10
Capabilities:
Terminate process

Disassembly:
sub esp, 0x170
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebp
push esi
push edi
mov edi, dword [0x1002288c]
push 0x103
lea eax, [esp + 0x79]
push 0
push eax
mov byte [esp + 0x80], 0
call sub.MSVCR90.dll_memset
push 0x63
lea ecx, [esp + 0x21]
push 0
push ecx
mov byte [esp + 0x28], 0
call sub.MSVCR90.dll_memset
push 0x2c
push edi
mov dword [esp + 0x2c], 0xffffffff
xor ebp, ebp
call dword [sym.imp.MSVCR90.dll_strchr]
mov esi, eax
add esp, 0x20
test esi, esi
je 0x10004b03
mov edx, esi
sub edx, edi
push edx
lea eax, [esp + 0x78]
push edi
push eax
call dword [sym.imp.MSVCR90.dll_strncpy]
add esp, 0xc
add esi, 1
je 0x10004b03
lea edx, [esp + 0x10]
mov eax, esi
sub edx, esi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10004aa0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push 0x1001c544
push edx
call dword [sym.imp.MSVCR90.dll_sscanf]
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x10004b03
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebp, eax
test ebp, ebp
je 0x10004b03
mov esi, dword [esp + 0x180]
push esi
mov ecx, 0x10022890
call fcn.100019c0
push esi
mov edi, str.KPID_Job_is_successfull____Process_is_terminated_successfully
call fcn.10002690
jmp 0x10004b0a
mov esi, dword [esp + 0x180]
push esi
mov edi, str.OUT_ParseKpidJob
call fcn.10002690
mov ecx, dword [esp + 0x178]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.100190a2
add esp, 0x170
ret 4

Function at 0x10004ce0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
movzx ebp, word [eax]
mov ecx, 0x76c
push edi
cmp bp, cx
jae 0x10004d09
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx ebx, word [eax + 6]
movzx eax, word [eax + 2]
push eax
movzx eax, bp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10004c10
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop ebp
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, esi
pop ebx
add esp, 0x10
ret

Function at 0x100054f0
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.PVCNS.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 0x100057a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0xc]
push ecx
call fcn.10006b90
lea eax, [esp + 0x10]
add esp, 0x10
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x100057e0
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 0x103
lea edx, [esp + 0x109]
push 0
push edx
mov word [eax + 0xc], cx
mov byte [esp + 0x110], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
push 0x104
lea ecx, [esp + 0x10c]
push ecx
push str.NPAV
push str.MYACCOUNTAPPS
push str.MYACCOUNT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x104]
push str.TRUE
push edx
call dword [sym.imp.MSVCR90.dll__stricmp]
mov ecx, dword [esp + 0x210]
add esp, 8
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.100190a2
add esp, 0x20c
ret

Function at 0x10005d90
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x108
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp]
push 0x5c
push edx
call dword [sym.imp.MSVCR90.dll_strrchr]
add esp, 8
test eax, eax
je 0x10005de6
mov byte [eax + 1], 0
lea eax, [esp]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10005df0
mov ecx, dword [str.RepairServices.dll]
mov edx, dword [0x1001c890]
mov dword [eax], ecx
mov ecx, dword [0x1001c894]
mov dword [eax + 4], edx
mov edx, dword [0x1001c898]
mov dword [eax + 8], ecx
mov cx, word [0x1001c89c]
mov dword [eax + 0xc], edx
mov dl, byte [0x1001c89e]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [esp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10005e4c
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10022e24], eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100190a2
add esp, 0x108
ret

Function at 0x10005e70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x6c], eax
push 0x63
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
push 0x64
lea ecx, [esp + 8]
push ecx
push str.FALSE
push str.LastAttemptDate
push str.SERVICEREPAIRSHELL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp]
push str.FALSE
push edx
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10005ed6
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100190a2
add esp, 0x70
ret
lea eax, [esp]
call fcn.10005f00
xor ecx, ecx
cmp eax, 0xa
setle cl
mov eax, ecx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100190a2
add esp, 0x70
ret
Function at 0x100064c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp]
push 0x5c
push edx
call dword [sym.imp.MSVCR90.dll_strrchr]
add esp, 8
test eax, eax
je 0x10006516
mov byte [eax + 1], 0
push esi
push edi
lea edi, [esp + 8]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10006520
mov ecx, 5
mov esi, str.ZVSCANAutorenewal.exe
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push str._expire
lea eax, [esp + 0x14]
push eax
movsw word es:[edi], word [esi]
push str.open
push 0
movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.100190a2
add esp, 0x108
ret

Function at 0x100065e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xe8
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebp
mov ebp, dword [esp + 0xf0]
push esi
push 0x63
lea eax, [esp + 0x1d]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x24], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push esi
push 0x64
lea ecx, [esp + 0x20]
push ecx
push str.FALSE
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [sym.imp.MSVCR90.dll__stricmp]
lea edx, [esp + 0x18]
push str.FALSE
push edx
call esi
add esp, 8
test eax, eax
jne 0x1000665a
pop esi
pop ebp
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.100190a2
add esp, 0xe8
ret
xor eax, eax
lea ecx, [esp + 8]
push ecx
mov word [esp + 0xc], ax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x63
lea edx, [esp + 0x85]
push 0
push edx
mov byte [esp + 0x8c], 0
call sub.MSVCR90.dll_memset
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x16]
movzx edx, word [esp + 0x1a]
push eax
push ecx
push edx
lea eax, [esp + 0x98]
push 0x1001c968
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xa4]
push edx
call esi
mov ecx, dword [esp + 0x114]
add esp, 0x28
neg eax
pop esi
sbb eax, eax
pop ebp
xor ecx, esp
inc eax
call fcn.100190a2
add esp, 0xe8
ret
Function at 0x10006840
Capabilities:
Enumerate device drivers on windows

Disassembly:
mov eax, 0x1408
call fcn.10019d90
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x1404], eax
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x1000
lea ecx, [esp + 0x18]
push ecx
call sub.PSAPI.DLL_EnumDeviceDrivers
test eax, eax
je 0x100068c6
mov eax, dword [esp + 0xc]
cmp eax, 0x1000
jae 0x100068c6
shr eax, 2
mov edi, eax
xor esi, esi
test edi, edi
jle 0x100068c6
mov ebx, dword [sym.imp.MSVCR90.dll__stricmp]
nop
mov eax, dword [esp + esi*4 + 0x10]
push 0x400
lea edx, [esp + 0x1014]
push edx
push eax
call sub.PSAPI.DLL_GetDeviceDriverBaseNameA
test eax, eax
je 0x100068c1
lea ecx, [esp + 0x1010]
push str.npf.sys
push ecx
call ebx
add esp, 8
test eax, eax
je 0x100068e0
inc esi
cmp esi, edi
jl 0x10006890
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1404]
xor ecx, esp
call fcn.100190a2
add esp, 0x1408
ret
mov ecx, dword [esp + 0x1410]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.100190a2
add esp, 0x1408
ret
Function at 0x10008140
Capabilities:
Start service

Disassembly:
sub esp, 0x18
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
push 0xf003f
push str.ServicesActive
push 0
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x10008197
push str.c:zv1.ini
push str._OpenSCM__Fails
push str.RetVal
push str.SrvStat
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100190a2
add esp, 0x18
ret
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x100081bd
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.c:zv1.ini
push str.Service_Open_Fails
jmp 0x10008174
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1000823f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
push eax
lea eax, [esp + 0xc]
push 0x1001c38c
push eax
mov byte [esp + 0x14], 0
mov dword [esp + 0x15], ecx
mov dword [esp + 0x19], ecx
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], ecx
mov word [esp + 0x25], cx
mov byte [esp + 0x27], cl
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push str.c:zv1.ini
lea ecx, [esp + 0xc]
push ecx
push str.RetVal
push str.SrvStat
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100190a2
add esp, 0x18
ret
push str.c:zv1.ini
push str.Start_Service_Success
push str.RetVal
push str.SrvStat
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.100190a2
add esp, 0x18
ret
Function at 0x10008430
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
neg eax
lea ecx, [esp + 4]
push ecx
sbb eax, eax
lea edx, [esp + 4]
push edx
push 0
and eax, 0xffffff00
add eax, 0x20206
push eax
push 0
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10008490
push str.c:zvLP.ini
push str.Fail
push esi
push 0x1001d0e8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor al, al
add esp, 0xc
ret
mov ecx, dword [esp]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.DisableAntiSpyware
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.c:zvLP.ini
test eax, eax
jne 0x100084d4
push str.Success
push esi
push 0x1001d0e8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add esp, 0xc
ret
push str.Set_Val_Fail
push esi
push 0x1001d0e8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
add esp, 0xc
ret
Function at 0x1000a550
Capabilities:
Modify service

Disassembly:
sub esp, 0x30
push ebx
push esi
push edi
push 0xf003f
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x1000a591
push str.c:zv1.ini
push str._OpenSCM__Fails
push str.RetVal
push str.SrvStat
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x30
ret
push 0xf01ff
push str.ZeroVProtect
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x1000a5bb
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.c:zv1.ini
push str.Service_Open_Fails
jmp 0x1000a578
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
mov ebx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
push 2
lea eax, [esp + 0x28]
push esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x30
ret

Function at 0x1000be40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
push 0x1f4
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push eax
push str.SOFTWAREVB_and_VBA_Program_SettingsSPYWAREPROTECTIONConfig
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
jne 0x1000bea3
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push esi
push 0
push 0
push str.ZVpath
push edx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
call edi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000bea8
sub eax, edx
jne 0x1000bee8
lea ecx, [esp + 8]
push ecx
push esi
lea edx, [esp + 0x14]
push edx
push 2
push str.ZVPath
push str.SOFTWAREMessage_LabsNet_ProtectorConfig
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x1f4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueA]
push esi
call edi
mov eax, 1
pop edi
add esp, 0xc
ret