joyce8/EMBER2024-capa huggingface dataset:
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
mov eax, 1
call fcn.100191d2
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.100191d2
add esp, 0x5f0
ret
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x5ec]
xor ecx, esp
call fcn.100191d2
add esp, 0x5f0
ret
mov ecx, dword [esp + 0x5f0]
pop esi
xor ecx, esp
xor eax, eax
call fcn.100191d2
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.100191d2
add esp, 0x1f8
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.100191d2
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
mov eax, 1
call fcn.100191d2
add esp, 0xa0
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.100191d2
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.100191d2
add esp, 0x16c
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
add esp, 0x2c
ret
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100191d2
add esp, 0x2c
ret