joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d7fe4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edx, dword [ebp + 8]
mov esi, ecx
dec esi
test esi, esi
jl 0x4d8024
inc esi
movzx ecx, byte [eax]
movzx ebx, cl
movzx edi, dx
shr edi, 8
xor ebx, edi
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + ebx*2 - 0x200]
mov ebx, edx
shl ebx, 8
xor di, bx
movzx ecx, cl
xor dx, cx
mov byte [eax], dl
mov edx, edi
inc eax
dec esi
jne 0x4d7ff5
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4d84b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xd8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d8548
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi], 0
je 0x4d852f
lea eax, [ebp - 0xd2]
push eax
push 0xd2
call sub.kernel32.dll_GetLogicalDriveStringsW
lea ebx, [ebp - 0xd2]
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x44]
test ebx, ebx
je 0x4d852f
lea eax, [ebp - 0xd8]
mov edx, ebx
call fcn.00406a30
mov edx, dword [ebp - 0xd8]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
call fcn.00412984
inc eax
add eax, eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4d852b
xor ebx, ebx
test ebx, ebx
jne 0x4d84fe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d854f
lea eax, [ebp - 0xd8]
call fcn.00406864
ret

Function at 0x4d8774
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040685c
mov eax, dword [ebp - 8]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4d883d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.0040476c
mov dword [ebp - 0x26], ebx
cmp byte [ebp + 8], 0
je 0x4d87ca
mov dword [ebp - 0x22], 2
jmp 0x4d87d1
mov dword [ebp - 0x22], 1
lea eax, [ebp - 0x2c]
mov ecx, 0x4d885c
mov edx, dword [ebp - 4]
call fcn.00406d58
mov eax, dword [ebp - 0x2c]
call fcn.00406900
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x30]
mov ecx, 0x4d885c
mov edx, dword [ebp - 8]
call fcn.00406d58
mov eax, dword [ebp - 0x30]
call fcn.00406900
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8844
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040686c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040686c
ret
Function at 0x4d8860
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x4d88eb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.004d93ac
test al, al
je 0x4d88b1
lea ecx, [ebp - 4]
xor edx, edx
xor eax, eax
call fcn.004d9234
push 1
mov ecx, dword [ebp - 4]
mov edx, 0x4d8904
mov eax, 0x4d8920
call fcn.004d912c
test al, al
je 0x4d88d5
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004d72d8
mov ebx, eax
jmp 0x4d88d5
mov dl, 1
mov eax, 0x4d893c
call fcn.004d92c0
mov ebx, eax
test bl, bl
je 0x4d88d5
push 0xffff
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d88f2
lea eax, [ebp - 4]
call fcn.00406864
ret

Function at 0x4d8fdc
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 5
seta al
add esp, 0x114
ret
Function at 0x4da4a8
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4da6c8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
call sub.ole32.dll_CoInitialize
xor eax, eax
push ebp
push 0x4da69c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4da67f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00409780
push eax
push 0x4da6d8
push 1
push 0
mov eax, dword [0x4fa360]
push eax
call sub.ole32.dll_CoCreateInstance
call fcn.004d62ec
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0x4da6e8
call fcn.004097c4
push 0
mov eax, esi
call fcn.004066d8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.004d62ec
push 3
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
call fcn.004d62ec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
call fcn.004d62ec
push 2
lea eax, [ebp - 0x25c]
push eax
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.004d62ec
mov eax, ebx
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.004d62ec
lea eax, [ebx + 4]
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004d62ec
lea eax, [ebx + 8]
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.004d62ec
lea eax, [ebx + 0xc]
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
lea eax, [ebx + 0x14]
push eax
push 0x104
lea eax, [ebp - 0x466]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.004d62ec
lea eax, [ebx + 0x10]
lea edx, [ebp - 0x466]
mov ecx, 0x105
call fcn.00406a84
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.004d62ec
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004d62ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4da689
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da6a3
call sub.ole32.dll_CoUninitialize
ret
Function at 0x4da840
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4da914
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.00406900
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4da90a
xor eax, eax
push ebp
push 0x4da903
push dword fs:[eax]
mov dword fs:[eax], esp
fild qword [ebp + 8]
fdiv dword [0x4da938]
fadd dword [0x4da93c]
fstp qword [ebp - 0x20]
wait
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
call fcn.0041413c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
test eax, eax
je 0x4da8ec
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da90a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4da928
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4db090
Capabilities:
Get storage device properties

Disassembly:
push ebx
push esi
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
push 0
lea eax, [esp + 4]
push eax
push 0x28
push esi
push 0xc
lea eax, [esp + 0x18]
push eax
push 0x2d1400
push ebx
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x10
pop esi
pop ebx
ret

Function at 0x4db290
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4db3f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
xor edx, edx
call fcn.00406874
lea eax, [ebp - 0xd2]
push eax
push 0xd2
call sub.kernel32.dll_GetLogicalDriveStringsW
lea ebx, [ebp - 0xd2]
test ebx, ebx
je 0x4db3d2
lea eax, [ebp - 0xfc]
mov edx, ebx
call fcn.00406a30
mov eax, dword [ebp - 0xfc]
mov edx, 0x4db40c
call fcn.00406f5c
je 0x4db3b7
lea eax, [ebp - 0x100]
mov edx, ebx
call fcn.00406a30
mov eax, dword [ebp - 0x100]
mov edx, 0x4db420
call fcn.00406f5c
je 0x4db3b7
lea eax, [ebp - 0x108]
mov edx, ebx
call fcn.00406a30
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.00412420
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0xf8]
call fcn.004db1c4
cmp esi, dword [ebp - 0xf0]
jne 0x4db3b7
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe4]
cmp edx, dword [ebp + 0x14]
jne 0x4db3b7
cmp eax, dword [ebp + 0x10]
jne 0x4db3b7
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xdc]
cmp edx, dword [ebp + 0xc]
jne 0x4db3b7
cmp eax, dword [ebp + 8]
jne 0x4db3b7
lea eax, [ebp - 0x10c]
mov edx, ebx
call fcn.00406a30
mov eax, dword [ebp - 0x10c]
mov edx, edi
call fcn.00412420
jmp 0x4db3d2
mov eax, ebx
call fcn.00412984
inc eax
add eax, eax
add ebx, eax
cmp byte [ebx], 0
jne 0x4db3ca
xor ebx, ebx
test ebx, ebx
jne 0x4db2f6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db3f7
lea eax, [ebp - 0x10c]
mov edx, 5
call fcn.0040686c
ret

Function at 0x4db428
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
add esp, 0xfffffbec
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406874
lea eax, [esp + 4]
mov edx, esi
call fcn.00412a44
push esp
push 0x104
lea eax, [esp + 0x214]
push eax
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x4db472
mov edx, ebx
lea eax, [esp + 0x20c]
call fcn.00412cd4
add esp, 0x414
pop esi
pop ebx
ret
Function at 0x4db47c
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd24
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2d8], ecx
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4db65b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
xor edx, edx
call fcn.00406874
push 0x104
lea eax, [ebp - 0x23a]
push eax
call sub.kernel32.dll_FindFirstVolumeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4db635
xor eax, eax
push ebp
push 0x4db62e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2d4]
lea edx, [ebp - 0x23a]
mov ecx, 0x105
call fcn.00406a84
mov eax, dword [ebp - 0x2d4]
lea edx, [ebp - 4]
call fcn.004db428
cmp dword [ebp - 4], 0
je 0x4db527
mov eax, dword [ebp - 4]
call fcn.00406900
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
je 0x4db5fa
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x2dc]
lea edx, [ebp - 0x23a]
mov ecx, 0x105
call fcn.00406a84
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2d8]
call fcn.00417e78
mov eax, dword [ebp - 0x2d8]
call fcn.00406900
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x90
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0
push 0x70048
push ebx
call sub.kernel32.dll_DeviceIoControl
push 0
lea eax, [ebp - 0xc]
push eax
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x560000
push ebx
call sub.kernel32.dll_DeviceIoControl
push ebx
call sub.kernel32.dll_CloseHandle_1
cmp esi, dword [ebp - 0x28]
jne 0x4db5fa
mov eax, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2c4]
cmp edx, dword [ebp + 0x14]
jne 0x4db5fa
cmp eax, dword [ebp + 0x10]
jne 0x4db5fa
mov eax, dword [ebp - 0x2c0]
mov edx, dword [ebp - 0x2bc]
cmp edx, dword [ebp + 0xc]
jne 0x4db5fa
cmp eax, dword [ebp + 8]
jne 0x4db5fa
mov eax, edi
lea edx, [ebp - 0x23a]
mov ecx, 0x105
call fcn.00406a84
jmp 0x4db617
push 0x104
lea eax, [ebp - 0x23a]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
jne 0x4db4e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db635
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindVolumeClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db662
lea eax, [ebp - 0x2dc]
mov edx, 3
call fcn.0040686c
lea eax, [ebp - 4]
call fcn.00406864
ret
Function at 0x4db66c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4db77a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406874
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00412420
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x4db6cf
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jne 0x4db6e1
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00412420
jmp 0x4db71f
mov eax, dword [ebp - 4]
test eax, eax
je 0x4db6fe
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4db6fe
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004061e8
mov ebx, eax
test ebx, ebx
je 0x4db709
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, 5
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.00406fc4
push 0x104
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
call fcn.00406900
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
setne al
test al, al
je 0x4db754
mov eax, esi
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00406a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db781
lea eax, [ebp - 0x218]
call fcn.00406864
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040686c
ret
Function at 0x4dbd54
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x424], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4dbe4f
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4dbe27
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
lea edx, [ebp - 0x424]
mov eax, dword [ebp - 4]
call fcn.00417e28
mov eax, dword [ebp - 0x424]
call fcn.00406900
push eax
call sub.kernel32.dll_GetVolumeInformationW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x4dbe10
mov eax, ebx
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.00406a84
mov eax, esi
lea edx, [ebp - 0x420]
mov ecx, 0x104
call fcn.00406a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbe2e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4de3e0
Capabilities:
Get file version info

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
lea eax, [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.00406900
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
mov dword [ebx + 8], esi
test esi, esi
jg 0x4de416
mov ecx, 0x4de4a0
mov dl, 1
mov eax, dword [0x4de108]
call fcn.0041667c
call fcn.00405870
lea eax, [ebx + 0xc]
mov edx, dword [ebx + 8]
call fcn.00406c00
mov eax, dword [ebx + 0xc]
call fcn.00406900
push eax
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.00406900
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
jne 0x4de45a
mov ecx, 0x4de4e4
mov dl, 1
mov eax, dword [0x4de06c]
call fcn.0041667c
call fcn.00405870
push esp
lea eax, [ebx + 0x10]
push eax
mov eax, dword [0x4fa0a8]
push eax
mov eax, dword [ebx + 0xc]
call fcn.00406900
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
jne 0x4de48d
mov ecx, 0x4de528
mov dl, 1
mov eax, dword [0x4de06c]
call fcn.0041667c
call fcn.00405870
pop edx
pop esi
pop ebx
ret

Function at 0x4de7fc
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4de87d
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
jbe 0x4de865
push 4
mov eax, dword [ebp - 4]
call fcn.00406900
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov edi, eax
test edi, edi
jbe 0x4de85f
lea eax, [ebp - 0x20]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4de859
mov esi, dword [ebp - 0x1c]
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de884
lea eax, [ebp - 4]
call fcn.00406864
ret
Function at 0x4e7030
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4e725f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0041126c
mov eax, dword [ebp - 0x10]
call fcn.004d8370
test al, al
jne 0x4e70ad
push 0x40
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004a6474
mov eax, dword [ebp - 0x14]
call fcn.00406900
push eax
push 0x4e7270
mov eax, dword [ebp - 8]
call fcn.004aefa0
push eax
call sub.user32.dll_MessageBoxW
jmp 0x4e722c
mov eax, 0x4e72a4
call fcn.004de890
test al, al
jne 0x4e70c3
mov eax, dword [ebp - 8]
call fcn.004e6cb0
mov eax, 0x4e72a4
call fcn.004de8e0
test al, al
jne 0x4e70ff
push 0x40
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004a6474
mov eax, dword [ebp - 0x18]
call fcn.00406900
push eax
push 0x4e72b8
mov eax, dword [ebp - 8]
call fcn.004aefa0
push eax
call sub.user32.dll_MessageBoxW
jmp 0x4e722c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x498], 0
je 0x4e7113
mov eax, dword [ebp - 8]
call fcn.004e8b34
mov eax, dword [ebp - 8]
cmp byte [eax + 0x498], 0
je 0x4e714d
push 0x40
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004a6474
mov eax, dword [ebp - 0x1c]
call fcn.00406900
push eax
push 0x4e72dc
mov eax, dword [ebp - 8]
call fcn.004aefa0
push eax
call sub.user32.dll_MessageBoxW
jmp 0x4e722c
mov eax, 0x4e72a4
call fcn.004de890
test al, al
je 0x4e722c
push 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4a0]
mov edx, 0x4e731c
mov eax, 0x4e7338
call fcn.004d912c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4a0]
call fcn.00411eb8
test al, al
je 0x4e722c
xor eax, eax
push ebp
push 0x4e7225
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4a0]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0x11
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4a4]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x11
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
lea edx, [ebp - 0x38]
mov ecx, 2
mov eax, 0x4e7354
call fcn.00412e3c
mov eax, dword [ebp - 0x20]
xor edx, edx
call fcn.004d72d8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4a4]
call fcn.004d8a2c
mov ebx, eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x498], bl
mov byte [ebp - 9], bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e722c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4a0]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7266
lea eax, [ebp - 0x20]
call fcn.00406864
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040686c
lea eax, [ebp - 0x10]
call fcn.00406864
lea eax, [ebp - 4]
call fcn.00406864
ret
Function at 0x4e7378
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e7451
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x478]
mov edx, 0x4e7470
mov eax, 0x4e7488
call fcn.004d912c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
call fcn.00411eb8
test al, al
je 0x4e743b
xor eax, eax
push ebp
push 0x4e7434
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
movzx eax, bl
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x4e74a4
call fcn.00412e3c
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.004d72d8
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e743b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7458
lea eax, [ebp - 0xc]
call fcn.00406864
ret