joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41818a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x42bbb0
call fcn.0040a8a8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0042903b
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4181c9
call fcn.0042903b
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4181d7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4181e5
or eax, 0xffffffff
jmp 0x4182cd
mov ecx, esi
call fcn.00418100
mov dword [ebp - 0x14], eax
call fcn.00419f54
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x41821c
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41821c
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00419f08
push dword [ebp - 0x14]
call fcn.00419a3a
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00417e98
cmp eax, edi
je 0x41828f
test byte [esi + 0x24], 0x10
je 0x41825d
push 4
mov ecx, esi
pop ebx
call fcn.0041922c
test ah, 1
je 0x418255
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0041bfa8
cmp dword [esi + 0x1c], edi
je 0x41828f
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00419374
jmp 0x41828f
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4182a3
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4182bc
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4182bc
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0041813a
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x41a405
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41a43d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041cab8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041ca90
jmp 0x41a449
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x41bd51
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41bd93
call fcn.0042903b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41bd93
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41bd8a
xor eax, eax
jmp 0x41bd9b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041bda1
pop edi
pop esi
pop ebx
ret 4

Function at 0x42883a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0042903b
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x428877
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x428877
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x42887b
xor eax, eax
jmp 0x4288f9
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00419184
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4288b3
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x42889d
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004289ea
push ebx
mov edi, eax
call fcn.004191ad
test edi, edi
pop ecx
je 0x4288f5
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.004287b3
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004288fe
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4120f4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], eax
xor edi, edi
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 0
push ecx
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x412148
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
push 0xd
pop eax
cmove esi, eax
cmp esi, 0xe8
jne 0x412156
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
cmp edi, 0xa
jl 0x412105
jmp 0x412156
push 0xd
pop eax
mov esi, eax
xor eax, eax
cmp dword [ebp - 4], 4
cmove esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x412fa5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x20019
push esi
push dword [0x514d04]
xor ebx, ebx
mov dword [ebp - 0xc], esi
inc ebx
mov dword [ebp - 0x14], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x514c98], bl
mov dword [0x514c9c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41308e
push edi
push 4
pop edi
lea eax, [ebp - 4]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [0x514d10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413016
cmp dword [ebp - 0xc], ebx
je 0x41303d
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x4e5094
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413047
cmp dword [ebp - 0x14], ebx
jne 0x413047
mov dword [0x514c9c], 2
mov edx, dword [0x514d04]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push str.iLogLevelDebug
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], esi
call fcn.0043fc1c
add esp, 0xc
pop edi
test eax, eax
jne 0x413085
movzx eax, byte [0x514c96]
cmp dword [ebp - 0x18], 0x64
cmovae eax, ebx
mov byte [0x514c96], al
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret
Function at 0x42ab6c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x50f554]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x42ab98
push 0xd
jmp 0x42abfd
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42abfb
push 0x250
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00481750
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42abfb
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0xffffffff
je 0x42abe2
cmp dword [esp + 0x30], edi
je 0x42abe2
mov eax, 0x5b6
jmp 0x42abfe
push ebx
mov ecx, esi
call fcn.00429e94
neg eax
pop ecx
sbb eax, eax
and eax, 0xfffffc12
add eax, 0x3ee
jmp 0x42abfe
push 2
pop eax
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004689ca
mov esp, ebp
pop ebp
ret

Function at 0x432f36
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x50f554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, str.Shell_TrayWnd
push edi
xor edi, edi
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x432f80
push edi
push str.TrayNotifyWnd
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x432f80
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x433042
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x432fe6
mov eax, dword [ebp - 0x1c]
sub eax, edi
je 0x432fca
sub eax, 1
je 0x432fb1
sub eax, 1
je 0x432fca
sub eax, 1
jne 0x433042
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
lea eax, [ecx - 0x64]
mov dword [esi], eax
lea eax, [ecx - 0x10]
jmp 0x432fe1
mov ecx, dword [ebp - 0xc]
lea eax, [ecx - 0x64]
mov dword [esi + 4], eax
lea eax, [ecx - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
jmp 0x433042
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x433024
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [esi]
cmp eax, 0x96
jle 0x433012
lea eax, [ecx - 0x96]
mov dword [esi], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 4]
cmp eax, 0x1e
jle 0x433042
lea eax, [ecx - 0x1e]
jmp 0x43303f
push edi
push esi
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004689ca
leave
ret 4
Function at 0x43508e
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x143c
call fcn.00469150
mov eax, dword [0x50f554]
xor eax, esp
mov dword [esp + 0x1438], eax
push ebx
push esi
push edi
mov eax, ecx
mov ebx, edx
push 0x4cc6b0
xor esi, esi
mov dword [esp + 0x18], ebx
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
call fcn.00481e24
pop ecx
pop ecx
push ebx
neg eax
push esi
sbb edi, edi
push 0x410
neg edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4351d2
mov ecx, ebx
call fcn.0043500e
test al, al
jne 0x435123
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, esp
push dword [esp + 0x18]
call fcn.00402829
mov edx, edi
mov ecx, ebx
call fcn.0043376a
pop ecx
pop ecx
test eax, eax
jne 0x4351d2
mov esi, dword [esp + 0xc]
jmp 0x435219
test edi, edi
je 0x4351a0
lea eax, [esp + 0xc]
push eax
push 0x1000
lea eax, [esp + 0x448]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x43519d
xor edi, edi
mov eax, dword [esp + 0xc]
shr eax, 2
cmp edi, eax
jae 0x43519d
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00481750
add esp, 0xc
lea eax, [esp + 0x18]
push 0x104
push eax
push dword [esp + edi*4 + 0x448]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x435198
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.0048a352
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
inc edi
test esi, esi
je 0x435146
push ebx
jmp 0x435213
push dword [esp + 0x14]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4351d2
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x428
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x4351e9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x1444]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004689ca
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
call fcn.0048a352
neg eax
pop ecx
sbb esi, esi
lea eax, [esp + 0x1c]
pop ecx
push eax
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x435212
test esi, esi
je 0x4351e9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4351d4

Function at 0x43709a
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
test ecx, ecx
je 0x4370d5
mov edx, dword [0x514d04]
lea eax, [ebp - 8]
and dword [ebp - 4], 0
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
and dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
push eax
push str.iLogLevel
call fcn.0043fc1c
add esp, 0xc
test eax, eax
jne 0x4370d5
cmp dword [ebp - 4], 1
jae 0x43710c
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [0x514d04]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43710c
push str.CollectData
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x43b9a5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x4b0768
call fcn.00468fa8
mov esi, ecx
push str.GetLaunchInstalledOnDemand...
lea ecx, [ebp - 0x10]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x10]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.004137d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [esi + 0x68]
cmp dword [eax - 0xc], ebx
jne 0x43ba0f
push str.Empty_ProductInstallDir
lea ecx, [ebp - 0x10]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 1
pop ecx
call fcn.004137d1
pop ecx
jmp 0x43bafe
push ebx
push str.7AD7_
lea ecx, [esi + 0x50]
call fcn.0040944e
cmp eax, 0xffffffff
mov eax, dword [esi + 0x68]
sete bl
sub eax, 0x10
push eax
call fcn.00402d9f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0x5c
push esi
mov dword [ebp - 4], 2
call fcn.004820a0
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x43ba52
or ecx, 0xffffffff
jmp 0x43ba56
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x43ba6b
push 0x4cc6b0
lea ecx, [ebp - 0x10]
call fcn.0040259d
mov ecx, str.ReaderAcroRd32.exe
test bl, bl
mov eax, str.AcrobatAcrobat.exe
cmove eax, ecx
lea ecx, [ebp - 0x10]
push eax
call fcn.0040259d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x14]
cmp eax, 0xffffffff
je 0x43bad2
push str.valid_launch_path_found:
call fcn.00402829
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.004130a0
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402e14
jmp 0x43bafe
push str.valid_launch_path_not_found
call fcn.00402829
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.004130a0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.00468f71
ret 4

Function at 0x43fae5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 8]
xor ebx, ebx
call fcn.00402829
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43fb4b
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push dword [ebp + 0xc]
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
neg eax
sbb ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00402e64
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43fb5d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], 1
push esi
cmp dword [eax], ebx
lea eax, [ebp - 4]
push edi
mov edi, ebx
mov dword [ebp - 8], 0x104
push eax
je 0x43fb8a
push 0x20119
jmp 0x43fb8f
push 0x20019
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x43fc05
push 0x208
call fcn.00489bd8
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, 0xea
jne 0x43fbf8
push edi
call fcn.00489bbd
mov eax, dword [ebp - 8]
add eax, eax
push eax
call fcn.00489bd8
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43fc05
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040286d
push edi
call fcn.00489bbd
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x43fc1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [eax], edi
lea eax, [ebp - 4]
push eax
je 0x43fc38
push 0x20119
jmp 0x43fc3d
push 0x20019
push edi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x43fc78
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x43fc7e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov esi, edx
push eax
mov edi, ecx
xor ebx, ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43fcde
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
test esi, esi
cmove ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43fce5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
push 0
push 0x4ca238
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x43fd40
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0xb
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 8
push eax
push esi
push str.iSpeedLauncherLogonTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x43fd45
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push 0x4ca238
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43fd9e
push esi
push 8
lea eax, [ebp + 0xc]
push eax
push 0xb
push edi
push str.iSpeedLauncherLogonTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
test esi, esi
pop esi
cmove edi, eax
mov eax, edi
pop edi
leave
ret

Function at 0x43fda3
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43fdca
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
push dword [ebp - 4]
xor ebx, ebx
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret

Function at 0x440dee
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 4
mov eax, 0x4a9628
call fcn.00468fa8
call fcn.0044f181
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
xor edi, edi
lea ecx, [ebp - 0x10]
push 0x104
mov dword [ebp - 4], edi
call fcn.00402bd2
push eax
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.00409889
test esi, esi
jne 0x440e55
push str.AdobeUpdaterResourcesAdobeUpdater.overrides
lea ecx, [ebp - 0x10]
call fcn.0040259d
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x440e58
inc edi
jmp 0x440e58
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.00468f71
ret