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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f28
call fcn.0041ec60
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 0x5a45b4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
je 0x41b635
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 0x41b837
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2f28]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x5a45ec
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 0x41b672
mov byte [ebp - 0x2f28], 0
mov eax, dword [ebp - 0x810]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x2f28]
test ecx, ecx
je 0x41b744
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.0041e930
add esp, 8
lea eax, [ebp - 0x808]
push eax
call fcn.0041f174
add esp, 4
push 0x5a45f0
lea eax, [ebp - 0x808]
push eax
call fcn.0041ef50
add esp, 8
test eax, eax
jne 0x41b71a
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.0041e930
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041e7b0
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.0041e7b0
add esp, 4
mov ecx, dword [ebp - 0x810]
add ecx, eax
inc ecx
mov dword [ebp - 0x810], ecx
jmp 0x41b672
push 0x5a45fc
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041e930
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041e7b0
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 0x5a4608
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 0x41b7f2
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 0x41b837
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 0x41b82d
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 0x41b837
mov eax, 1
jmp 0x41b837
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b83c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f28
call fcn.0041ec60
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 0x41b8b3
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 0x41ba96
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2f28]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x5a4644
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 0x41b911
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 0x41ba96
mov eax, dword [ebp - 0x810]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x2f28]
test ecx, ecx
je 0x41b9e3
mov eax, dword [ebp - 0x810]
lea eax, [ebp + eax - 0x2f28]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.0041e930
add esp, 8
lea eax, [ebp - 0x808]
push eax
call fcn.0041f174
add esp, 4
push 0x5a4648
lea eax, [ebp - 0x808]
push eax
call fcn.0041ef50
add esp, 8
test eax, eax
jne 0x41b9b9
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.0041e930
add esp, 8
mov eax, dword [ebp - 0x818]
lea eax, [ebp + eax - 0x1ba0]
push eax
call fcn.0041e7b0
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.0041e7b0
add esp, 4
mov ecx, dword [ebp - 0x810]
add ecx, eax
inc ecx
mov dword [ebp - 0x810], ecx
jmp 0x41b911
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 0x5a4654
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 0x41ba51
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 0x41ba96
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 0x41ba8c
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 0x41ba96
mov eax, 1
jmp 0x41ba96
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ba9b
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 0x5a4664
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41bae6
xor eax, eax
jmp 0x41bbf4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0x5a4698
push 0
push 0x5a469c
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 0x41bb2b
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41bbf4
lea eax, [ebp - 0xc]
push eax
call fcn.0041e7b0
add esp, 4
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push 0x5a46bc
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 0x5a46c4
push 0
push 0x5a46c8
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 0x41bb9e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41bbf4
lea eax, [ebp - 0xc]
push eax
call fcn.0041e7b0
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 0x41bbea
xor eax, eax
jmp 0x41bbf4
mov eax, 1
jmp 0x41bbf4
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41bbf9
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 0x41bc2c
xor eax, eax
jmp 0x41bcc2
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 0x41bc4f
xor eax, eax
jmp 0x41bcc2
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 0x41bc72
xor eax, eax
jmp 0x41bcc2
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 0x41bc95
xor eax, eax
jmp 0x41bcc2
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 0x41bcb8
xor eax, eax
jmp 0x41bcc2
mov eax, 1
jmp 0x41bcc2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41bf64
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0xf01ff
push 0x5a4850
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 0x41bfa9
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 0x41bfe6
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 0x41bfd4
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 0x41bfe6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41bfeb
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0xf01ff
push 0x5a485c
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 0x41c030
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 0x41c071
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 0x41c05f
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 0x41c071
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41c076
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 0x41c0bb
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 0x41c0fe
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 0x41c0ec
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 0x41c0fe
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41c1c1
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 [0x5a450c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*8], 0
je 0x41c329
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0x41d2f4
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 0x41c27f
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 0x41c277
cmp dword [ebp + 0xc], 0
je 0x41c26d
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 0x41c1e4
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 0x41c2cc
cmp dword [ebp + 0xc], 0
je 0x41c2c4
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 0x41c1e4
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 0x41c321
cmp dword [ebp + 0xc], 0
je 0x41c317
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 0x41c1e4
cmp dword [0x5a450c], 0
je 0x41c342
mov eax, dword [0x5a450c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41cf52
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
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 0x200
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.HLVDD.DLL
lea eax, [ebp - 0x208]
push eax
call fcn.0041e940
add esp, 8
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
je 0x41d02c
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x41d02c
push str.HLVDDGetVersion
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41d01f
call dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov eax, dword [ebp - 0x21c]
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 - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
je 0x41d0f3
mov word [ebp - 0x218], 0
mov word [ebp - 0x214], 0
mov ax, word [ebp - 0x214]
mov word [ebp - 0x216], ax
push 0
lea eax, [ebp - 0x20c]
push eax
push 6
lea eax, [ebp - 0x218]
push eax
push 6
lea eax, [ebp - 0x218]
push eax
push 0x9c402450
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x41d0c5
jmp 0x41d0f3
xor eax, eax
mov ax, word [ebp - 0x216]
cmp eax, 0xfafa
je 0x41d0e6
mov eax, dword [ebp + 8]
mov word [eax], 0x100
jmp 0x41d0f3
mov ax, word [ebp - 0x214]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41d19a
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov dword [0x5ab49c], 0
mov dword [0x5ab4a0], 0
mov dword [ebp - 4], 0
jmp 0x41d1c6
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*8 + 4], 0
je 0x41d1f1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*8]
push eax
push 0x41d20b
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x41d1c3
mov eax, dword [0x5ab49c]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41d204
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41d620
Capabilities:
Query service status

Disassembly:
call fcn.0041d5b0
cmp eax, 2
je 0x41d635
cmp eax, 3
je 0x41d63a
mov eax, 9
ret
jmp 0x41d6c0
jmp 0x41d640
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 0x41d661
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 0x41d688
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 2
pop edi
pop esi
pop ebx
ret
push 0x5ab480
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x41d6ab
cmp dword [0x5ab484], 4
mov esi, 3
jne 0x41d6ab
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 0x41dff5
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 0x41e039
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x41e04c
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0041e930
add esp, 8
push str.StringFileInfo_
lea eax, [ebp - 0x810]
push eax
call fcn.0041e930
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0041e940
add esp, 8
push 0x5a4b60
lea eax, [ebp - 0x810]
push eax
call fcn.0041e940
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0041e940
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.0041e731
add esp, 4
mov dword [ebp - 0x814], eax
mov eax, dword [ebp - 0xc]
inc eax
push eax
push 0
mov eax, dword [ebp - 0x814]
push eax
call fcn.0041ec90
add esp, 0xc
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 0x41e14c
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 0x41e13c
push 0x5a4b64
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041e930
add esp, 8
jmp 0x41e14c
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041e930
add esp, 8
mov eax, dword [ebp - 0x814]
push eax
call fcn.0041e600
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x41e163
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x41e8f2
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x41e8ec
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x41e8dd
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
inc ebp
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
inc ebp
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
call fcn.0041e698
stosb byte es:[edi], al
and ebp, esp
ja 0x41e8ce
invalid
inc ebp
test al, 0x50
call fcn.0041e6a8
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0041e65d
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x41e986
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0041e698
out 0x54, al
push esp
jne 0x41ea0f
lea eax, [ebp - 0x40]
push eax
call fcn.0041e6a8
push eax
push esi
push dword [ebp + 8]
call fcn.0041e65d
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0041e698
mov cl, 0xe3
add al, 0xac
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
jmp 0x41e9d7