joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5405a8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x580124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x140], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [edi + 0x144]
sub ebx, 0x10
lea ecx, [eax - 0x10]
cmp ecx, ebx
je 0x44620e
cmp dword [ebx + 0xc], 0
jl 0x4461fc
mov edx, dword [ecx]
cmp edx, dword [ebx]
jne 0x4461fc
push ecx
call fcn.00406f70
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.00408130
lea eax, [esi + 0x10]
mov dword [edi + 0x144], eax
jmp 0x44620b
push dword [eax - 0xc]
lea ecx, [edi + 0x144]
push eax
call fcn.004078f0
mov eax, dword [ebp + 0x10]
cmp dword [edi + 0x148], 0
jne 0x446234
push 0
push 0
push edi
push 0x446130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x148], eax
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x44627a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x446276
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x446276
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x44627a
mov ecx, edx
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x30], 8
lea eax, [ecx + 0x1c]
jb 0x44756b
mov eax, dword [eax]
push esi
push eax
lea eax, [ecx + 0x124]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044c150
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp ecx, 8
jb 0x4475ac
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.004385a0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret

Function at 0x447650
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x580124]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], edi
push ecx
lea ecx, [edi + 4]
call fcn.0044b7d0
mov ecx, dword [esp + 0x10]
or esi, 0xffffffff
add ecx, 0xfffffff0
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x4476d4
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4477c2
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4477c2
push 0
push dword [edx + 4]
call ebx
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 4]
call fcn.0044b8d0
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x44771f
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4477cb
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4477cb
push 0
push dword [edx + 4]
call ebx
cmp dword [edi + 0x120], 8
lea esi, [edi + 0x10c]
jb 0x447732
mov eax, dword [esi]
jmp 0x447734
mov eax, esi
push 1
push eax
call fcn.00449d90
cmp dword [esi + 0x14], 8
jb 0x447746
mov eax, dword [esi]
jmp 0x447748
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004e8ae0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x44776f
mov esi, dword [esi]
push esi
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.005164d5
add esp, 0xc
lea eax, [esp + 0x18]
push 0x562ebc
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [edi + 0x154]
lea eax, [esp + 0x1c]
push dword [esp + 0x18]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.00454660
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
mov ecx, edx
call edi
jmp 0x4476d0
mov ecx, edx
call esi
jmp 0x44771f
Function at 0x449af0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x449bd9
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004e8ae0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x449bd9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop word [eax + eax]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00515ba3
add esp, 8
test eax, eax
je 0x449ba9
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00515ba3
add esp, 8
test eax, eax
je 0x449ba9
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x449b60
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x228]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x449bd8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x449bd8
push esi
call edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
Function at 0x44b6a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x800
push 0
push eax
mov esi, ecx
call fcn.004e8ae0
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x44b6ed
push edi
push esi
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x44b6fd
push esi
push 0x562f08
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x848]
push 0
push eax
call fcn.004e8ae0
add esp, 0xc
mov dword [ebp - 0x84c], 0x44
lea eax, [ebp - 0x85c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x85c], xmm0
push eax
lea eax, [ebp - 0x84c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x44b763
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 0
je 0x44b795
push dword [ebp + 0x10]
push dword [ebp - 0x85c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0
push eax
push dword [ebp - 0x85c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x85c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x858]
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44c440
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x234], ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x44c4a8
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004e8ae0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x44c4bc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
push ebx
mov ecx, edi
call fcn.0044c650
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
nop word [eax + eax]
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x44c4ff
push dword [ebp - 0x234]
lea eax, [ebp - 0x228]
push eax
push ecx
lea eax, [ebp - 0x23c]
mov ecx, edi
push eax
call fcn.0044f610
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x44c4d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
Function at 0x450ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, edx
push esi
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450ed0
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop esi
sbb eax, eax
and eax, 0x80004005
pop ebp
ret 0xc

Function at 0x450f10
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_Installer.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x450fd1
push 0x80
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004e8ae0
push 0
call fcn.00517300
push edx
push eax
lea eax, [ebp - 0x88]
push 0x563474
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x88]
add esp, 0x20
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450f96
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x88]
push eax
push 1
push 0
push str.Date
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
push dword [ebp - 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret
Function at 0x450ff0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x424]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451189
push ebx
push esi
push edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4510c1
push 0x20a
xor esi, esi
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.004e8ae0
add esp, 0xc
cmp dword [ebp - 0x420], esi
jbe 0x4510c1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x105
lea eax, [ebp - 0x41c]
push eax
push esi
push dword [ebp - 0x424]
call ebx
test eax, eax
jne 0x4510b8
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x424]
call edi
inc esi
cmp esi, dword [ebp - 0x420]
jb 0x451090
push dword [ebp - 0x424]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], 0
push 0
push eax
call fcn.004e8ae0
push dword [ebp - 0x428]
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.005164d5
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.004e8ebd
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x451131
lea eax, [ebp - 0x210]
push 0x2f
push eax
call fcn.004e8ebd
mov esi, eax
add esp, 8
test esi, esi
je 0x451186
mov eax, esi
lea ecx, [ebp - 0x210]
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x20a
jae 0x451199
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
lea eax, [ebp - 0x424]
push eax
push 0xf003f
push ecx
lea eax, [ebp - 0x210]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45117e
lea eax, [esi + 2]
push eax
push dword [ebp - 0x424]
call edi
push dword [ebp - 0x424]
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
call fcn.004e4e59
int3
Function at 0x451200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallMasterPDF
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4512c7
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004e8ae0
add esp, 0xc
mov dword [ebp - 0x210], 1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push str.DisplayVersion
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], 0
push eax
jmp 0x4512cc
push 0x55f580
mov ecx, esi
call fcn.00436c00
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4

Function at 0x4512f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallMasterPDF
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4513b7
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004e8ae0
add esp, 0xc
mov dword [ebp - 0x210], 1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], 0
push eax
jmp 0x4513bc
push 0x55f580
mov ecx, esi
call fcn.00436c00
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
Function at 0x4513e0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 1
push eax
push 0x20019
xor edi, edi
xor esi, esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451482
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x451497
lea ecx, [ebp - 0x10]
push ecx
push edi
lea ecx, [ebp - 8]
push ecx
push edi
push str.Launcher
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x451482
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x451482
inc eax
push eax
call fcn.004e52e9
add esp, 4
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 8]
push eax
push esi
push str.Launcher
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x451482
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
cmovne esi, ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x451497
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
push edi
call fcn.004e4d31
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret

Function at 0x4516d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x10], eax
mov ebx, edx
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x45170e
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret
push esi
push 0
push edi
mov dword [ebp - 0xc], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
xor ecx, ecx
mov dword [ebp - 8], eax
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.005055a8
add esp, 4
mov esi, eax
push esi
push dword [ebp - 8]
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4517a5
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x563470
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4517a5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push esi
movzx eax, word [ecx + 0xa]
mov dword [ebx], eax
movzx eax, word [ecx + 8]
mov dword [edx], eax
movzx eax, word [ecx + 0xe]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
movzx eax, word [ecx + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
call fcn.004f3516
add esp, 4
mov eax, 1
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret
push esi
call fcn.004f3516
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop esi
pop edi
pop ebx
call fcn.004e4c11
mov esp, ebp
pop ebp
ret
Function at 0x451a30
Capabilities:
Continue service
Modify service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], 0
test esi, esi
jne 0x451a62
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.00451e10
xor edi, edi
mov dword [ebp - 0x24], 0
push 0x10000000
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push edi
push edi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], edi
movq qword [ebp - 0x10], xmm0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x451bbd
push ebx
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
je 0x451ba8
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je case.default.0x451b3d
cmp dword [ebp - 0x20], 4
je case.0x451b3d.4
lea eax, [ebp - 8]
push eax
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
push ebx
call edi
mov esi, dword [ebp - 8]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 8]
mov dword [ebp - 0x48], eax
push ecx
push esi
push eax
push ebx
call edi
mov edi, dword [ebp - 0x48]
test eax, eax
je case.default.0x451b3d
cmp dword [edi + 4], 2
je 0x451b34
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je case.default.0x451b3d
mov eax, dword [ebp - 0x20]
dec eax
cmp eax, 6
ja case.default.0x451b3d
jmp dword [eax*4 + 0x451bd4]
sub esp, 0x10
call fcn.00451d90
test eax, eax
jne case.0x451b3d.4
jmp case.default.0x451b3d
sub esp, 0x10
call fcn.00451d90
test eax, eax
je case.default.0x451b3d
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je case.default.0x451b3d
jmp case.0x451b3d.2
sub esp, 0x10
call fcn.00451d90
test eax, eax
je case.default.0x451b3d
lea eax, [ebp - 0x40]
push eax
push 3
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je case.default.0x451b3d
jmp case.0x451b3d.2
sub esp, 0x10
call fcn.00451d90
test eax, eax
je case.default.0x451b3d
mov dword [ebp - 0x44], 1
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
test edi, edi
je 0x451bbd
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x44]
xor ecx, ebp
pop edi
pop esi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
Function at 0x451cb0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x451cec
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
push edi
push 0xf01ff
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x451d1c
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x451d57
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x38], xmm0
movq qword [ebp - 0x28], xmm0
call esi
call esi
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 4

Function at 0x451e10
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x451edc
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004e8ae0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x451ed5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x20c]
push str.WerFault.exe
push eax
call fcn.00515ba3
add esp, 8
test eax, eax
je 0x451eb2
lea eax, [ebp - 0x20c]
push str.WerFault
push eax
call fcn.00515ba3
add esp, 8
test eax, eax
je 0x451eb2
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
jne 0x451e72
jmp 0x451ed4
push dword [ebp - 0x228]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004e4c11
mov esp, ebp
pop ebp
ret