joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a2e0
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 0x41a312
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x41a320
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 0x41a37b
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 0x41a371
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 0x41a390
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 0x41a47d
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 0x41a473
cmp dword [ebp - 0x14], 4
jne 0x41a43f
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 0x48f768
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.00447c36
add esp, 0x10
jmp 0x41a466
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 0x41a473
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 0x41a6c0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b1120]
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.00447660
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 0x41a72f
mov dword [ebp - 8], 0
jmp 0x41a75d
cmp dword [ebp - 8], 0
jne 0x41a756
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 0x41a754
mov eax, dword [ebp - 8]
jmp 0x41a760
jmp 0x41a75b
mov eax, dword [ebp - 8]
jmp 0x41a760
jmp 0x41a6f2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret
Function at 0x41a850
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4b1120]
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.00447660
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 0x41a9ce
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 0x41a9c4
cmp dword [ebp - 0x10], 0
je 0x41a9c4
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 0x41a9b1
mov dword [ebp - 0xc], 0
jmp 0x41a91c
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x41a9b1
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 0x41a9aa
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.00437970
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 0x41a9a8
jmp 0x41a9b1
jmp 0x41a9ac
jmp 0x41a9b1
jmp 0x41a913
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.00447645
mov esp, ebp
pop ebp
ret
Function at 0x41a9e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4b1120]
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.00447660
add esp, 0xc
xor edx, edx
mov word [ebp - 0x210], dx
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00447660
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 0x41aaa0
mov dword [ebp - 0x420], 0
jmp 0x41abaf
cmp dword [ebp - 0x420], 0
jne 0x41ab99
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 0x41aaf4
jmp 0x41abaf
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041a850
add esp, 0xc
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x41ab29
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41abaf
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 0x41ab8b
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0041a9e0
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 0x41ab89
jmp 0x41abaf
jmp 0x41ab97
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41abaf
jmp 0x41ab9b
jmp 0x41abaf
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
jmp 0x41aa3b
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret
Function at 0x41af20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41af83
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41af83
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41af83
mov eax, dword [ebp - 8]
jmp 0x41af85
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41d120
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3214
call fcn.00447c60
mov eax, dword [0x4b1120]
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.00447660
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3210], dx
push 0xffe
push 0
lea eax, [ebp - 0x320e]
push eax
call fcn.00447660
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x2210], cx
push 0xffe
push 0
lea edx, [ebp - 0x220e]
push edx
call fcn.00447660
add esp, 0xc
mov dword [ebp - 0x3214], 0
push 0x4901c8
push 0x800
lea eax, [ebp - 0x1210]
push eax
call fcn.0044a00d
add esp, 0xc
push 0x4901cc
push 0x41
push 0x4b4018
call fcn.0044a00d
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.0040e320
add esp, 0x18
test eax, eax
je 0x41d24b
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.0040e320
add esp, 0x18
test eax, eax
je 0x41d24b
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.0040e320
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00428240
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x1210]
push eax
push 0x4caf2c
call fcn.00433b50
add esp, 8
test eax, eax
je 0x41d317
push 0x4caf38
lea ecx, [ebp - 0x2210]
push ecx
call fcn.0044b2ae
add esp, 8
test eax, eax
jne 0x41d317
movzx edx, word [ebp - 0x3210]
test edx, edx
je 0x41d2ce
movzx eax, word [ebp - 0x3210]
test eax, eax
je 0x41d317
lea ecx, [ebp - 0x3210]
push ecx
push 0x4cb000
call fcn.004022b0
add esp, 8
test eax, eax
je 0x41d317
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 0x4901d0
push 0x41
push 0x4b4018
call fcn.00447c36
add esp, 0x10
mov ecx, dword [ebp - 0x3214]
push ecx
lea edx, [ebp - 0x210]
push edx
push str.ChangeDir__s____d
call fcn.00437970
add esp, 0xc
mov eax, dword [ebp - 0x3214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret
Function at 0x425ef0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10218
call fcn.00447c60
mov eax, dword [0x4b1120]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov ecx, dword [ebp + 0xc]
call fcn.0042a880
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x10008], ax
push 0xfff8
push 0
lea ecx, [ebp - 0x10006]
push ecx
call fcn.00447660
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x7ffd
lea eax, [ebp - 0x10008]
push eax
push str.Languages
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jbe 0x426056
xor ecx, ecx
mov word [ebp - 0x10218], cx
push 0x206
push 0
lea edx, [ebp - 0x10216]
push edx
call fcn.00447660
add esp, 0xc
lea eax, [ebp - 0x10008]
mov dword [ebp - 0x1000c], eax
mov ecx, dword [ebp - 0x1000c]
movzx edx, word [ecx]
test edx, edx
je 0x426054
mov eax, dword [ebp - 4]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0042a830
push 0x3d
push 0x104
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00408fb0
push eax
push 0x104
lea edx, [ebp - 0x10218]
push edx
mov eax, dword [ebp - 0x1000c]
push eax
call fcn.0040e320
add esp, 0x18
lea ecx, [ebp - 0x10218]
push ecx
call fcn.0044cc65
add esp, 4
mov esi, eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00408fb0
mov dword [eax + 0x208], esi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00408fb0
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00408fb0
mov edx, dword [eax + 0x208]
push edx
mov eax, dword [ebp - 4]
push eax
push str.ReadLanguages__d___LangID_d_FileName_s
call fcn.00437970
add esp, 0x10
mov ecx, dword [ebp - 0x1000c]
push ecx
call fcn.00447df8
add esp, 4
mov edx, dword [ebp - 0x1000c]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 0x1000c], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x425f84
jmp 0x4260a3
mov edx, dword [ebp - 4]
add edx, 1
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0042a830
push 0x49231c
push 0x104
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00408fb0
push eax
call fcn.0044a00d
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00408fb0
mov dword [eax + 0x208], 0x809
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
push str.ReadLanguages_____d
call fcn.00437970
add esp, 8
mov eax, dword [ebp - 4]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret
Function at 0x42a700
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4b1120]
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.00447660
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0x495d74
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.00447c36
add esp, 0x10
cmp dword [ebp + 0x18], 0
je 0x42a7bc
cmp dword [0x4b7c36], 0
je 0x42a7bc
xor ecx, ecx
mov word [ebp - 0x250], cx
push 0x1fe
push 0
lea edx, [ebp - 0x24e]
push edx
call fcn.00447660
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
push 0x495d7c
push 0x100
lea ecx, [ebp - 0x250]
push ecx
call fcn.00447c36
add esp, 0x10
push 0x4bd018
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 0x42a7eb
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 0x42a7eb
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.00437970
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret
Function at 0x431050
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4b1120]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov eax, dword [ebp - 0x124]
mov dword [0x4ca2bc], eax
push 0x3bc
push 0
mov ecx, dword [ebp - 0x124]
add ecx, 8
push ecx
call fcn.00447660
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.00447660
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x431178
cmp dword [ebp - 0x11c], 5
jb 0x431178
mov dword [ebp - 0x128], 1
jmp 0x431182
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.00447645
mov esp, ebp
pop ebp
ret
Function at 0x432670
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 0x4326b2
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 0x432580
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x4327c0
mov dword [ebp - 0x28], 0x24
lea ecx, [ebp - 0x28]
push ecx
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x432738
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
ja case.default.0x4326d8
mov eax, dword [ebp - 0x2c]
jmp dword [eax*4 + 0x4327c4]
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.0x4326d8
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 0x4327c0
cmp dword [ebp - 4], 0
je 0x432791
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 0x43276f
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 0x43278f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
sub edx, 0x1e
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
jmp 0x4327c0
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 0x434730
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 0x434751
xor eax, eax
jmp 0x4347ab
lea ecx, [ebp - 0x10]
push ecx
push 0x497754
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 0x434794
xor eax, eax
jmp 0x4347ab
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x4347a6
xor eax, eax
jmp 0x4347ab
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x435ac0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4b1120]
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.0044a00d
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 0x435b58
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.00447c36
add esp, 0x14
jmp 0x435b8e
push str..LNK
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.0044b2ae
add esp, 8
test eax, eax
je 0x435b76
xor eax, eax
jmp 0x435ba7
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.0044a00d
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.00447645
mov esp, ebp
pop ebp
ret

Function at 0x435c50
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 0x435c88
mov dword [ebp - 0x10], 0x1388
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x435d23
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, 0xa
div ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3e8
jae 0x435cb8
mov dword [ebp - 8], 0x3e8
jmp 0x435cc8
cmp dword [ebp - 8], 0x2710
jbe 0x435cc8
mov dword [ebp - 8], 0x2710
mov edx, dword [ebp - 8]
push edx
call fcn.00435bc0
add esp, 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00435c20
add esp, 8
test eax, eax
jne 0x435cea
jmp 0x435d23
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
cmp eax, dword [ebp - 4]
jbe 0x435d09
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 0x435d1e
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 0x435d1e
jmp 0x435d23
jmp 0x435c88
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
cmp eax, dword [ebp + 0xc]
jne 0x435d44
push str.WaitForServiceToReachState____Success
call fcn.00437970
add esp, 4
mov dword [ebp - 0xc], 1
jmp 0x435d58
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
push edx
push str.WaitForServiceToReachState____Failed___CurrentState_d
call fcn.00437970
add esp, 8
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret