joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e3fd
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46e4ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409ee4
cmp eax, 5
ja case.default.0x46e39b
jmp dword [eax*4 + 0x46e3a2]
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000005
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1

Function at 0x46e41d
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46e4ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409ee4
cmp eax, 5
ja case.default.0x46e39b
jmp dword [eax*4 + 0x46e3a2]
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000005
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
Function at 0x46e43d
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46e4ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409ee4
cmp eax, 5
ja case.default.0x46e39b
jmp dword [eax*4 + 0x46e3a2]
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000005
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1

Function at 0x46e45d
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46e4ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409ee4
cmp eax, 5
ja case.default.0x46e39b
jmp dword [eax*4 + 0x46e3a2]
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000003
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000005
call sub.advapi32.dll_RegOpenKeyExA_1
jmp case.default.0x46e39b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
Function at 0x46e50c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
xor eax, eax
push ebp
push 0x46e67a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0x10
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x46e636
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x124]
mov eax, dword [0x495a3c]
call fcn.0042bdf0
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x14]
mov ecx, 0x46e688
call fcn.00407050
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
push 5
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x11d]
mov ecx, 0x105
call fcn.004057a0
push dword [ebp - 0x128]
push 0x46e6a0
push dword [ebp - 8]
push 0x46e6ac
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004058e0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
call fcn.0040646c
push eax
lea eax, [ebp - 0x12c]
mov edx, dword [ebp - 0x14]
mov ecx, 0x46e6b4
call fcn.00407050
mov eax, dword [ebp - 0x12c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e681
lea eax, [ebp - 0x12c]
call fcn.0040700c
lea eax, [ebp - 0x128]
call fcn.00405530
lea eax, [ebp - 0x124]
call fcn.0040700c
lea eax, [ebp - 0x14]
call fcn.0040700c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret
Function at 0x46e6cc
Capabilities:
Get system information on windows

Disassembly:
push ebx
add esp, 0xfffffe68
xor ebx, ebx
push 0
push 0x2c
lea eax, [esp + 0x160]
push eax
push 0
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46e813
push 0
push 0x20
lea eax, [esp + 0x140]
push eax
push 3
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46e813
push 0
push 0x138
lea eax, [esp + 8]
push eax
push 2
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x46e813
cmp dword [0x495218], 0
jne 0x46e736
cmp dword [0x495214], 0
je 0x46e7e6
mov eax, dword [esp]
mov edx, dword [esp + 4]
sub eax, dword [0x495214]
sbb edx, dword [0x495218]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], edx
fild qword [esp + 0x184]
mov eax, dword [esp + 0x140]
mov edx, dword [esp + 0x144]
sub eax, dword [0x49521c]
sbb edx, dword [0x495220]
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], edx
fild qword [esp + 0x18c]
fdivp st(1)
fmul dword [0x46e820]
movzx eax, byte [esp + 0x180]
mov dword [esp + 0x194], eax
fild dword [esp + 0x194]
fdivp st(1)
fsubr dword [0x46e820]
fadd dword [0x46e824]
call fcn.0040345c
mov dword [0x495224], eax
mov eax, dword [0x495224]
xor edx, edx
cmp edx, dword [0x495218]
jne 0x46e7de
cmp eax, dword [0x495214]
je 0x46e7e6
mov ebx, dword [0x495224]
mov eax, dword [esp]
mov dword [0x495214], eax
mov eax, dword [esp + 4]
mov dword [0x495218], eax
mov eax, dword [esp + 0x140]
mov dword [0x49521c], eax
mov eax, dword [esp + 0x144]
mov dword [0x495220], eax
mov eax, ebx
add esp, 0x198
pop ebx
ret

Function at 0x46e840
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46e848
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46eaa0
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004032f8
test eax, eax
jne 0x46e872
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x46e88a
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.00403358
mov eax, dword [ebp - 0x1c]
call fcn.004059dc
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405530
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.netapi32.dll_NetShareEnum
test eax, eax
jne 0x46ea85
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test esi, esi
jle 0x46ea7c
Function at 0x47112c
Capabilities:
Find taskbar

Disassembly:
cmp al, 1
jne 0x471154
push 0xffffffffffffffff
push 0
push 0x47117c
push 0
push 0
push 0x471184
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_FindWindowExA
push eax
call sub.user32.dll_EnableWindow
ret
test al, al
jne 0x47117b
push 0
push 0
push 0x47117c
push 0
push 0
push 0x471184
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_FindWindowExA
push eax
call sub.user32.dll_EnableWindow
ret

Function at 0x471194
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push 5
push 0
push 0x4711ac
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4711bc
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push 0
push 0
push 0x4711d4
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x47120c
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4712d6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4712e4
call sub.user32.dll_FindWindowA
push 5
push eax
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x4712b5
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call sub.user32.dll_GetClassNameA
test eax, eax
jle 0x4712a7
lea edx, [ebp - 4]
lea eax, [ebp - 0x84]
call fcn.0040aab0
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.004097e4
mov eax, dword [ebp - 0x88]
mov edx, 0x4712fc
call fcn.00405974
jne 0x4712a7
cmp bl, 1
jne 0x47129f
push 1
push esi
call sub.user32.dll_ShowWindow
jmp 0x4712a7
push 0
push esi
call sub.user32.dll_ShowWindow
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x47124c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4712dd
lea eax, [ebp - 0x88]
call fcn.00405530
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x471304
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp + 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x4713ad
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push esi
call sub.advapi32.dll_RegCreateKeyA
mov esi, dword [ebp + 8]
test esi, esi
je 0x47135b
sub esi, 4
mov esi, dword [esi]
push esi
mov eax, dword [ebp + 8]
call fcn.004059dc
push eax
push 2
push 0
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x471381
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4713b4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
lea eax, [ebp + 8]
call fcn.00405530
ret
Function at 0x4715d4
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x4716ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405530
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
jbe 0x47169a
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x471636
mov edi, 0x10
jmp 0x47163b
mov edi, 0x20
or edi, 4
push edi
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov edi, eax
test edi, edi
jbe 0x471694
cmp dword [ebp - 8], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x471684
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x471678
lea eax, [ebp - 0x10]
push eax
push 0
push edi
call sub.advapi32.dll_StartServiceA
jmp 0x471684
lea eax, [ebp - 0x2c]
push eax
push 1
push edi
call sub.advapi32.dll_ControlService
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov edx, esi
mov eax, dword [ebp - 0x28]
call fcn.0047149c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4716c1
lea eax, [ebp - 4]
call fcn.00405530
ret
Function at 0x47175c
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x471765
mov eax, dword [ebp - 4]
add esp, 0xfffff7d8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4828], edx
mov dword [ebp - 0x482c], edx
mov dword [ebp - 0x4820], edx
mov dword [ebp - 0x4824], edx
mov dword [ebp - 0x481c], edx
mov dword [ebp - 0x4818], edx
mov esi, eax
xor eax, eax
push ebp
push 0x471944
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405530
push 5
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x471926
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4800
lea eax, [ebp - 0x4814]
push eax
push 3
push 0x13f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EnumServicesStatusA
mov edi, dword [ebp - 0x10]
dec edi
test edi, edi
jl 0x47190d
inc edi
lea ebx, [ebp - 0x4814]
mov eax, dword [ebx]
test eax, eax
je 0x471819
cmp byte [eax], 0
jne 0x471829
mov eax, esi
mov edx, 0x47195c
call fcn.00405818
jmp 0x47184f
push dword [esi]
lea eax, [ebp - 0x4818]
mov edx, dword [ebx]
call fcn.00405728
push dword [ebp - 0x4818]
push 0x47195c
mov eax, esi
mov edx, 3
call fcn.004058e0
mov eax, dword [ebx + 4]
test eax, eax
je 0x471859
cmp byte [eax], 0
jne 0x471869
mov eax, esi
mov edx, 0x47195c
call fcn.00405818
jmp 0x471890
push dword [esi]
lea eax, [ebp - 0x481c]
mov edx, dword [ebx + 4]
call fcn.00405728
push dword [ebp - 0x481c]
push 0x47195c
mov eax, esi
mov edx, 3
call fcn.004058e0
push dword [esi]
lea eax, [ebp - 0x4824]
mov edx, dword [ebx]
call fcn.00405728
mov eax, dword [ebp - 0x4824]
lea edx, [ebp - 0x4820]
call fcn.004713c0
push dword [ebp - 0x4820]
push 0x47195c
mov eax, esi
mov edx, 3
call fcn.004058e0
push dword [esi]
lea eax, [ebp - 0x4828]
push eax
lea eax, [ebp - 0x482c]
mov edx, dword [ebx]
call fcn.00405728
mov eax, dword [ebp - 0x482c]
xor ecx, ecx
xor edx, edx
call fcn.004715d4
push dword [ebp - 0x4828]
push 0x471968
mov eax, esi
mov edx, 3
call fcn.004058e0
add ebx, 0x24
dec edi
jne 0x471810
cmp dword [ebp - 0xc], 0
jne 0x4717d5
cmp dword [ebp - 8], 0
jbe 0x471926
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47194b
lea eax, [ebp - 0x482c]
mov edx, 6
call fcn.00405554
ret
Function at 0x47196c
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x471a92
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
je 0x471a6f
xor eax, eax
push ebp
push 0x471a57
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
push 0
push 2
push 0x110
push 0xf01ff
push esi
push esi
push ebx
call sub.advapi32.dll_CreateServiceA
mov edi, eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00405728
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.00405728
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x471aac
call fcn.00405864
mov eax, dword [ebp - 0x18]
call fcn.004059dc
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00405728
mov edx, dword [ebp - 0x14]
mov ecx, 0x471ad8
mov eax, 0x80000002
call fcn.00471304
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x471a68
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471a99
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405554
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x472a40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x472a85
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472a8c
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x472a90
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x472aec
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040a5a8
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472af3
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x472af8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe14
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x472d2e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x472cf2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00405530
lea eax, [ebp - 0x1e0]
call fcn.00471ae4
lea eax, [ebp - 0x1e0]
mov edx, 0x472d44
call fcn.00405818
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1dc]
call fcn.00403770
movzx eax, byte [0x472d58]
push eax
lea eax, [ebp - 0x1e4]
push eax
mov ecx, 0x472d64
mov edx, 0x472d70
mov eax, dword [ebp - 4]
call fcn.0040ef4c
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 4]
call fcn.004055c8
movzx eax, byte [0x472d58]
push eax
lea eax, [ebp - 0x1e8]
push eax
mov ecx, 0x472d7c
mov edx, 0x472d88
mov eax, dword [ebp - 4]
call fcn.0040ef4c
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 4]
call fcn.004055c8
xor eax, eax
push ebp
push 0x472c29
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
lea eax, [ebp - 0x1ec]
call fcn.00471ae4
lea eax, [ebp - 0x1ec]
mov edx, 0x472d44
call fcn.00405818
mov eax, dword [ebp - 0x1ec]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472c33
cmp byte [ebp - 0xd], 0
je 0x472ca5
lea eax, [ebp - 0x1dc]
call fcn.004034f4
call fcn.0040305c
jmp 0x472c81
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.00403cc4
lea eax, [ebp - 0x1dc]
call fcn.00403d30
call fcn.0040305c
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x472d64
lea eax, [ebp - 8]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0x1dc]
call fcn.00403abc
call fcn.0040305c
test al, al
je 0x472c4b
lea eax, [ebp - 0x1dc]
call fcn.00403918
call fcn.0040305c
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405818
lea eax, [ebp - 0x1dc]
call fcn.00403500
call fcn.0040305c
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1dc]
call fcn.00405cd0
call fcn.004040ac
call fcn.0040305c
lea eax, [ebp - 0x1dc]
call fcn.00403918
call fcn.0040305c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472d03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472d35
lea eax, [ebp - 0x1ec]
mov edx, 4
call fcn.00405554
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret
Function at 0x472d8c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe20
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
lea esi, [ebp - 0x1d4]
xor eax, eax
push ebp
push 0x472f03
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x472ec7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00405530
lea eax, [ebp - 0x1d8]
call fcn.00471ae4
lea eax, [ebp - 0x1d8]
mov edx, 0x472f1c
call fcn.00405818
mov edx, dword [ebp - 0x1d8]
mov eax, esi
call fcn.00403770
push 0x80
lea eax, [ebp - 0x1dc]
call fcn.00471ae4
lea eax, [ebp - 0x1dc]
mov edx, 0x472f1c
call fcn.00405818
mov eax, dword [ebp - 0x1dc]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, esi
call fcn.004034f4
call fcn.0040305c
jmp 0x472e73
lea edx, [ebp - 8]
mov eax, esi
call fcn.00403cc4
mov eax, esi
call fcn.00403d30
call fcn.0040305c
push dword [ebp - 4]
push dword [ebp - 8]
push 0x472f38
lea eax, [ebp - 4]
mov edx, 3
call fcn.004058e0
mov eax, esi
call fcn.00403abc
call fcn.0040305c
test al, al
je 0x472e45
mov eax, esi
call fcn.00403918
call fcn.0040305c
lea edx, [ebp - 0x1e0]
mov eax, dword [ebp - 4]
call fcn.00409b84
cmp dword [ebp - 0x1e0], 0
jne 0x472eb3
lea eax, [ebp - 4]
mov edx, 0x472f44
call fcn.004055c8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472f0a
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00405554
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret