joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411ced
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4b03bc
call fcn.0049dfc4
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.0049f012
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [ebx], 0x4be874
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
push dword [esi + 0x30]
call fcn.0049e520
inc eax
push eax
call fcn.0049e01f
mov dword [ebx + 0x30], eax
push dword [esi + 0x30]
push eax
call fcn.0049f220
push dword [esi + 0x34]
call fcn.0049e520
inc eax
push eax
call fcn.0049e01f
mov dword [ebx + 0x34], eax
push dword [esi + 0x34]
push eax
call fcn.0049f220
add esp, 0x20
add esi, 0x20
lea edi, [ebx + 0x20]
mov eax, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x10]
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x414ade
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b0720
call fcn.0049dfc4
sub esp, 0x24c
push ebx
push esi
push edi
push dword [0x4f1f24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov dword [0x4f1f24], esi
mov dword [ebp - 0x14], esi
mov ebx, 0x20019
mov edi, SysReAllocStringLen
push ebx
push str..htm
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00403674
test eax, eax
jne 0x414c54
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x104
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x4f1ef8
mov dword [ebp - 0x10], esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, esi
jne 0x414c54
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x258]
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.00411399
mov esi, 0x4e6514
mov byte [ebp - 4], 2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403753
lea ecx, [ebp - 0x2c]
call fcn.00402f35
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp - 0x28]
push edi
call fcn.00403674
test eax, eax
jne 0x414c37
and dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x4f1ef8
mov dword [ebp - 0x18], 0x104
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414c37
push SysReAllocStringLen
lea ecx, [ebp - 0x50]
call fcn.00401e2f
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 3
push ecx
push str.Default_browser_path:__s
push 0x200
push eax
call fcn.00401e6a
add esp, 0x10
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004012b4
push dword [0x4f1f24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x154]
push 0xffffffffffffffff
mov esi, 0x4f1f24
push eax
push esi
call fcn.004126aa
add esp, 0xc
mov ecx, esi
call fcn.004011f6
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004012b4
cmp dword [ebp - 0x10], 0
je 0x414c52
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
cmp dword [ebp - 0x14], esi
pop edi
pop esi
pop ebx
je 0x414c65
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x4155ae
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.00402f35
mov esi, dword [esi + 4]
xor eax, eax
push 5
push eax
push eax
push esi
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov al, cl
pop esi
ret 4
Function at 0x41600f
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b0adb
call fcn.0049dfc4
sub esp, 0x44
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.SOFTWAREFLEXnetConnect_
mov dword [ebp - 4], 1
call esi
mov edi, vtable._zstring_class_ztraits_0__.0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00402f35
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push 0x20019
push ebx
push dword [ebp - 0x3c]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41612a
lea ecx, [ebp - 0x14]
call fcn.0041623e
mov ecx, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
jne 0x41612a
push 0x4f1ed4
call esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00402f35
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x50]
push 0x104
push eax
lea ecx, [ebp - 0x30]
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00411336
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
lea ecx, [ebp - 0x50]
sete byte [ebp - 0xd]
mov byte [ebp - 4], 4
call fcn.00401d79
cmp byte [ebp - 0xd], bl
je 0x41611e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040235c
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004012b4
jmp 0x41613e
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004012b4
mov ecx, dword [ebp + 8]
push 0x4f1ed4
call fcn.00401c4e
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041623e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004012b4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x4164cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4b0b3c
call fcn.0049dfc4
sub esp, 0x18
push esi
push edi
call fcn.004175fa
mov edi, dword [ebp + 8]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
or dword [ebp - 0x14], 0xffffffff
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
mov dword [ebp + 8], esi
je 0x416519
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
push ebx
push dword [ebp + 0xc]
push edi
call fcn.00472b22
mov ebx, eax
pop ecx
cmp ebx, esi
pop ecx
je 0x416599
push ebx
lea ecx, [ebp - 0x24]
call fcn.00474d0e
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x41654f
cmp byte [eax], 0
je 0x41654f
push dword [ebp + 0x20]
lea ecx, [ebp - 0x24]
push eax
call fcn.00474eb9
push dword [ebp + 8]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00417257
pop ecx
mov esi, eax
pop ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push edi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
cmp esi, ebx
mov dword [ebp - 0x14], eax
je 0x41658b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00474d9d
xor esi, esi
cmp dword [ebp + 8], esi
pop ebx
je 0x4165ad
cmp dword [ebp - 0x18], esi
je 0x4165ad
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x41d2f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
mov ecx, dword [ecx]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x41d324
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, esi
mov ebx, eax
jne 0x41d347
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp edi, esi
je 0x41d352
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

Function at 0x41d35b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 8]
xor esi, esi
push eax
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x41d3e0
xor eax, eax
cmp dword [ebp - 4], esi
je 0x41d39c
push dword [ebp - 4]
call edi
mov ecx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 4], ecx
jne 0x41d3e0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
lea ecx, [ebp - 4]
push dword [ebp + 8]
push str.CLSID
call fcn.0041d2f0
cmp dword [ebp - 4], esi
je 0x41d3dc
push dword [ebp - 4]
call edi
xor eax, eax
jmp 0x41d3fe
cmp eax, esi
push ebx
jle 0x41d3ef
and eax, 0xffff
or eax, 0x80070000
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x41d3fb
push dword [ebp - 4]
call edi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x41d4f2
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x4b1288
call fcn.0049dfc4
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00403674
mov edi, eax
cmp edi, esi
je 0x41d53c
cmp dword [ebp - 0x10], esi
je 0x41d535
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x41d5d9
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x41d5ad
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041d4f2
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x41d59a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x41d55f
cmp dword [ebp - 0x10], esi
je 0x41d5a8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x41d5d9
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41d5c0
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x41d5d7
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41d955
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x41d974
xor al, al
jmp 0x41d98e
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x41d992
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret
Function at 0x420518
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4b179c
call fcn.0049dfc4
push ecx
push esi
mov esi, ecx
xor ecx, ecx
mov eax, vtable._zstring_class_ztraits_0__.0
mov dword [esi + 0xc], ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi], eax
mov dword [esi + 0x1c], ecx
mov dword [ebp - 4], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x40], eax
push dword [esi + 0x4c]
lea edi, [esi + 0x4c]
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
push 0x4f1ef8
push edi
call fcn.004126aa
add esp, 0xc
lea eax, [esi + 0x50]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x425e71
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b1e64
call fcn.0049dfc4
sub esp, 0x128
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x425e99
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jne 0x425ea1
push 2
pop eax
jmp 0x425fb2
push edi
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 4], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], vtable._zstring_class_ztraits_0__.0
mov edi, dword [esi + 0xc]
mov byte [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403753
lea ecx, [ebp - 0x2c]
call fcn.00402f35
mov edi, 0x20019
lea ecx, [ebp - 0x10]
push edi
push dword [ebp - 0x28]
push SysReAllocStringLen
call fcn.00403674
test eax, eax
je 0x425f27
lea ecx, [ebp - 0x2c]
call fcn.00402f35
push edi
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
push edi
call fcn.00403674
test eax, eax
jne 0x425f2e
mov dword [esi + 0x14], edi
jmp 0x425f2e
mov dword [esi + 0x14], SysStringLen
cmp dword [ebp - 0x10], ebx
pop edi
je 0x425f96
lea eax, [ebp - 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.WindowsInstaller
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], 4
call esi
cmp eax, ebx
jne 0x425f67
mov dword [ebp - 0x14], ebx
jmp 0x425f96
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x104
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.LogFile
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x10]
call esi
cmp eax, ebx
jne 0x425f96
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.004012b4
cmp dword [ebp - 0x10], ebx
je 0x425faf
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x426b8a
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b20c3
call fcn.0049dfc4
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov edi, vtable._zstring_class_ztraits_0__.0
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x14], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 4], edi
mov dword [ebp - 4], ebx
mov dword [esi], 0x4c07a8
mov dword [ebp - 0x10], ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00403753
cmp dword [ebp + 0xc], ebx
jne 0x426bee
mov dword [ebp + 0xc], reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.00402f35
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push 0x20019
push ebx
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x426ce4
lea ecx, [ebp - 0x10]
call fcn.0041623e
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x426ce4
lea ecx, [ebp - 0x34]
call fcn.00410ee8
mov dword [ebp - 0x34], vtable.zpath.0
mov eax, 0x104
lea ecx, [ebp - 0x34]
mov dword [ebp + 8], eax
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00411336
lea ecx, [ebp + 8]
mov dword [ebp + 0xc], ebx
push ecx
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push str.LogFile
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
lea ecx, [ebp - 0x44]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401d79
cmp byte [ebp + 0xf], bl
je 0x426cd8
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x34]
push eax
call fcn.00428cec
push str..ilg
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00410efc
lea ecx, [ebp - 0x50]
mov byte [ebp + 0xf], al
mov byte [ebp - 4], 3
call fcn.004036b2
cmp byte [ebp + 0xf], bl
je 0x426cd8
push dword [esi + 0x10]
mov edi, dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004036b2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004012b4
cmp dword [ebp - 0x10], ebx
je 0x426cfe
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x426d11
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b2100
call fcn.0049dfc4
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.00401c3a
xor ebx, ebx
mov dword [esi], 0x4c07b0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallInstallShield_Uninstall_Information_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], vtable._zstring_class_ztraits_0__.0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00403753
cmp dword [ebp + 0xc], ebx
jne 0x426d80
mov dword [ebp + 0xc], reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.00402f35
push 0x20019
lea ecx, [ebp - 0x10]
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call fcn.00403674
test eax, eax
jne 0x426e5a
lea ecx, [ebp - 0x34]
call fcn.00410ee8
mov dword [ebp - 0x34], vtable.zpath.0
mov eax, 0x104
lea ecx, [ebp - 0x34]
mov dword [ebp + 8], eax
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00411336
lea ecx, [ebp + 8]
mov dword [ebp + 0xc], ebx
push ecx
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push str.LogFile
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
lea ecx, [ebp - 0x44]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401d79
cmp byte [ebp + 0xf], bl
je 0x426e4e
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x34]
push eax
call fcn.00428cec
push str..ilg
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00410efc
lea ecx, [ebp - 0x50]
mov byte [ebp + 0xf], al
mov byte [ebp - 4], 3
call fcn.004036b2
cmp byte [ebp + 0xf], bl
je 0x426e4e
push dword [edi + 0xc]
mov esi, dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi + 0xc], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004036b2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004012b4
cmp dword [ebp - 0x10], ebx
pop edi
pop esi
pop ebx
je 0x426e77
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x428a44
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b2497
call fcn.0049dfc4
sub esp, 0x12c
and byte [ebp - 0x138], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x137]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x428ac5
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x14], 0x104
mov eax, str.CommonFilesDir
je 0x428aa5
mov eax, str.ProgramFilesDir
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x138]
push ecx
push esi
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x138], 0
lea eax, [ebp - 0x138]
push eax
je 0x428afe
lea ecx, [ebp - 0x34]
call fcn.004038ec
push 1
mov esi, vtable.zpath.0
pop ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], 0
push 0x4e53c8
lea ecx, [ebp - 0x34]
call fcn.00403949
jmp 0x428b14
lea ecx, [ebp - 0x24]
call fcn.004038ec
mov esi, vtable.zpath.0
push 2
mov dword [ebp - 0x24], esi
pop ebx
lea eax, [ebp - 0x24]
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.00403913
or ebx, 4
mov dword [edi], esi
test bl, 2
je 0x428b34
lea ecx, [ebp - 0x24]
and ebx, 0xfffffffd
call fcn.004036b2
test bl, 1
je 0x428b41
lea ecx, [ebp - 0x34]
call fcn.004036b2
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x428b52
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4b24bb
call fcn.0049dfc4
sub esp, 0x128
and byte [ebp - 0x134], 0
push ebx
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
and dword [ebp - 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x134]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp - 0x134], 0
lea eax, [ebp - 0x134]
push eax
je 0x428bc9
lea ecx, [ebp - 0x30]
call fcn.004038ec
push 1
mov dword [ebp - 0x30], vtable.zpath.0
pop ebx
mov dword [ebp - 0x10], ebx
and dword [ebp - 4], 0
push 0x4e53c8
lea ecx, [ebp - 0x30]
call fcn.00403949
jmp 0x428bde
lea ecx, [ebp - 0x20]
call fcn.004038ec
push 2
mov dword [ebp - 0x20], vtable.zpath.0
pop ebx
lea eax, [ebp - 0x20]
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.00403913
or ebx, 4
mov dword [edi], vtable.zpath.0
test bl, 2
je 0x428c02
lea ecx, [ebp - 0x20]
and ebx, 0xfffffffd
call fcn.004036b2
test bl, 1
je 0x428c0f
lea ecx, [ebp - 0x30]
call fcn.004036b2
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret