joyce8/EMBER2024-capa huggingface dataset:
Function at 0x553284
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x5532e2
push 0xff
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
push 1
call sub.USER32.DLL_MsgWaitForMultipleObjects
test eax, eax
jne 0x5532cb
mov dword [ebp - 4], 1
jmp 0x553344
lea ecx, [ebp - 0x24]
push ecx
call sub.USER32.DLL_TranslateMessage
lea eax, [ebp - 0x24]
push eax
call sub.USER32.DLL_DispatchMessageA
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call sub.USER32.DLL_PeekMessageA
test eax, eax
jne 0x5532b9
jmp 0x553296
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 8], eax
jmp 0x553333
push 0xff
push 0x64
push 0
push dword [ebp + 8]
push 1
call sub.USER32.DLL_MsgWaitForMultipleObjects
test eax, eax
jne 0x55331e
mov dword [ebp - 4], 1
jmp 0x553344
lea ecx, [ebp - 0x24]
push ecx
call sub.USER32.DLL_TranslateMessage
lea eax, [ebp - 0x24]
push eax
call sub.USER32.DLL_DispatchMessageA
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call sub.USER32.DLL_PeekMessageA
test eax, eax
jne 0x55330c
call sub.KERNEL32.DLL_GetTickCount
mov ecx, dword [ebp - 8]
sub eax, ecx
mov edx, dword [ebp + 0xc]
cmp eax, edx
jb 0x5532ec
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x55e7c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov dword [ebp - 4], 0x8565f8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push 0
push 0x800
mov eax, dword [ebp - 0x24]
cdq
call fcn.00674900
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
jmp 0x55e955
cmp dword [ebp - 8], 0
jne 0x55e7ff
cmp dword [ebp - 0xc], 0x11fff
jbe 0x55e80a
jmp 0x55e801
jle 0x55e80a
mov eax, 0x12000
xor edx, edx
jmp 0x55e810
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add eax, 0x7ff
adc edx, 0
and eax, 0xfffff800
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push dword [ebp - 4]
call fcn.0066cc88
add esp, 0xc
mov edx, dword [0x81a780]
test edx, edx
je 0x55e87a
push 0
push 0x800
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00674923
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0055eb7c
add esp, 0xc
test eax, eax
jne 0x55e8a8
mov eax, 0xfffffffe
jmp 0x55e972
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x20]
xor edx, edx
cmp edx, dword [ebp - 0x10]
jne 0x55e89c
cmp eax, dword [ebp - 0x14]
je 0x55e8a8
mov eax, 0xfffffffe
jmp 0x55e972
push 0
push 0x800
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00674923
add dword [0x6f88f8], eax
mov eax, dword [0x6f88f8]
xor edx, edx
mov dword [0x833f58], eax
mov dword [0x833f5c], edx
mov eax, dword [0x833f58]
mov edx, dword [0x833f5c]
mov dword [ebp - 0x2c], eax
sub edx, 0x80000000
mov dword [ebp - 0x28], edx
fild qword [ebp - 0x2c]
fadd qword [0x55e978]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x34], eax
sub edx, 0x80000000
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
fadd qword [0x55e978]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jne 0x55e937
cmp eax, dword [ebp - 0x14]
jbe 0x55e947
jmp 0x55e939
jle 0x55e947
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
sub dword [ebp - 0xc], eax
sbb dword [ebp - 8], edx
jmp 0x55e955
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
jne 0x55e967
cmp dword [ebp - 0xc], 0
ja 0x55e7ee
jmp 0x55e96d
jg 0x55e7ee
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x55ea28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
mov eax, dword [ebp + 8]
test eax, eax
je 0x55ea46
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x55ea46
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x55ea4a
xor eax, eax
jmp 0x55eab4
xor edx, edx
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 4]
push ecx
push 0x81a788
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
jne 0x55eab1
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x55eaa9
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
call fcn.0066d04c
add esp, 0xc
mov dword [ebp - 0x10], 1
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x55eab8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
mov eax, dword [ebp + 8]
test eax, eax
je 0x55ead6
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x55ead6
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x55eada
xor eax, eax
jmp 0x55eb44
xor edx, edx
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 4]
push ecx
push str.SOFTWAREEasyBoot_SystemsUltraISO5.0
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
jne 0x55eb41
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x55eb39
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
call fcn.0066d04c
add esp, 0xc
mov dword [ebp - 0x10], 1
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x55eb7c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x24
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jle 0x55ec72
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
cmp eax, edx
jl 0x55ec0d
mov ecx, dword [0x6f88f8]
mov eax, dword [ebp - 0x14]
add ecx, eax
push ecx
push dword [ebp - 0x10]
push 0x8685f8
mov edx, dword [ebp - 0x14]
shl edx, 0xb
mov ecx, dword [ebp + 0xc]
add edx, ecx
push edx
call fcn.00439648
add esp, 0x10
imul eax, dword [ebp - 0x10], 0x930
mov dword [ebp - 4], eax
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
push 0x8685f8
push dword [ebp + 8]
call sub.KERNEL32.DLL_WriteFile
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp ecx, eax
je 0x55ebff
xor eax, eax
jmp 0x55ec77
mov edx, dword [ebp - 0x10]
sub dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x10]
add dword [ebp - 0x14], ecx
jmp 0x55ec67
mov eax, dword [0x6f88f8]
mov edx, dword [ebp - 0x14]
add eax, edx
push eax
push dword [ebp - 0xc]
push 0x8685f8
mov ecx, dword [ebp - 0x14]
shl ecx, 0xb
mov eax, dword [ebp + 0xc]
add ecx, eax
push ecx
call fcn.00439648
add esp, 0x10
imul edx, dword [ebp - 0xc], 0x930
mov dword [ebp - 4], edx
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 4]
push 0x8685f8
push dword [ebp + 8]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp eax, edx
je 0x55ec62
xor eax, eax
jmp 0x55ec77
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jg 0x55eb9f
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x56031c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push 0x104
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.KERNEL32.DLL_QueryDosDeviceA
lea edx, [ebp - 0x104]
push edx
push dword [ebp + 8]
push 7
call sub.KERNEL32.DLL_DefineDosDeviceA
mov esp, ebp
pop ebp
ret

Function at 0x560350
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call sub.KERNEL32.DLL_QueryDosDeviceA
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x56038e
imul ecx, dword [ebp - 4], 0x23
mov al, byte [ecx*8 + 0xcff70d]
mov edx, dword [ebp + 8]
mov cl, byte [edx]
cmp al, cl
je 0x56039b
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [0x81ab80]
cmp eax, edx
jl 0x560377
mov ecx, dword [ebp - 4]
mov eax, dword [0x81ab80]
cmp ecx, eax
jge 0x5603c6
imul edx, dword [ebp - 4], 0x23
push dword [edx*8 + 0xcff708]
push 0x81aba7
lea ecx, [ebp - 0x108]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
push 1
call sub.KERNEL32.DLL_DefineDosDeviceA
mov esp, ebp
pop ebp
ret
Function at 0x560768
Capabilities:
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [0x81ab54]
mov dword [ebp - 8], eax
mov ax, word [0x81ab58]
mov word [ebp - 4], ax
mov al, byte [0x81ab5a]
mov byte [ebp - 2], al
mov dl, byte [ebp + 8]
mov byte [ebp - 4], dl
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea ecx, [ebp - 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x5607c6
lea edx, [ebp - 4]
push edx
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x56087c
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
push 0x90018
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_DeviceIoControl
test eax, eax
jne 0x5607ef
lea ecx, [ebp - 4]
push ecx
call fcn.005602d4
pop ecx
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0x90020
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_DeviceIoControl
test eax, eax
jne 0x560818
lea edx, [ebp - 4]
push edx
call fcn.005602d4
pop ecx
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0x2d4808
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_DeviceIoControl
test eax, eax
jne 0x56083f
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_CloseHandle
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0x9001c
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_DeviceIoControl
test eax, eax
jne 0x560868
lea edx, [ebp - 4]
push edx
call fcn.005602d4
pop ecx
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_CloseHandle
lea ecx, [ebp - 4]
push ecx
call fcn.0056031c
pop ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x560880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc8
mov eax, dword [0x81ab62]
mov dword [ebp - 8], eax
mov ax, word [0x81ab66]
mov word [ebp - 4], ax
mov al, byte [0x81ab68]
mov byte [ebp - 2], al
mov dl, byte [ebp + 8]
mov byte [ebp - 4], dl
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea ecx, [ebp - 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x560918
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jne 0x5608fe
lea edx, [ebp - 4]
push edx
call fcn.00560350
pop ecx
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea ecx, [ebp - 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
jne 0x560918
lea edx, [ebp - 4]
push edx
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x560a1e
push 0x226
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.0066cc88
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0x226
lea eax, [ebp - 0x238]
push eax
push 0
push 0
push 0x23310
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_DeviceIoControl
test eax, eax
jne 0x56096f
lea edx, [ebp - 4]
push edx
call fcn.005602d4
pop ecx
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_CloseHandle
or eax, 0xffffffff
jmp 0x560a1e
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_CloseHandle
movzx edx, word [ebp - 0x36]
push edx
movzx ecx, word [ebp - 0x38]
push ecx
movzx eax, word [ebp - 0x3a]
push eax
movsx edx, byte [ebp + 8]
push edx
push str._c:_Length_d__Status_d__Device_d_n
call fcn.004629e4
add esp, 0x14
push 0xff
push 0
lea ecx, [ebp - 0x338]
push ecx
call fcn.0066cc88
add esp, 0xc
push 0
push 0
push 0xff
lea eax, [ebp - 0x338]
push eax
movzx edx, word [ebp - 0x3a]
shr edx, 1
push edx
lea ecx, [ebp - 0x238]
push ecx
push 0
push 0
call sub.KERNEL32.DLL_WideCharToMultiByte
movzx eax, word [ebp - 0x36]
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], eax
cmp word [ebp - 0x3a], 0
jne 0x5609ef
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0xc], 0
jmp 0x560a06
cmp word [ebp - 0x38], 0
je 0x5609ff
mov eax, dword [ebp + 0xc]
mov byte [eax + 0xc], 1
jmp 0x560a06
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xc], 2
lea ecx, [ebp - 0x338]
push ecx
mov eax, dword [ebp + 0xc]
add eax, 0xe
push eax
call fcn.0066ce08
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x560c14
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov eax, dword [0x81ab69]
mov dword [ebp - 8], eax
mov ax, word [0x81ab6d]
mov word [ebp - 4], ax
mov al, byte [0x81ab6f]
mov byte [ebp - 2], al
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x81acbd
push SysStringLen
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x560c78
push 0x81acf3
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x560d70
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push 0x81ad00
push dword [ebp - 0x10]
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x560cba
push 0x81ad10
call fcn.005602d4
pop ecx
push dword [ebp - 0x10]
call sub.ADVAPI32.DLL_RegCloseKey
or eax, 0xffffffff
jmp 0x560d70
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push 0x81ad1d
push dword [ebp - 0x10]
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x560cf9
push 0x81ad27
call fcn.005602d4
pop ecx
push dword [ebp - 0x10]
call sub.ADVAPI32.DLL_RegCloseKey
or eax, 0xffffffff
jmp 0x560d70
push dword [ebp - 0x10]
call sub.ADVAPI32.DLL_RegCloseKey
call fcn.00560a24
xor edx, edx
mov dword [ebp - 0x18], edx
jmp 0x560d44
imul ecx, dword [ebp - 0x18], 0x23
mov al, byte [ecx*8 + 0xcff70d]
mov byte [ebp - 4], al
imul edx, dword [ebp - 0x18], 0x23
mov cl, byte [edx*8 + 0xcff70c]
cmp cl, 1
jne 0x560d37
mov al, byte [ebp - 4]
push eax
call fcn.00560768
pop ecx
jmp 0x560d41
lea edx, [ebp - 4]
push edx
call fcn.0056031c
pop ecx
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x81ab80]
cmp ecx, eax
jl 0x560d0d
call fcn.00560ef8
call fcn.00560e0c
call fcn.00560a24
mov edx, dword [0x6eba04]
test edx, edx
je 0x560d6e
call fcn.0056042c
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x560e0c
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x560e3d
push 0x81ad8e
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x560ef4
push 0xf01ff
push 0x81ada6
push dword [ebp - 4]
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
test edx, edx
jne 0x560e74
push dword [ebp - 4]
call sub.ADVAPI32.DLL_CloseServiceHandle
push 0x81adaf
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x560ef4
mov byte [ebp - 9], 0
push 0
push 0
push dword [ebp - 8]
call sub.ADVAPI32.DLL_StartServiceA
test eax, eax
jne 0x560ea5
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x420
je 0x560edf
push 0x81adc3
call fcn.005602d4
pop ecx
mov byte [ebp - 9], 0xff
jmp 0x560edf
push 0x3e8
call sub.KERNEL32.DLL_Sleep
jmp 0x560ec3
mov edx, dword [ebp - 0x24]
cmp edx, 2
jne 0x560ed3
push 0x3e8
call sub.KERNEL32.DLL_Sleep
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 8]
call sub.ADVAPI32.DLL_QueryServiceStatus
test eax, eax
jne 0x560eb1
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x560edf
mov byte [ebp - 9], 0xff
push dword [ebp - 8]
call sub.ADVAPI32.DLL_CloseServiceHandle
push dword [ebp - 4]
call sub.ADVAPI32.DLL_CloseServiceHandle
xor eax, eax
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x560ef8
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x560f29
push 0x81add9
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x560fe2
push 0xf01ff
push 0x81adf1
push dword [ebp - 4]
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
test edx, edx
jne 0x560f60
push dword [ebp - 4]
call sub.ADVAPI32.DLL_CloseServiceHandle
push str.OpenService_failed_
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x560fe2
mov byte [ebp - 9], 0
lea edx, [ebp - 0x28]
push edx
push 1
push dword [ebp - 8]
call sub.ADVAPI32.DLL_ControlService
test eax, eax
jne 0x560f93
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x426
je 0x560fcd
push str.StopService_failed_
call fcn.005602d4
pop ecx
mov byte [ebp - 9], 0xff
jmp 0x560fcd
push 0x3e8
call sub.KERNEL32.DLL_Sleep
jmp 0x560fb1
mov ecx, dword [ebp - 0x24]
cmp ecx, 3
jne 0x560fc1
push 0x3e8
call sub.KERNEL32.DLL_Sleep
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
call sub.ADVAPI32.DLL_QueryServiceStatus
test eax, eax
jne 0x560f9f
mov edx, dword [ebp - 0x24]
cmp edx, 1
je 0x560fcd
mov byte [ebp - 9], 0xff
push dword [ebp - 8]
call sub.ADVAPI32.DLL_CloseServiceHandle
push dword [ebp - 4]
call sub.ADVAPI32.DLL_CloseServiceHandle
xor eax, eax
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x5614e8
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x81afe8
push SysStringLen
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x56152f
push 0x81b01e
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x5615b7
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0
push 0x81b036
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x56156e
push 0x81b046
call fcn.005602d4
pop ecx
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
or eax, 0xffffffff
jmp 0x5615b7
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0
push str.AutoMount
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x5615ad
push str.ISODriveSetServiceStat:
call fcn.005602d4
pop ecx
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
or eax, 0xffffffff
jmp 0x5615b7
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x5615bc
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push dword [ebp + 8]
push 0x81b08c
push 0x81b080
lea eax, [ebp - 0x110]
push eax
call fcn.006712b0
add esp, 0x10
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegCreateKeyExA
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
test edx, edx
je 0x561624
push 0x81b0c2
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x561775
imul edx, dword [ebp + 8], 0x23
movsx ecx, byte [edx*8 + 0xcff70d]
push ecx
push 0x81b0da
lea eax, [ebp - 0x214]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x214]
push ecx
push 1
push 0
push 0x81b0dd
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x561691
push 0x81b0e3
call fcn.005602d4
pop ecx
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
or eax, 0xffffffff
jmp 0x561775
imul edx, dword [ebp + 8], 0x23
mov cl, byte [edx*8 + 0xcff70c]
cmp cl, 1
jne 0x5616c5
imul eax, dword [ebp + 8], 0x118
add eax, 0xcff70e
push eax
push 0x81b0fb
lea edx, [ebp - 0x214]
push edx
call fcn.006712b0
add esp, 0xc
jmp 0x5616d9
push 0x81b0fe
lea ecx, [ebp - 0x214]
push ecx
call fcn.006712b0
add esp, 8
lea eax, [ebp - 0x214]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x214]
push edx
push 1
push 0
push str.IMAGE
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x561722
push 0x81b106
call fcn.005602d4
pop ecx
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
or eax, 0xffffffff
jmp 0x561775
imul edx, dword [ebp + 8], 0x23
xor ecx, ecx
mov cl, byte [edx*8 + 0xcff70c]
mov dword [ebp - 0xc], ecx
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.MEDIA
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegSetValueExA
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
test edx, edx
je 0x56176b
push str.ISODriveSetDriveLetter:
call fcn.005602d4
pop ecx
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
or eax, 0xffffffff
jmp 0x561775
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x56177c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push dword [ebp + 8]
push 0x81b148
push 0x81b13c
lea eax, [ebp - 0x110]
push eax
call fcn.006712b0
add esp, 0x10
lea edx, [ebp - 0x110]
push edx
push SysStringLen
call sub.ADVAPI32.DLL_RegDeleteKeyA
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x5617cc
push str.ISODriveRemoveDriveStat:
call fcn.005602d4
pop ecx
or eax, 0xffffffff
jmp 0x5617ce
xor eax, eax
mov esp, ebp
pop ebp
ret