joyce8/EMBER2024-capa huggingface dataset:
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
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.100191d2
add esp, 0xe8
ret
Function at 0x10006840
Capabilities:
Enumerate device drivers on windows

Disassembly:
mov eax, 0x1408
call fcn.10019ec0
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.100191d2
add esp, 0x1408
ret
mov ecx, dword [esp + 0x1410]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.100191d2
add esp, 0x1408
ret
Function at 0x10008150
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 0x100081a7
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.100191d2
add esp, 0x18
ret
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x100081cd
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.c:zv1.ini
push str.Service_Open_Fails
jmp 0x10008184
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1000824f
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.100191d2
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.100191d2
add esp, 0x18
ret
Function at 0x10008440
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 0x100084a0
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 0x100084e4
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 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.100191d2
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.100155c0
mov ecx, dword [esp + 0x960]
xor ecx, esp
call fcn.100191d2
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.100191d2
add esp, 0x468
ret
mov ecx, dword [esp + 0x464]
xor ecx, esp
xor eax, eax
call fcn.100191d2
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.100191d2
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.100191d2
add esp, 0x1f8
ret