joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404220
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
lea eax, [ebp - 0x158]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x158]
push str.EloVA.exe
push eax
call fcn.00407610
pop ecx
lea eax, [ebp - 0x298]
pop ecx
push eax
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x404270
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x404295
lea eax, [ebp - 0x158]
push 0x412b60
push eax
call fcn.00407600
lea eax, [ebp - 0x158]
push 0x40f4f0
push eax
call fcn.00407610
add esp, 0x10
push esi
lea eax, [ebp - 0x54]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
lea eax, [ebp - 0x158]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp edi, esi
je 0x4042e4
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0xc], esi
je 0x4042e4
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4042ea
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
push edi
push 7
mov esi, str._shell32.dll_Control_RunDLL
pop ecx
lea edi, [ebp - 0x158]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x39
xor eax, eax
pop ecx
lea edi, [ebp - 0x13b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x413180
lea eax, [ebp - 0x158]
push esi
push eax
call fcn.00407610
lea eax, [ebp - 0x158]
push str.monmouse.cpl
push eax
call fcn.00407610
add esp, 0x10
call fcn.0040193a
cmp eax, 2
ja 0x40434d
push 0x412da0
jmp 0x40434e
push esi
lea eax, [ebp - 0x25c]
push eax
call fcn.00407600
pop ecx
lea eax, [ebp - 0x25c]
pop ecx
push str.RUNDLL32.exe
push eax
call fcn.00407610
pop ecx
lea eax, [ebp - 0x54]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push 0x20
push eax
push eax
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
leave
ret

Function at 0x4043a2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
lea eax, [ebp - 0x54]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x30
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
cmp edi, esi
je 0x4043f0
cmp dword [ebp + 0x10], esi
je 0x4043f0
push 0xea60
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
je 0x4043f0
xor edi, edi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4043f6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 1
pop esi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
xor edi, edi
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x40449c
push ebx
push str.EloSysMultiWait
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp + 0xc], eax
xor ebx, ebx
push 0x412524
push str.EloXyLdrAppClass
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, edi
jne 0x404462
push 0x1f4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc ebx
cmp ebx, 0x3c
jl 0x404438
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 8]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xea60
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test eax, eax
pop ebx
je 0x404491
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40449f
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x4044fc
Capabilities:
Shutdown system

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.0040193a
cmp eax, 2
jbe 0x404558
xor ebx, ebx
cmp dword [0x412550], ebx
je 0x40455a
push ebx
push ebx
push ebx
call dword [0x412730]
cmp eax, 4
mov dword [esp + 0x10], eax
jne 0x4045b5
mov esi, 0x413060
push 0x104
push esi
push 0xd
push dword [0x413044]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x1030
push 0x412ec0
push esi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4045b5
xor ebx, ebx
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
mov esi, 0x413060
push 0x104
push esi
push 6
push dword [0x413044]
call edi
mov ebp, 0x412ec0
push 0x24
push ebp
push esi
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
call ebx
cmp eax, 6
mov dword [esp + 0x10], eax
jne 0x4045b5
push 0x104
push esi
push 0xd
push dword [0x413044]
call edi
push 0x1030
push ebp
push esi
push 0
call ebx
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4045bf
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push esi
push dword [esp + 8]
mov dword [0x412a30], eax
mov ax, word [esp + 0x14]
xor esi, esi
mov word [0x412a34], ax
mov ax, word [esp + 0x18]
push 0x412a40
mov word [0x412a36], ax
mov dword [0x412a28], esi
mov dword [0x412a2c], esi
call fcn.00407600
pop ecx
pop ecx
push 0x412a24
push esi
push 0x412a20
push 0x404682
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x412a20], eax
je 0x404633
push 0xc8
call fcn.004048ca
cmp dword [0x412a2c], esi
pop ecx
jne 0x404633
jmp 0x404631
pop esi
ret
Function at 0x405696
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
lea eax, [ebp - 4]
push esi
mov esi, dword [ebp + 8]
push eax
push 0xf003f
push 0
and dword [esi], 0
and dword [esi + 8], 0
push str.EnumRootEloTouchscreen
push 0x80000002
mov dword [esi + 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405764
and dword [ebp + 8], eax
push ebx
push edi
lea eax, [ebp - 0x108]
push 0x104
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, eax
test edi, edi
jne 0x405752
mov eax, dword [esi + 8]
push 0x30
lea eax, [eax + eax*2]
shl eax, 4
lea eax, [eax + esi + 0xc]
push eax
lea eax, [ebp - 0x108]
push str.Port
push eax
push dword [ebp - 4]
call fcn.00402c0d
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x405752
cmp dword [ebp + 0xc], edi
je 0x405748
mov eax, dword [esi + 8]
lea eax, [eax + eax*2]
shl eax, 4
lea eax, [eax + esi + 0xc]
push eax
call fcn.00406d27
mov edi, eax
pop ecx
test edi, edi
je 0x405748
cmp edi, 1
jne 0x40574b
push 1
pop ebx
test ebx, ebx
je 0x405752
inc dword [esi + 8]
inc dword [ebp + 8]
test edi, edi
je 0x4056d9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, dword [esi + 8]
mov dword [esi], eax
pop esi
leave
ret

Function at 0x40576c
Capabilities:
Persist via run registry key

Disassembly:
push esi
push edi
push str.EloSerialRunOnce
mov esi, 0x80000002
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceSetup
push esi
call fcn.00402aec
mov edi, str.SysMulti
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
push esi
call fcn.00402aec
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
call fcn.00402aec
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMonmouse
push esi
call fcn.00402c65
push dword [0x412b44]
push esi
call fcn.00402c65
push str.SystemCurrentControlSetServicesClassEloPnPTouchmonitors
push esi
call fcn.00402c65
push str.EnumSERENUMELO2500
push esi
call fcn.00402c65
add esp, 0x44
push str.EnumRootEloTouchscreen
push esi
call fcn.00402c65
mov esi, 0x413180
push str.MMUninst.EXE
push esi
call fcn.00402209
push str.EloCal32.EXE
push esi
call fcn.00402209
call fcn.00406f97
push str.RButton.EXE
push esi
call fcn.00402209
push esi
mov esi, 0x413060
push esi
call fcn.00407600
and byte [0x413063], 0
push 0x40f69c
push esi
call fcn.00407610
push str.license.txt
push esi
call fcn.00402209
push str.Comdump.exe
push esi
call fcn.00402209
add esp, 0x40
push str.Busstat.exe
push esi
call fcn.00402209
push str.Sawdump.exe
push esi
call fcn.00402209
push 0
push esi
call fcn.00402209
add esp, 0x18
pop edi
pop esi
ret
Function at 0x405861
Capabilities:
Delete registry key
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
push str.EloSerialRunOnce
mov esi, 0x80000002
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceSetup
push esi
call fcn.00402aec
mov edi, 0x40f69c
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunServices
push esi
call fcn.00402aec
push edi
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun
push edi
push esi
call fcn.00402aec
push str.RButton
push edi
push esi
call fcn.00402aec
add esp, 0x30
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallEloSerialTouchscreen
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, 0x413180
push str.MonMouse.Vxd
push edi
call fcn.00402209
push str.SysMulti.Exe
push edi
call fcn.00402209
push str.MonMouse.Cpl
push edi
call fcn.00402209
push str.EloVA.EXE
push edi
call fcn.00402209
mov ebx, str.RButton.Exe
push ebx
push edi
call fcn.00402209
lea eax, [ebp - 0x104]
push 0x104
push eax
push str.SerialAppDir
push dword [0x412b44]
call fcn.00402b4f
add esp, 0x38
mov edi, 0x413060
test eax, eax
je 0x4059ef
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.00407600
push str.Diag_
push edi
call fcn.00407610
push str.ZAxis.Exe
push edi
call fcn.00402209
push str.SawDump.Exe
push edi
call fcn.00402209
push str.ComDump.Exe
push edi
call fcn.00402209
push 0
push edi
call fcn.00402209
lea eax, [ebp - 0x104]
push str.Readme.Txt
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push str.License.Txt
push eax
call fcn.00402209
add esp, 0x40
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push 0x40f82c
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push str.ZAxis.Exe
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.004082c0
add esp, 0x28
test eax, eax
je 0x4059ef
and byte [eax], 0
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00402209
pop ecx
pop ecx
push str.NumberOfTouchScreens
push dword [0x412b44]
push esi
call fcn.00402aec
push str.NumberOfMonitors
push dword [0x412b44]
push esi
call fcn.00402aec
push str.NumXScreens
push dword [0x412b44]
push esi
call fcn.00402aec
push str.NumYScreens
push dword [0x412b44]
push esi
call fcn.00402aec
push str.SerialSetupLayout
push dword [0x412b44]
push esi
call fcn.00402aec
add esp, 0x3c
xor ebx, ebx
push ebx
push dword [0x412b44]
push str._s_04d
push edi
call fcn.0040858a
push edi
push esi
call fcn.00402c65
add esp, 0x18
inc ebx
cmp ebx, 4
jl 0x405a49
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4061b6
Capabilities:
Delete registry key
Persist via run registry key

Disassembly:
sub esp, 0x104
push ebp
push esi
mov esi, str.EloNTSerialRunOnce
push edi
push esi
mov edi, 0x80000002
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceSetup
push edi
call fcn.00402aec
push esi
push 0x410030
push edi
call fcn.00402aec
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0x18
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallEloNTSerialTouchscreen
push edi
call ebp
cmp dword [0x412550], 0
je 0x40620f
push 0
push str.ROOT
push str.ELOLEGACYNTSERIAL
call fcn.004014a8
add esp, 0xc
push str.WinNT2k
call fcn.0040720a
mov dword [esp], str.__Elo_TouchSystems_WinNT2k.INF_Signature_Line_0x1486515F___DO_NOT_CHANGE_THIS_LINE
call fcn.0040733b
mov esi, 0x413060
mov dword [esp], 0x413180
push esi
call fcn.00407600
push str.Drivers_
push esi
call fcn.00407610
push str.MonMouse.Sys
push esi
call fcn.00402209
push str.MMStub.Sys
push esi
call fcn.00402209
push dword [0x412b44]
push esi
call fcn.00407600
push str.NTSerial0
push esi
call fcn.00407610
push 0x104
push esi
push str.EloAppDir
push esi
call fcn.00402b4f
add esp, 0x40
test eax, eax
je 0x406347
push ebx
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00407600
lea eax, [esp + 0x18]
push eax
call fcn.004025bc
push str.Readme.Txt
push esi
call fcn.00402209
push str.License.Txt
push esi
call fcn.00402209
push 0x40f82c
push esi
call fcn.00402209
mov ebx, str.ZAxis.Exe
push ebx
push esi
call fcn.00402209
push 0x40f824
push esi
call fcn.00407610
push ebx
push esi
call fcn.00402209
push str.SawDump.Exe
push esi
call fcn.00402209
add esp, 0x44
push str.ComDump.Exe
push esi
call fcn.00402209
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00407600
push str.Diag
push esi
call fcn.00407610
mov ebx, 0x412524
push ebx
push esi
call fcn.00402209
lea eax, [esp + 0x30]
push eax
push esi
call fcn.00407600
push 0x40ff68
push esi
call fcn.00407610
push ebx
push esi
call fcn.00402209
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.00402209
add esp, 0x40
pop ebx
push str.MultipleScreenLayout
push dword [0x412b44]
push edi
call fcn.00402aec
push str.NumXScreens
push dword [0x412b44]
push edi
call fcn.00402aec
push str.NumYScreens
push dword [0x412b44]
push edi
call fcn.00402aec
push str.NumberOfScreens
push dword [0x412b44]
push edi
call fcn.00402aec
push str.NumberOfButtons
push dword [0x412b44]
push edi
call fcn.00402aec
push dword [0x412b44]
push esi
call fcn.00407600
add esp, 0x44
push str.NTSerial0
push esi
call fcn.00407610
pop ecx
pop ecx
push esi
push edi
call ebp
cmp dword [0x412550], 0
pop edi
pop esi
pop ebp
je 0x4063df
push str.MonMouse
call fcn.004063e8
mov dword [esp], str.MMStub
call fcn.004063e8
pop ecx
xor eax, eax
add esp, 0x104
ret
Function at 0x40643d
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
push 0xf003f
push str.ServicesActive
push esi
mov dword [edi], esi
mov dword [ebp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
cmp ebx, esi
je 0x4064a6
push 4
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp + 8], eax
je 0x4064a3
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40649e
xor eax, eax
cmp dword [ebp - 0x18], 1
setne al
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
call esi
push ebx
call esi
lea eax, [ebp - 0x15c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4064c8
push eax
mov dword [edi], 1
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4068c5
Capabilities:
Persist via run registry key

Disassembly:
push esi
push edi
mov edi, str.EloUSBRunOnce
mov esi, 0x80000002
push edi
push 0x410030
push esi
call fcn.00402aec
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceSetup
push esi
call fcn.00402aec
add esp, 0x18
call fcn.0040193a
cmp eax, 2
jne 0x406914
push str.Mouse
push str.4d36e96f_e325_11ce_bfc1_08002be10318
push 0
push 0x410480
push str.USBVID_04E7PID_0001_USBVID_04E7PID_0002_USBVID_04E7PID_0007_USBVID_04E7PID_0008
call fcn.00401a1d
add esp, 0x14
push dword [0x413048]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x413060
push 0x104
push esi
push dword [0x413044]
call fcn.004044a6
push str.EloLib.exe
push esi
call fcn.00407610
push 0
push 0x410484
push esi
call fcn.004043a2
add esp, 0x20
xor eax, eax
pop edi
pop esi
ret

Function at 0x406a45
Capabilities:
Persist via run registry key

Disassembly:
push esi
push edi
mov edi, str.EloUSBRunOnce
mov esi, 0x80000002
push edi
push 0x410030
push esi
call fcn.00402aec
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceSetup
push esi
call fcn.00402aec
call fcn.00403dc0
xor edi, edi
push edi
push 0x412524
call fcn.00404220
add esp, 0x20
test eax, eax
jne 0x406aaa
mov esi, 0x413060
push 0x104
push esi
push 9
push dword [0x413044]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x10
push 0x412ec0
push esi
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
push fcn.00403e90
push edi
push 0x6b
push dword [0x413044]
mov dword [0x41253c], 1
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp dword [0x41253c], edi
pop edi
pop esi
je 0x406ad8
call fcn.004042ea
xor eax, eax
ret
Function at 0x406adb
Capabilities:
Delete registry key
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [0x412550], 0
je 0x406b01
push 0
push 0x410480
push str.USBVID_04E7PID_0001_USBVID_04E7PID_0002_USBVID_04E7PID_0007_USBVID_04E7PID_0008
call fcn.004014a8
add esp, 0xc
push esi
push edi
call fcn.0040193a
cmp eax, 2
jne 0x406b37
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, 0x80000002
push str.EnumUSBVID_04E7PID_0001
push esi
call edi
push str.EnumUSBVID_04E7PID_0002
push esi
call edi
push str.EnumUSBVID_04E7PID_0007
push esi
call edi
push str.EnumUSBVID_04E7PID_0008
jmp 0x406b5f
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, 0x80000002
push str.SystemCurrentControlSetEnumUSBVID_04E7PID_0001
push esi
call edi
push str.SystemCurrentControlSetEnumUSBVID_04E7PID_0002
push esi
call edi
push str.SystemCurrentControlSetEnumUSBVID_04E7PID_0007
push esi
call edi
push str.SystemCurrentControlSetEnumUSBVID_04E7PID_0008
push esi
call edi
push ebx
mov ebx, 0x412c80
push str.EloUsb.Sys
push ebx
call fcn.00402209
push str.EloBeep.Sys
push ebx
call fcn.00402209
push str.EloUSBRunOnce
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnceSetup
push esi
call fcn.00402aec
add esp, 0x1c
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallEloUSBTouchscreen
push esi
call edi
push str.EloUSB98
call fcn.0040720a
mov dword [esp], str.EloUSBNT
call fcn.0040720a
mov dword [esp], str.EloUSB
call fcn.0040720a
mov dword [esp], str.UsbTouch
call fcn.0040720a
mov dword [esp], str.__Elo_TouchSystems_EloUsb.INF_Signature_Line_0x9E46A2B___DO_NOT_CHANGE_THIS_LINE
call fcn.0040733b
mov dword [esp], str.__Elo_TouchSystems_USB_Tool_for_Windows_98
call fcn.0040733b
push dword [0x412b44]
mov esi, 0x413060
push esi
call fcn.00407600
lea eax, [ebp - 0x104]
push 0x104
push eax
push str.USBAppDir
push esi
call fcn.00402b4f
add esp, 0x1c
test eax, eax
pop ebx
je 0x406ca8
lea eax, [ebp - 0x104]
push str.Readme.Txt
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push str.License.Txt
push eax
call fcn.00402209
mov esi, 0x40f82c
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push str.ZAxis.Exe
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.00402209
xor esi, esi
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.00402209
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.004082c0
add esp, 0x40
cmp eax, esi
je 0x406ca8
and byte [eax], 0
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.00402209
pop ecx
pop ecx
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x406ef6
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call fcn.0040193a
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 4]
push eax
mov esi, 0x80000002
push dword [0x412b44]
push esi
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x406f2a
push dword [ebp - 4]
call ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [0x412b44]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406f7a
lea eax, [ebp - 8]
mov esi, str.EloTestKey
push eax
push esi
push dword [ebp - 4]
call edi
mov edi, eax
test edi, edi
jne 0x406f6c
push dword [ebp - 8]
call ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
push dword [ebp - 4]
call ebx
test edi, edi
jne 0x406f7a
push 1
pop eax
jmp 0x406f7c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406f97
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
xor edi, edi
push str.RButton
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
cmp esi, edi
je 0x406fd6
push str.RbuttonShutDown
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret

Function at 0x406fd9
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
xor edi, edi
push str.EloTaskBarApp
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
cmp esi, edi
je 0x407018
push str.EloTaskBarAppShutdown
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret
Function at 0x4070d1
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
xor esi, esi
push str.EloXyLdrAppMutex
push esi
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4071f4
push 0x412524
push str.EloXyLdrAppClass
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowExA]
cmp eax, esi
je 0x40712a
push esi
push esi
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40712d
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
je 0x4071f4
cmp dword [ebp - 4], esi
je 0x4071f4
push 0x2710
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407159
mov dword [ebp - 4], esi
jmp 0x407162
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ebx, str.SysMulti.exe
mov edi, 0x413180
push ebx
push edi
call fcn.0040255b
pop ecx
test eax, eax
pop ecx
je 0x4071f4
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.00407600
lea eax, [ebp - 0x10c]
push eax
call fcn.004025bc
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00407610
add esp, 0x14
mov dword [ebp - 4], esi
xor ebx, ebx
push esi
push esi
push 3
push esi
push esi
lea eax, [ebp - 0x10c]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0xffffffff
jne 0x4071e6
cmp eax, 0x490
je 0x4071e6
push 0x1f4
call fcn.004048ca
inc ebx
pop ecx
cmp ebx, 0x14
jl 0x4071a7
jmp 0x4071f4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 1
cmp dword [ebp - 8], esi
pop edi
pop esi
pop ebx
je 0x407205
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
leave
ret