joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4153d5
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f28
call fcn.0041b6ac
push ebx
push esi
push edi
mov dword [ebp - 8], 0x1388
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0x814]
push eax
push 0xf003f
push 0
push 0x4ccb44
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x415455
push 0x10001
call fcn.004054a2
add esp, 4
push 0x2002011
call fcn.00405434
add esp, 4
mov eax, 0xffffffff
jmp 0x415669
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2f28]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x4ccb7c
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x415492
mov byte [ebp - 0x2f28], 0
mov eax, dword [ebp - 0x810]
mov al, byte [ebp + eax - 0x2f28]
and eax, 0xff
test eax, eax
je 0x415567
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.0041a850
add esp, 8
lea eax, [ebp - 0x808]
push eax
call fcn.0041af41
add esp, 4
push 0x4ccb80
lea eax, [ebp - 0x808]
push eax
call fcn.0041acc0
add esp, 8
test eax, eax
jne 0x41553d
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a850
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, eax
inc ecx
mov dword [ebp - 0x818], ecx
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x810]
add ecx, eax
inc ecx
mov dword [ebp - 0x810], ecx
jmp 0x415492
push 0x4ccb8c
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a850
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, eax
inc ecx
mov dword [ebp - 0x818], ecx
mov eax, dword [ebp - 0x818]
mov byte [ebp + eax - 0x1ba0], 0
mov eax, dword [ebp - 0x818]
inc eax
push eax
lea eax, [ebp - 0x1ba0]
push eax
push 7
push 0
push 0x4ccb98
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x41561e
push 0x10006
call fcn.004054a2
add esp, 4
push 0x2002011
call fcn.00405434
add esp, 4
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
jmp 0x415669
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x415662
push 0x10002
call fcn.004054a2
add esp, 4
push 0x2002011
call fcn.00405434
add esp, 4
mov eax, 0xffffffff
jmp 0x415669
xor eax, eax
jmp 0x415669
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415d2e
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f28
call fcn.0041b6ac
push ebx
push esi
push edi
mov dword [ebp - 8], 0x1388
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0x814]
push eax
push 0xf003f
push 0
push 0x4ccc44
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x415da5
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10001
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x415faa
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2f28]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x4ccc7c
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x415de2
mov byte [ebp - 0x2f28], 0
mov eax, dword [ebp - 0x810]
mov al, byte [ebp + eax - 0x2f28]
and eax, 0xff
test eax, eax
je 0x415eb7
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.0041a850
add esp, 8
lea eax, [ebp - 0x808]
push eax
call fcn.0041af41
add esp, 4
push 0x4ccc80
lea eax, [ebp - 0x808]
push eax
call fcn.0041acc0
add esp, 8
test eax, eax
jne 0x415e8d
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a850
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, eax
inc ecx
mov dword [ebp - 0x818], ecx
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x810]
add ecx, eax
inc ecx
mov dword [ebp - 0x810], ecx
jmp 0x415de2
push 0x4ccc8c
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a850
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, eax
inc ecx
mov dword [ebp - 0x818], ecx
mov eax, dword [ebp - 0x818]
mov byte [ebp + eax - 0x1ba0], 0
mov eax, dword [ebp - 0x818]
inc eax
push eax
lea eax, [ebp - 0x1ba0]
push eax
push 7
push 0
push 0x4ccc98
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x415f65
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10006
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x415faa
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x415fa0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10002
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x415faa
mov eax, 1
jmp 0x415faa
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415faf
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f28
call fcn.0041b6ac
push ebx
push esi
push edi
mov dword [ebp - 8], 0x1388
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x818], 0
lea eax, [ebp - 0x814]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetControlVirtualDeviceDrivers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x416026
mov eax, dword [ebp + 8]
mov dword [eax], 0x10001
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x41620c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2f28]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x4cccd4
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x416084
mov eax, dword [ebp + 8]
mov dword [eax], 0x10006
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41620c
mov eax, dword [ebp - 0x810]
mov al, byte [ebp + eax - 0x2f28]
and eax, 0xff
test eax, eax
je 0x416159
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.0041a850
add esp, 8
lea eax, [ebp - 0x808]
push eax
call fcn.0041af41
add esp, 4
push 0x4cccd8
lea eax, [ebp - 0x808]
push eax
call fcn.0041acc0
add esp, 8
test eax, eax
jne 0x41612f
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a850
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x818]
add ecx, eax
inc ecx
mov dword [ebp - 0x818], ecx
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
call fcn.0041a7d8
add esp, 4
mov ecx, dword [ebp - 0x810]
add ecx, eax
inc ecx
mov dword [ebp - 0x810], ecx
jmp 0x416084
mov eax, dword [ebp - 0x818]
mov byte [ebp + eax - 0x1ba0], 0
mov eax, dword [ebp - 0x818]
inc eax
push eax
lea eax, [ebp - 0x1ba0]
push eax
push 7
push 0
push 0x4ccce4
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x4161c7
mov eax, dword [ebp + 8]
mov dword [eax], 0x10006
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41620c
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x416202
mov eax, dword [ebp + 8]
mov dword [eax], 0x10002
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
jmp 0x41620c
mov eax, 1
jmp 0x41620c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416211
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, str.hardlock
lea ecx, [ebp - 0xc]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov al, byte [eax + 8]
mov byte [ecx + 8], al
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
push 0x4cccf4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41625c
xor eax, eax
jmp 0x41636a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0x4ccd28
push 0
push 0x4ccd2c
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4162a1
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41636a
lea eax, [ebp - 0xc]
push eax
call fcn.0041a7d8
add esp, 4
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push 0x4ccd4c
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0x4ccd54
push 0
push 0x4ccd58
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x416314
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41636a
lea eax, [ebp - 0xc]
push eax
call fcn.0041a7d8
add esp, 4
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push str.Driver
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
je 0x416360
xor eax, eax
jmp 0x41636a
mov eax, 1
jmp 0x41636a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41636f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServicesPcmciaDataBase
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4163a2
xor eax, eax
jmp 0x416438
push str.FAST_ElectronicHardlock_V1.0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4163c5
xor eax, eax
jmp 0x416438
push str.FAST_Electronic
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4163e8
xor eax, eax
jmp 0x416438
push str.Aladdin_Knowledge_Systems_Ltd.Hardlock_V2.0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41640b
xor eax, eax
jmp 0x416438
push str.Aladdin_Knowledge_Systems_Ltd.
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41642e
xor eax, eax
jmp 0x416438
mov eax, 1
jmp 0x416438
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4166da
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0xf01ff
push 0x4ccee0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41671f
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x20005
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x41675c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41674a
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x20008
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
jmp 0x41675c
pop edi
pop esi
pop ebx
leave
ret

Function at 0x416761
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0xf01ff
push 0x4cceec
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4167a6
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x20005
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x4167e7
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4167d5
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x20007
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
jmp 0x4167e7
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4167ec
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0xf01ff
push str.Hardlock
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x416831
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x20005
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x416874
lea eax, [ebp - 0x1c]
push eax
push 1
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x416862
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x20006
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x24]
jmp 0x416874
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416937
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4ccb9c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*8], 0
je 0x416a9f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0x417a37
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4169f5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4169ed
cmp dword [ebp + 0xc], 0
je 0x4169e3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0x2010007
call dword [ebp + 0xc]
add esp, 8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0xc]
jmp 0x41695a
push 0xff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x416a42
cmp dword [ebp + 0xc], 0
je 0x416a3a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0x2010007
call dword [ebp + 0xc]
add esp, 8
inc dword [ebp - 0xc]
jmp 0x41695a
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x416a97
cmp dword [ebp + 0xc], 0
je 0x416a8d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0x2010007
call dword [ebp + 0xc]
add esp, 8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0xc]
jmp 0x41695a
cmp dword [0x4ccb9c], 0
je 0x416ab8
mov eax, dword [0x4ccb9c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4176e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
push 0x64
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.HLVDD.DLL
lea eax, [ebp - 0x6c]
push eax
call fcn.0041a84c
add esp, 8
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
je 0x417796
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x417796
push str.HLVDDGetVersion
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41778c
call dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..FEnteDev
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffff
je 0x417836
mov word [ebp - 0x7c], 0
mov word [ebp - 0x78], 0
mov ax, word [ebp - 0x78]
mov word [ebp - 0x7a], ax
push 0
lea eax, [ebp - 0x70]
push eax
push 6
lea eax, [ebp - 0x7c]
push eax
push 6
lea eax, [ebp - 0x7c]
push eax
push 0x9c402450
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x41780e
jmp 0x417836
xor eax, eax
mov ax, word [ebp - 0x7a]
cmp eax, 0xfafa
je 0x41782c
mov eax, dword [ebp + 8]
mov word [eax], 0x100
jmp 0x417836
mov ax, word [ebp - 0x78]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41783d
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov dword [0x422a9c], 0
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*8]
shl eax, 4
add eax, dword [ebp + 8]
mov dword [0x422aa0], eax
mov dword [ebp - 4], 0
jmp 0x417870
inc dword [ebp - 4]
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
jge 0x4178d8
mov eax, dword [ebp - 4]
lea eax, [eax + eax*8]
shl eax, 4
mov ecx, dword [ebp + 8]
cmp dword [eax + ecx], 2
jne 0x4178d3
push str.ntvdm
mov eax, dword [ebp - 4]
lea eax, [eax + eax*8]
shl eax, 4
add eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.0041b7f8
add esp, 8
test eax, eax
jne 0x4178d3
mov eax, dword [ebp - 4]
lea eax, [eax + eax*8]
shl eax, 4
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx + 4]
push eax
push 0x41794e
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x41786d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4178dd
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov dword [0x422a9c], 0
mov dword [0x422aa0], 0
mov dword [ebp - 4], 0
jmp 0x417909
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*8 + 4], 0
je 0x417934
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0x41794e
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x417906
mov eax, dword [0x422a9c]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x417947
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x417b70
Capabilities:
Query service status

Disassembly:
call fcn.00417b00
cmp eax, 2
je 0x417b85
cmp eax, 3
je 0x417b8a
mov eax, 9
ret
jmp 0x417c10
jmp 0x417b90
push ebx
push esi
push edi
xor esi, esi
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x417bb1
mov eax, 2
pop edi
pop esi
pop ebx
ret
push 0xf01ff
push str.HLServer
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x417bd1
mov eax, 2
pop edi
pop esi
pop ebx
ret
push 0x422a80
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x417bf4
cmp dword [0x422a84], 4
mov esi, 3
jne 0x417bf4
mov esi, 4
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
push edi
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
ret
push 0
push str.HL_Server_for_Win32
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, 1
sbb eax, eax
add eax, 4
ret
Function at 0x417fcc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
jne 0x418010
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x418023
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0041a850
add esp, 8
push str.StringFileInfo040904B0_
lea eax, [ebp - 0x810]
push eax
call fcn.0041a850
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0041a84c
add esp, 8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
inc eax
push eax
call fcn.0041a6c0
add esp, 4
mov dword [ebp - 0x814], eax
mov eax, dword [ebp - 0x814]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4180e6
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x810]
push eax
mov eax, dword [ebp - 0x814]
push eax
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x10], 0
jne 0x4180d6
push 0x4cd0fc
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041a850
add esp, 8
jmp 0x4180e6
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041a850
add esp, 8
mov eax, dword [ebp - 0x814]
push eax
call fcn.0041a905
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x4180fd
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418300
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
jmp 0x418345
pop edi
pop esi
pop ebx
leave
ret