joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f340
Capabilities:
Modify service
Stop service

Disassembly:
sub esp, 0x1c
push ebx
push 0xf003f
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
jne 0x1000f361
pop ebx
add esp, 0x1c
ret
push esi
push 0xf01ff
push str.Net_Protector_Web_Protection2
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x1000f388
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call edi
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc]
push eax
push 1
push esi
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1000f403
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x1000f3f5
call esi
push ebx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1c
ret

Function at 0x1000f440
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push edi
push 0xf003f
push str.ServicesActive
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x1000f461
pop edi
add esp, 0x1c
ret
mov eax, dword [esp + 0x24]
push esi
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x1000f488
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
xor eax, eax
lea ecx, [esp + 8]
push ecx
push 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x1000f4e4
call esi
push edi
call esi
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
call esi
push edi
call esi
pop esi
mov eax, 1
pop edi
add esp, 0x1c
ret
Function at 0x1000f8b0
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ecx
mov eax, str.ZeroVProtect
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f8c0
sub eax, edx
jne 0x1000f8cd
pop ecx
ret
push edi
push 6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x1000f945
mov eax, dword [esp + 0xc]
push esi
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push 2
push 0x110
push 0xf01ff
push str.Zero_V_AntiVirus_Protection
push str.ZeroVProtect
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
je 0x1000f935
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop esi
mov eax, 1
pop edi
pop ecx
ret
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov eax, 1
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret

Function at 0x1000f9f0
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
push 0x103
lea ecx, [esp + 0x115]
push 0
push ecx
mov byte [esp + 0x11c], 0
call sub.MSVCR90.dll_memset
lea edx, [esp + 0x18]
push edx
call fcn.10006b90
lea eax, [esp + 0x1c]
add esp, 0x1c
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000fa48
mov ecx, dword [str.PVCN.ini]
mov edx, dword [0x1001e1f4]
mov dword [eax], ecx
mov cl, byte [0x1001e1f8]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
cmp byte [esp], 0
je 0x1000fab1
lea edx, [esp]
push edx
push 0x104
lea eax, [esp + 0x10c]
push eax
push 0x1001cb94
push str.webtrackp
push str.Status
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x104]
push 0x1001e208
push ecx
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.100190a2
add esp, 0x20c
ret
Function at 0x10011b30
Capabilities:
Read .ini file

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 0x10022b00
push 0x104
lea ecx, [esp + 8]
push ecx
push str.NPAV
push str.installed
push str.ConLogger
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 + 0x10c]
add esp, 8
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.100190a2
add esp, 0x108
ret

Function at 0x10011bb0
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.LANMONNP2120CL.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 0x10012040
Capabilities:
Read .ini file

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
xor eax, eax
nop
mov cl, byte [eax + 0x10022b00]
mov byte [esp + eax], cl
inc eax
test cl, cl
jne 0x10012070
lea ecx, [esp]
push 0x5c
push ecx
call dword [sym.imp.MSVCR90.dll_strrchr]
add esp, 8
test eax, eax
je 0x100120da
mov byte [eax], 0
lea eax, [esp]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10012098
mov edx, dword [str.emlscn.ini]
mov ecx, dword [0x1001e414]
mov dword [eax], edx
mov edx, dword [0x1001e418]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp]
push eax
push 0x64
push 0x10023888
push str.NPAV
push 0x1001e41c
push str.USID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100190a2
add esp, 0x108
ret

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

Disassembly:
push esi
push str.GlobalMTX_NP2178NI
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
test esi, esi
jne 0x10012971
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10012971
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10012978
push esi
push esi
push esi
push edi
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi + 1]
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret
Function at 0x10012980
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x548
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x540], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x25]
push ebx
push eax
mov byte [esp + 0x2c], bl
call sub.MSVCR90.dll_memset
push 0x103
lea ecx, [esp + 0x139]
push ebx
push ecx
mov byte [esp + 0x140], bl
call sub.MSVCR90.dll_memset
push 0x103
lea edx, [esp + 0x355]
push ebx
push edx
mov byte [esp + 0x35c], bl
call sub.MSVCR90.dll_memset
push 0x103
lea eax, [esp + 0x259]
push ebx
push eax
mov byte [esp + 0x260], bl
call sub.MSVCR90.dll_memset
xor ecx, ecx
add esp, 0x30
xor eax, eax
mov word [esp + 0x10], cx
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
jmp 0x10012a20
mov cl, byte [eax + 0x10022b00]
mov byte [esp + eax + 0x20], cl
inc eax
cmp cl, bl
jne 0x10012a20
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [sym.imp.MSVCR90.dll__stricmp]
cmp byte [esp + 0x20], bl
je 0x10012b43
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x20]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10012a55
mov ecx, dword [str.NP2178NI.INI]
mov edx, dword [0x1001e4cc]
mov dword [eax], ecx
mov ecx, dword [0x1001e4d0]
mov dword [eax + 4], edx
mov dx, word [0x1001e4d4]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x20]
push eax
push 0x104
lea ecx, [esp + 0x130]
push ecx
push str.TRUE
push str.VCRED
push str.AppData
call esi
lea edx, [esp + 0x128]
push str.FALSE
push edx
call edi
add esp, 8
test eax, eax
jne 0x10012b43
lea eax, [esp + 0x20]
push eax
push 0x104
lea ecx, [esp + 0x238]
push ecx
push str.NPAV
push str.retrydate
push str.AppData
call esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x10]
movzx ecx, word [esp + 0x12]
movzx edx, word [esp + 0x16]
push eax
push ecx
push edx
lea eax, [esp + 0x344]
push str._02d__02d__04d
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea ecx, [esp + 0x34c]
push ecx
lea edx, [esp + 0x248]
push edx
call edi
add esp, 0x1c
test eax, eax
jne 0x10012b43
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.100190a2
add esp, 0x548
ret
push 0x103
lea eax, [esp + 0x445]
push ebx
push eax
mov byte [esp + 0x44c], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x10022b00
push 0x104
lea ecx, [esp + 0x448]
push ecx
push str.NPAV
push str.installed
push str.NpdScan
call esi
lea edx, [esp + 0x440]
push str.TRUE
push edx
call edi
mov ecx, dword [esp + 0x554]
add esp, 8
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.100190a2
add esp, 0x548
ret
Function at 0x10012bc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x2c
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov eax, edi
mov esi, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012be8
sub eax, edx
cmp eax, 0xc
jne 0x10012d41
cmp byte [edi + 1], 0x2d
jne 0x10012d41
push ebp
push edi
call dword [sym.imp.MSVCR90.dll__strupr]
add esp, 4
push esi
push ebx
push str.LENGTH
add edi, 2
push str.SHELL
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebp, eax
lea eax, [ebp - 1]
cmp eax, 9
ja 0x10012d2c
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0xa
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
push 0x1001d188
push str.STARTX
push str.SHELL
mov byte [esp + 0x38], bl
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov byte [esp + 0x41], al
mov byte [esp + 0x44], bl
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov byte [esp + 0x4d], al
call edi
push esi
push 0xa
lea edx, [esp + 0x34]
push edx
push 0x1001d188
push str.ENDX
push str.SHELL
call edi
lea eax, [esp + 0x20]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012c97
sub eax, edx
cmp eax, ebp
jne 0x10012d2c
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10012cb0
sub eax, edx
cmp eax, ebp
jne 0x10012d2c
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCR90.dll_sscanf]
lea ecx, [esp + 0x10]
push ecx
push 0x1001e524
push eax
mov byte [eax + ebp], bl
call esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push 0x1001e524
push eax
call esi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x48]
push 0x1001e524
push edx
call esi
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
add esp, 0x24
cmp ecx, eax
jb 0x10012d2c
mov edx, dword [esp + 0x10]
cmp edx, eax
jb 0x10012d2c
cmp edx, ecx
ja 0x10012d2c
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100190a2
add esp, 0x2c
ret
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100190a2
add esp, 0x2c
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100190a2
add esp, 0x2c
ret
Function at 0x10014050
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x230
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
push 0x103
lea eax, [esp + 0x13d]
push 0
push eax
mov byte [esp + 0x144], 0
call sub.MSVCR90.dll_memset
xor eax, eax
add esp, 0xc
push 0x10022d10
push eax
push str.count
push str.RESTART_EXES
mov byte [esp + 0x20], 0
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
mov ebp, eax
mov edi, 1
cmp ebp, edi
jl 0x10014128
push edi
lea ecx, [esp + 0x14]
push 0x1001c38c
push ecx
call ebx
add esp, 0xc
push 0x10022d10
push 0x104
lea edx, [esp + 0x140]
push edx
push str.NPAV
lea eax, [esp + 0x20]
push eax
push str.RESTART_EXES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea esi, [esp + 0x138]
call fcn.1000d880
push 0x1770
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, ebp
jle 0x100140d5
push 0x103
lea ecx, [esp + 0x39]
push 0
push ecx
mov byte [esp + 0x40], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x10022d10
push 0
push str.count
push str.RESTART_SERVICE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
mov esi, 1
cmp edi, esi
jl 0x100141bd
push esi
lea edx, [esp + 0x14]
push 0x1001c38c
push edx
call ebx
add esp, 0xc
push 0x10022d10
push 0x104
lea eax, [esp + 0x3c]
push eax
push str.NPAV
lea ecx, [esp + 0x20]
push ecx
push str.RESTART_SERVICE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x34]
push edx
call fcn.1000f440
add esp, 4
push 0x1770
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x34]
call fcn.10008140
inc esi
cmp esi, edi
jle 0x10014163
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100190a2
add esp, 0x230
ret
Function at 0x10014280
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x414
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x219]
push ebx
push eax
xor edi, edi
mov byte [esp + 0x220], bl
call sub.MSVCR90.dll_memset
push 0x103
lea ecx, [esp + 0x121]
push ebx
push ecx
mov byte [esp + 0x128], bl
call sub.MSVCR90.dll_memset
push 0x103
lea edx, [esp + 0x335]
push ebx
push edx
mov byte [esp + 0x33c], bl
call sub.MSVCR90.dll_memset
push 0x103
lea eax, [esp + 0x35]
push ebx
push eax
mov byte [esp + 0x3c], bl
call sub.MSVCR90.dll_memset
add esp, 0x30
xor eax, eax
mov cl, byte [eax + 0x10022d10]
mov byte [esp + eax + 0x214], cl
inc eax
cmp cl, bl
jne 0x10014302
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [esp + 0x214]
push ecx
call esi
lea eax, [esp + 0x214]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x10014330
mov edx, dword [str.EPSFW_Backup.ini]
mov ecx, dword [0x1001ec58]
mov dword [eax], edx
mov edx, dword [0x1001ec5c]
mov dword [eax + 4], ecx
mov ecx, dword [0x1001ec60]
mov dword [eax + 8], edx
mov dx, word [0x1001ec64]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
xor eax, eax
jmp 0x10014370
mov cl, byte [eax + 0x10022b00]
mov byte [esp + eax + 0x110], cl
inc eax
cmp cl, bl
jne 0x10014370
lea eax, [esp + 0x110]
push eax
call esi
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x110]
mov byte [esp + eax + 0xc], cl
inc eax
cmp cl, bl
jne 0x10014390
lea eax, [esp + 0xc]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x100143a5
mov ecx, dword [str.EpsPol]
mov edx, dword [0x1001ec6c]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x110]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x100143c6
mov ecx, dword [str.CCLM.ini]
mov edx, dword [0x1001ec74]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [eax], ecx
mov cx, word [0x1001ec78]
mov dword [eax + 4], edx
lea edx, [esp + 0x214]
push edx
push ebx
push str.FilterCount
push str.EPSFW
mov word [eax + 8], cx
call esi
test eax, eax
jle 0x1001447b
lea eax, [esp + 0x110]
push eax
push 0x104
lea ecx, [esp + 0x320]
push ecx
push str.Default
push str.PolicyName
push str.epspol
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x318]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push str._s_s.epl
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push ebx
push 0x1001ecb8
push str.EPSfrw_user_rules
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.100190a2
add esp, 0x414
ret
mov ecx, dword [esp + 0x41c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100190a2
add esp, 0x414
ret
Function at 0x100144a0
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows

Disassembly:
push esi
push str.GlobalEPSFRW_LG
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
test esi, esi
jne 0x100144fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100144fb
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, str.Launching_EPSFRWLG.EXE...
call fcn.10002780
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1001450c
push esi
push esi
push esi
push edi
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi + 1]
pop esi
ret
mov ecx, str.Mutex_already_present...
call fcn.10002780
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret
Function at 0x10014880
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc20
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0xc1c], eax
push ebx
push ebp
push edi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x82d]
push ebx
push eax
mov byte [esp + 0x834], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x100238f4
mov edi, str.In_RegCheckForVC15Redist_function
call fcn.10002690
push 0x3ff
lea ecx, [esp + 0x42d]
push ebx
push ecx
mov dword [esp + 0x1c], 0x400
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x434], bl
call sub.MSVCR90.dll_memset
push 0x3ff
lea edx, [esp + 0x39]
push ebx
push edx
mov byte [esp + 0x40], bl
call sub.MSVCR90.dll_memset
add esp, 0x18
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push ebx
push esi
mov dword [esp + 0x4c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x100149ea
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10014a18
xor edi, edi
cmp eax, ebx
jbe 0x10014a18
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea esp, [esp]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x43c]
push eax
push edi
push esi
mov dword [esp + 0x38], 0x400
call ebp
test eax, eax
jne 0x100149d3
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x434]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100149d3
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push str.DisplayName
push eax
mov dword [esp + 0x38], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100149d3
push str.Microsoft_Visual_C_2015_2022_Redistributable
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x100149e0
mov dword [esp + 0xc], ebx
inc edi
cmp edi, dword [esp + 0x10]
jb 0x10014950
jmp 0x10014a18
mov dword [esp + 0xc], 1
jmp 0x10014a18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x82c]
push str.RegQueryInfoKey_Failed_GetLastError_is_:__d
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push 0x100238f4
lea edi, [esp + 0x82c]
call fcn.10002690
mov eax, dword [esp + 0x14]
pop edi
pop ebp
cmp eax, ebx
pop ebx
je 0x10014a2a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xc1c]
mov eax, dword [esp]
xor ecx, esp
call fcn.100190a2
add esp, 0xc20
ret
Function at 0x10015490
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
push 0x44
mov esi, ecx
push 0
push esi
call sub.MSVCR90.dll_memset
xor eax, eax
add esp, 0xc
lea edi, [esi + 0x44]
push edi
push esi
push eax
push eax
push 0x8000000
mov dword [edi], eax
push eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push eax
mov dword [edi + 0xc], eax
mov cx, word [esi + 0x858]
push eax
lea ebx, [esi + 0x54]
push ebx
push eax
mov dword [esi], 0x44
mov word [esi + 0x32], ax
mov dword [esi + 0x2c], 1
mov word [esi + 0x30], cx
mov byte [esp + 0x34], al
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov byte [esp + 0x3d], al
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1001554b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x10]
push 0x1001c38c
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push str.c:zv1.ini
lea eax, [esp + 0x10]
push eax
push ebx
push str.Launch
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.100190a2
add esp, 0x10
ret
mov ecx, dword [esi + 0x854]
mov edx, dword [edi]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [edi]
push ecx
call esi
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.100190a2
add esp, 0x10
ret

Function at 0x100155b0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x24
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x100155d1
xor eax, eax
add esp, 0x24
ret
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100155cb
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0x10
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push 0
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
add esp, 0x24
ret