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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437c92
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x437ca0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437cfb
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437cf1
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x437d10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437dfd
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437df3
cmp dword [ebp - 0x14], 4
jne 0x437dbf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
push eax
push 0x4b49a8
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.00468336
add esp, 0x10
jmp 0x437de6
mov eax, dword [ebp + 0x18]
shl eax, 1
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437df3
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x437e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437edc
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 0
jne 0x437edc
cmp dword [ebp - 0x10], 4
jne 0x437edc
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x438040
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00467d60
add esp, 0xc
mov dword [ebp - 4], 0x100
push 0
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x103
jne 0x4380af
mov dword [ebp - 8], 0
jmp 0x4380dd
cmp dword [ebp - 8], 0
jne 0x4380d6
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4380d4
mov eax, dword [ebp - 8]
jmp 0x4380e0
jmp 0x4380db
mov eax, dword [ebp - 8]
jmp 0x4380e0
jmp 0x438072
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x4381d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 0x28], eax
xor eax, eax
mov word [ebp - 0x228], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x226]
push ecx
call fcn.00467d60
add esp, 0xc
mov dword [ebp - 0x20], 0
lea edx, [ebp - 8]
push edx
push 0xf003f
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x43834e
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x438344
cmp dword [ebp - 0x10], 0
je 0x438344
mov edx, dword [ebp - 0x14]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x438331
mov dword [ebp - 0xc], 0
jmp 0x43829c
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x438331
mov dword [ebp - 0x18], 0x100
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 4]
push edx
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x43832a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.RegCreateValues__d___s___d_
call fcn.00456fc0
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x438328
jmp 0x438331
jmp 0x43832c
jmp 0x438331
jmp 0x438293
mov eax, dword [ebp - 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x438360
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x41c], 0
xor eax, eax
mov word [ebp - 0x418], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.00467d60
add esp, 0xc
xor edx, edx
mov word [ebp - 0x210], dx
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00467d60
add esp, 0xc
mov dword [ebp - 0x424], 0x100
mov dword [ebp - 8], 0x100
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0x103
jne 0x438420
mov dword [ebp - 0x420], 0
jmp 0x43852f
cmp dword [ebp - 0x420], 0
jne 0x438519
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
lea eax, [ebp - 0x210]
push eax
push 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x438474
jmp 0x43852f
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004381d0
add esp, 0xc
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x4384a9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43852f
lea ecx, [ebp - 0xc]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x43850b
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00438360
add esp, 8
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x420], 0
je 0x438509
jmp 0x43852f
jmp 0x438517
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43852f
jmp 0x43851b
jmp 0x43852f
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
jmp 0x4383bb
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x43aaa0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3214
call fcn.00468360
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00467d60
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3210], dx
push 0xffe
push 0
lea eax, [ebp - 0x320e]
push eax
call fcn.00467d60
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x2210], cx
push 0xffe
push 0
lea edx, [ebp - 0x220e]
push edx
call fcn.00467d60
add esp, 0xc
mov dword [ebp - 0x3214], 0
push 0x4b5408
push 0x800
lea eax, [ebp - 0x1210]
push eax
call fcn.0046a6ad
add esp, 0xc
push 0x4b540c
push 0x41
push 0x4d1760
call fcn.0046a6ad
add esp, 0xc
push 0x2c
push 0x800
lea ecx, [ebp - 0x1210]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040e8e0
add esp, 0x18
test eax, eax
je 0x43abcb
push 0x2c
push 0x800
lea ecx, [ebp - 0x3210]
push ecx
push 0x800
lea edx, [ebp - 0x1210]
push edx
lea eax, [ebp - 0x1210]
push eax
call fcn.0040e8e0
add esp, 0x18
test eax, eax
je 0x43abcb
push 0x2c
push 0x800
lea ecx, [ebp - 0x2210]
push ecx
push 0x800
lea edx, [ebp - 0x3210]
push edx
lea eax, [ebp - 0x3210]
push eax
call fcn.0040e8e0
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004474f0
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x1210]
push eax
push 0x4d0844
call fcn.00409e40
add esp, 8
test eax, eax
je 0x43ac97
push 0x4d0850
lea ecx, [ebp - 0x2210]
push ecx
call fcn.0046b9ce
add esp, 8
test eax, eax
jne 0x43ac97
movzx edx, word [ebp - 0x3210]
test edx, edx
je 0x43ac4e
movzx eax, word [ebp - 0x3210]
test eax, eax
je 0x43ac97
lea ecx, [ebp - 0x3210]
push ecx
push 0x4d0918
call fcn.00402310
add esp, 8
test eax, eax
je 0x43ac97
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 0x3214], eax
mov eax, dword [ebp - 0x3214]
push eax
push 0x4b5410
push 0x41
push 0x4d1760
call fcn.00468336
add esp, 0x10
mov ecx, dword [ebp - 0x3214]
push ecx
lea edx, [ebp - 0x210]
push edx
push str.ChangeDir__s____d
call fcn.00456fc0
add esp, 0xc
mov eax, dword [ebp - 0x3214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x449f40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x50], ax
push 0x3e
push 0
lea ecx, [ebp - 0x4e]
push ecx
call fcn.00467d60
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0x4bbc0c
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.00468336
add esp, 0x10
cmp dword [ebp + 0x18], 0
je 0x449ffc
cmp dword [0x4d6a0e], 0
je 0x449ffc
xor ecx, ecx
mov word [ebp - 0x250], cx
push 0x1fe
push 0
lea edx, [ebp - 0x24e]
push edx
call fcn.00467d60
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
push 0x4bbc14
push 0x100
lea ecx, [ebp - 0x250]
push ecx
call fcn.00468336
add esp, 0x10
push 0x4dbdf8
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
ja 0x44a02b
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jg 0x44a02b
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.LoadStringEx__d____s
call fcn.00456fc0
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x450920
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov eax, dword [ebp - 0x124]
mov dword [0x4e92ac], eax
push 0x3bc
push 0
mov ecx, dword [ebp - 0x124]
add ecx, 8
push ecx
call fcn.00467d60
add esp, 0xc
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x3d0], 0
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x3d4], 1
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x3d8], 1
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x418], 0
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x41c], 1
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x3dc], 0
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x3fc], 0
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x414], 0
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x3cc], 0
mov edx, dword [ebp - 0x124]
mov dword [edx + 0x420], 0
mov dword [ebp - 0x120], 0x114
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00467d60
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x450a48
cmp dword [ebp - 0x11c], 5
jb 0x450a48
mov dword [ebp - 0x128], 1
jmp 0x450a52
mov dword [ebp - 0x128], 0
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
mov dword [edx + 0x3e0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x451f40
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x451f82
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 8]
push edx
push 0x451e50
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x452090
mov dword [ebp - 0x28], 0x24
lea ecx, [ebp - 0x28]
push ecx
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x452008
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
ja case.default.0x451fa8
mov eax, dword [ebp - 0x2c]
jmp dword [eax*4 + 0x452094]
mov ecx, dword [ebp - 0xc]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 8], edx
jmp case.default.0x451fa8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x452090
cmp dword [ebp - 4], 0
je 0x452061
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 8]
sub eax, dword [edx]
cmp eax, 0x96
jle 0x45203f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
sub edx, 0x96
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
sub eax, dword [edx + 4]
cmp eax, 0x1e
jle 0x45205f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
sub edx, 0x1e
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
jmp 0x452090
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
sub eax, 0x96
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
sub eax, 0x1e
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x453530
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x453551
xor eax, eax
jmp 0x4535ab
lea ecx, [ebp - 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x453594
xor eax, eax
jmp 0x4535ab
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x4535a6
xor eax, eax
jmp 0x4535ab
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4548c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046a6ad
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
movzx eax, word [edx]
test eax, eax
jne 0x454958
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
push str._s_s.lnk
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.00468336
add esp, 0x14
jmp 0x45498e
push str..LNK
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.0046b9ce
add esp, 8
test eax, eax
je 0x454976
xor eax, eax
jmp 0x4549a7
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.0046a6ad
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret

Function at 0x454a50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3e8
jae 0x454a88
mov dword [ebp - 0x10], 0x1388
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x454b23
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, 0xa
div ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3e8
jae 0x454ab8
mov dword [ebp - 8], 0x3e8
jmp 0x454ac8
cmp dword [ebp - 8], 0x2710
jbe 0x454ac8
mov dword [ebp - 8], 0x2710
mov edx, dword [ebp - 8]
push edx
call fcn.004549c0
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00454a20
add esp, 8
test eax, eax
jne 0x454aea
jmp 0x454b23
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
cmp eax, dword [ebp - 4]
jbe 0x454b09
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
jmp 0x454b1e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 3
cmp eax, ecx
jbe 0x454b1e
jmp 0x454b23
jmp 0x454a88
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
cmp eax, dword [ebp + 0xc]
jne 0x454b44
push str.WaitForServiceToReachState____Success
call fcn.00456fc0
add esp, 4
mov dword [ebp - 0xc], 1
jmp 0x454b58
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
push edx
push str.WaitForServiceToReachState____Failed___CurrentState_d
call fcn.00456fc0
add esp, 8
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x454be0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], 0
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x454c78
push 0x20
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x454c5f
lea edx, [ebp - 0x28]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x454c46
lea ecx, [ebp - 0x28]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.00454a50
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x454c53
push str.StopService____ControlService_failed
call fcn.00456fc0
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x454c6c
push str.StopService____OpenService_failed
call fcn.00456fc0
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x454c85
push str.StopService____OpenSCManager_failed
call fcn.00456fc0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret