joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002150
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0xe40
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0xe3c], eax
push esi
mov esi, dword [esp + 0xe48]
push 0x10017260
push str.CleanupCustomizedShortcuts
push esi
call fcn.10003f60
push 0x104
lea eax, [esp + 0x18]
push eax
push esi
call fcn.100033c0
add esp, 0x18
test eax, eax
jne 0x100021b2
push str.Delete_menu_folder
push str.CleanupCustomizedShortcuts
push esi
call fcn.10003f60
lea eax, [esp + 0x14]
push 1
push eax
call fcn.10002e80
add esp, 0x14
push 0xa28
lea eax, [esp + 0x41c]
push 0
push eax
call fcn.10006e20
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x100186a8
call sub.SHELL32.dll_SHGetKnownFolderPath
mov eax, dword [esp + 4]
test eax, eax
je 0x10002282
push eax
lea eax, [esp + 0x41c]
push 0x514
push eax
call fcn.1000abde
add esp, 0xc
push dword [esp + 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x104
lea eax, [esp + 0x214]
push eax
push esi
call fcn.100039e0
add esp, 0xc
test eax, eax
jne 0x10002282
cmp word [esp + 0x418], ax
je 0x10002282
lea eax, [esp + 0x210]
push eax
lea eax, [esp + 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..lnk
lea eax, [esp + 0x41c]
push 0x514
push eax
call fcn.1000ab69
push str.Delete_desktop_shortcut
push str.CleanupCustomizedShortcuts
push esi
call fcn.10003f60
add esp, 0x18
lea eax, [esp + 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xe40]
pop esi
xor ecx, esp
call fcn.10005b76
add esp, 0xe40
ret

Function at 0x100022a0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
mov esi, dword [esp + 0x41c]
push 0x10017260
push 0x100175b4
push esi
call fcn.10003f60
push 0x410
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10006e20
push esi
call fcn.10005880
lea eax, [esp + 0x20]
push 0x410
push eax
call fcn.10003340
add esp, 0x24
cmp byte [esp + 4], 0
je 0x1000234f
lea eax, [esp + 4]
push eax
push 0x100175b4
push esi
call fcn.10003f60
lea eax, [esp + 0x10]
push 1
push eax
call fcn.10002ce0
add esp, 0x14
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 4]
push eax
push 0x100175b4
push esi
call fcn.10003f60
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push esi
call fcn.10002150
mov ecx, dword [esp + 0x418]
add esp, 4
xor eax, eax
pop esi
xor ecx, esp
call fcn.10005b76
add esp, 0x414
ret 4
Function at 0x10002380
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x218]
push esi
call fcn.10005880
push 0x10021254
push 0x10017e04
push esi
call fcn.10003f60
push 0x80000002
push esi
call fcn.10002520
add esp, 0x18
call fcn.10005390
lea eax, [esp + 4]
push eax
mov eax, dword [0x10021250]
or eax, 0xf003f
push eax
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100024fe
push ebx
push edi
push str..DEFAULT
push esi
call fcn.100025f0
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10006e20
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea eax, [esp + 0x24]
add esp, 0x14
mov edi, 1
push 0x208
push eax
push 0
push dword [esp + 0x18]
call ebx
test eax, eax
jne 0x100024f2
lea eax, [esp + 0x10]
push str._Classes
push eax
call fcn.100071f0
add esp, 8
test eax, eax
je 0x10002479
mov ecx, str._Classes
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002470
test dl, dl
je 0x1000246c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002470
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002450
xor eax, eax
jmp 0x10002475
sbb eax, eax
or eax, 1
test eax, eax
je 0x100024c2
lea ecx, [esp + 0x10]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002480
sub ecx, edx
cmp ecx, 9
jb 0x100024c2
lea eax, [esp + 0x10]
push eax
push 0x10017e04
push esi
call fcn.10003f60
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.100025f0
add esp, 0x14
test eax, eax
je 0x100024c2
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
push esi
call fcn.10001ec0
add esp, 0xc
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10006e20
add esp, 0xc
lea ecx, [esp + 0x10]
mov eax, edi
inc edi
push 0x208
push ecx
push eax
push dword [esp + 0x18]
call ebx
test eax, eax
je 0x10002435
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [esp + 0x210]
xor eax, eax
pop esi
xor ecx, esp
call fcn.10005b76
add esp, 0x210
ret 4

Function at 0x10002520
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x114]
lea ecx, [esp]
push ecx
push 0xf003f
push 0
push str.Software
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100025cd
push esi
push 0x10017260
push str.CleanupSoftware
push dword [esp + 0x11c]
call fcn.10003f60
push 0x10021254
lea eax, [esp + 0x18]
push str.LogMeInRescueCallingCards_sVersion
push eax
call fcn.10001ac0
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x20]
add esp, 0x18
push eax
push dword [esp + 8]
call esi
push 0x10021254
lea eax, [esp + 0xc]
push str.LogMeInRescueCallingCards_s
push eax
call fcn.10001ac0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call esi
push str.LogMeInRescueCallingCards
push dword [esp + 8]
call esi
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10005b76
add esp, 0x10c
ret
Function at 0x100028c0
Capabilities:
Set current directory

Disassembly:
sub esp, 0x31c
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0x318], eax
push edi
mov edi, dword [esp + 0x324]
push 0x10017260
push 0x10017a28
push edi
call fcn.10003f60
add esp, 0xc
mov dword [esp + 4], 0x200
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x120]
push eax
push 0x10017580
push edi
call sub.msi.dll_MsiGetSummaryInformationA
test eax, eax
je 0x10002930
mov eax, 1
pop edi
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.10005b76
add esp, 0x31c
ret 4
push esi
push 0x7c
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.100019b0
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push 0x10017a28
push edi
call fcn.10003f60
add esp, 0x1c
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x7c
lea eax, [esp + 0x124]
add eax, esi
push eax
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.100019b0
lea eax, [esp + 0x1c]
push eax
push str.__xml_version_1.0__encoding_utf_8____n_Instance__n_ReferralID__s__ReferralID__n__Instance__n
call fcn.100059b0
lea edi, [eax + 1]
push edi
call fcn.1000a9a8
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x100029a8
lea eax, [esi + 2]
jmp 0x100029e6
lea eax, [esp + 0xc]
push eax
push str.__xml_version_1.0__encoding_utf_8____n_Instance__n_ReferralID__s__ReferralID__n__Instance__n
push 0xffffffffffffffff
push edi
push esi
call fcn.100059e0
mov edi, eax
add esp, 0x14
test edi, edi
jle 0x100029d2
push esi
push str.CallingCard.xml
call fcn.10004970
add esp, 8
push esi
call fcn.1000a9a3
xor eax, eax
add esp, 4
test edi, edi
setg al
dec eax
and eax, 3
mov ecx, dword [esp + 0x320]
pop esi
pop edi
xor ecx, esp
call fcn.10005b76
add esp, 0x31c
ret 4

Function at 0x10002a00
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov edi, dword [esp + 0x114]
lea eax, [esp + 8]
push 0x104
push 0
push eax
call fcn.10006e20
push 0x100179e0
push edi
call fcn.1000ae50
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10002a89
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea esp, [esp]
mov ecx, esi
lea eax, [esp + 0xc]
sub ecx, edi
push ecx
push edi
push 0x104
push eax
call fcn.1000adb6
add esp, 0x10
lea eax, [esp + 0xc]
push 0
push eax
call ebx
lea eax, [esi + 1]
push 0x100179e0
push eax
call fcn.1000ae50
mov esi, eax
add esp, 8
test esi, esi
jne 0x10002a50
pop ebx
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.10005b76
add esp, 0x108
ret
Function at 0x10002ce0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x560
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0x55c], eax
mov eax, dword [esp + 0x564]
push eax
lea eax, [esp + 0x150]
push 0x410
push eax
call fcn.1000ac42
add esp, 0xc
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea ecx, [esp + 0x14c]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002d30
sub ecx, edx
lea eax, [esp + 0x14c]
add eax, ecx
lea ecx, [esp + 0x55c]
push esi
sub ecx, eax
mov dword [esp + 4], eax
push 0x10017e5c
lea eax, [esp + 0x154]
mov dword [esp + 0xc], ecx
push 0x410
push eax
call fcn.1000ac9c
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
je 0x10002e25
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esp + 0x48], 0x2e
jne 0x10002dba
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x10002e1e
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.1000ac42
add esp, 0xc
test byte [esp + 0x1c], 0x10
je 0x10002dea
lea eax, [esp + 0x15c]
push 1
push eax
call fcn.10002ce0
add esp, 8
jmp 0x10002e11
mov esi, 0xa
nop
lea eax, [esp + 0x15c]
dec esi
push eax
call ebx
call ebp
cmp eax, 5
jne 0x10002e0d
push 0x1f4
call edi
test esi, esi
jne 0x10002df0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push esi
call eax
test eax, eax
jne 0x10002da5
pop edi
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x56c], 0
mov eax, dword [esp + 4]
pop esi
mov byte [eax], 0
je 0x10002e5f
push 0x80
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x55c]
xor ecx, esp
call fcn.10005b76
add esp, 0x560
ret
Function at 0x10002e80
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0xa80
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0xa7c], eax
mov eax, dword [esp + 0xa84]
push eax
lea eax, [esp + 0x260]
push 0x410
push eax
call fcn.1000abde
add esp, 0xc
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [esp + 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002ed0
sub ecx, edx
sar ecx, 1
push esi
push 0x10017e60
push 0x410
lea eax, [ecx + ecx]
lea ecx, [esp + 0x268]
add ecx, eax
sar eax, 1
mov dword [esp + 0xc], ecx
mov ecx, 0x410
sub ecx, eax
lea eax, [esp + 0x268]
push eax
mov dword [esp + 0x14], ecx
call fcn.1000ab69
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
je 0x10002fd9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
cmp word [esp + 0x48], 0x2e
jne 0x10002f66
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x10002fce
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.1000abde
add esp, 0xc
test byte [esp + 0x1c], 0x10
je 0x10002f96
lea eax, [esp + 0x26c]
push 1
push eax
call fcn.10002e80
add esp, 8
jmp 0x10002fc1
mov esi, 0xa
jmp 0x10002fa0
lea eax, [esp + 0x26c]
dec esi
push eax
call ebx
call ebp
cmp eax, 5
jne 0x10002fbd
push 0x1f4
call edi
test esi, esi
jne 0x10002fa0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push esi
call eax
test eax, eax
jne 0x10002f50
pop edi
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 4]
xor ecx, ecx
pop esi
mov word [eax], cx
cmp dword [esp + 0xa88], ecx
je 0x10003014
push 0x80
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0xa7c]
xor ecx, esp
call fcn.10005b76
add esp, 0xa80
ret
Function at 0x10003030
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x110
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x120]
push 0x3a
push ebx
mov dword [esp + 0x10], eax
call fcn.10006f80
add esp, 8
test eax, eax
je 0x10003205
push esi
push edi
mov edi, dword [esp + 0x120]
lea esi, [eax + 1]
mov byte [eax], 0
test edi, edi
je 0x10003098
push ebx
push str.ExportResource
push edi
call fcn.10003f60
push esi
push str.ExportResource
push edi
call fcn.10003f60
add esp, 0x18
mov ecx, ebx
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100030a0
sub ecx, edx
je 0x10003203
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100030b4
sub ecx, edx
je 0x10003203
push ebp
push esi
call fcn.1000b94a
add esp, 4
movzx eax, ax
push 0x463
push eax
push dword [0x1002124c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
je 0x10003202
push ebp
push dword [0x1002124c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebp
push dword [0x1002124c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10003202
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10006e20
push dword [esp + 0x20]
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.1000ac42
push 0x100179f4
lea eax, [esp + 0x34]
push 0x104
push eax
call fcn.1000ac9c
push ebx
lea eax, [esp + 0x40]
push 0x104
push eax
call fcn.1000ac9c
push 0x100179f8
push ebx
call fcn.1000ae50
add esp, 0x38
test eax, eax
je 0x10003184
lea eax, [esp + 0x18]
push eax
call fcn.10002a00
add esp, 4
test edi, edi
je 0x1000319b
lea eax, [esp + 0x18]
push eax
push str.ExportResource
push edi
call fcn.10003f60
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10003202
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push ebp
push dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100031fb
cmp dword [esp + 0x14], ebp
jne 0x100031fb
test edi, edi
je 0x100031fb
push str.export_resource_success
push str.ExportResource
push edi
call fcn.10003f60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x110]
pop ebx
xor ecx, esp
call fcn.10005b76
add esp, 0x110
ret
Function at 0x10003340
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
push esi
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x100033a5
push 0
lea eax, [esp + 8]
mov byte [esi], 0
push 0x20019
push eax
call fcn.10004010
add esp, 0xc
test al, al
je 0x100033a5
lea eax, [esp + 8]
push eax
push esi
lea eax, [esp + 0x14]
push eax
push 0
push str.InstallDir
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100033a5
mov byte [esi], 0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10005b76
add esp, 0x10
ret

Function at 0x100033c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push str.Version
push 0x20019
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 1
call fcn.10004010
add esp, 0xc
test al, al
jne 0x10003429
push str.Registry_open_failed
push str.GetInstalledStartMenu
push dword [esp + 0x20]
call fcn.10003f60
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.10005b76
add esp, 0x10
ret
push ebx
mov ebx, dword [esp + 0x24]
push edi
lea eax, [ebx + ebx]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x1c]
push eax
push 0
push 0x10017658
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [esp + 0x20]
test eax, eax
je 0x100034cb
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push esi
push str.ProgramMenuFolder
push edi
call sub.msi.dll_MsiGetSummaryInformationW
test eax, eax
je 0x100034ac
push str.MsiGetProperty_failed
push str.GetInstalledStartMenu
push edi
call fcn.10003f60
add esp, 0xc
xor eax, eax
mov word [esi], ax
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, 2
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.10005b76
add esp, 0x10
ret
push str.default
push str.GetInstalledStartMenu
push edi
call fcn.10003f60
push str.LogMeIn_Rescue_Calling_Card
push ebx
push esi
call fcn.1000ab69
add esp, 0x18
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push str.GetInstalledStartMenu
push edi
call fcn.10003fb0
mov ecx, dword [esp + 0x24]
add esp, 0xc
xor eax, eax
pop edi
pop ebx
pop esi
xor ecx, esp
call fcn.10005b76
add esp, 0x10
ret
Function at 0x10003920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
mov eax, dword [0x10021250]
or eax, 0x20019
mov dword [esp + 8], 0
push eax
push 0
push str.SoftwareLogMeInRescueCallingCardVersion
push 0x80000002
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000397e
mov eax, 1
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.10005b76
add esp, 0x10
ret
mov eax, dword [esp + 0x20]
add eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push esi
lea eax, [esp + 0x14]
push eax
push 0
push 0x10017658
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100039bd
mov eax, 2
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.10005b76
add esp, 0x10
ret
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
xor eax, eax
pop esi
xor ecx, esp
call fcn.10005b76
add esp, 0x10
ret

Function at 0x100039e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push str.Version
push 0x20019
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 1
call fcn.10004010
add esp, 0xc
test al, al
jne 0x10003a49
push str.Registry_open_failed
push str.GetProductName
push dword [esp + 0x20]
call fcn.10003f60
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.10005b76
add esp, 0x10
ret
mov eax, dword [esp + 0x20]
shl eax, 2
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push esi
lea eax, [esp + 0x14]
push eax
push 0
push 0x10017614
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003a34
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push str.GetProductName
push dword [esp + 0x20]
call fcn.10003fb0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
xor eax, eax
pop esi
xor ecx, esp
call fcn.10005b76
add esp, 0x10
ret
Function at 0x10003ab0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x52c
mov eax, dword [0x10020ae4]
xor eax, esp
mov dword [esp + 0x528], eax
mov eax, dword [esp + 0x534]
push edi
mov dword [esp + 4], eax
xor edi, edi
mov dword [esp + 0x10], 0x104
mov byte [eax], 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x328]
push eax
push 0x10017614
push dword [esp + 0x540]
call sub.msi.dll_MsiGetSummaryInformationW
test eax, eax
jne 0x10003c39
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0x20019
push edi
push str.InstallerProducts
push 0x80000000
call ebx
test eax, eax
jne 0x10003c38
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10003b40
push 0x104
lea eax, [esp + 0x28]
push 0
push eax
call fcn.10006e20
add esp, 0xc
lea ecx, [esp + 0x24]
mov eax, edi
inc edi
push 0x104
push ecx
push eax
push dword [esp + 0x24]
call ebp
test eax, eax
jne 0x10003c30
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x28]
call ebx
test eax, eax
jne 0x10003b40
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 1
push eax
lea eax, [esp + 0x12c]
mov dword [esp + 0x20], 0x208
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x10017614
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
test eax, eax
je 0x10003bcd
call esi
jmp 0x10003b40
call esi
lea eax, [esp + 0x128]
lea ecx, [esp + 0x330]
lea ecx, [ecx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10003c06
test dx, dx
je 0x10003c02
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10003c06
add ecx, 4
add eax, 4
test dx, dx
jne 0x10003be0
xor eax, eax
jmp 0x10003c0b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003b40
lea eax, [esp + 0x24]
push eax
push str.InstallerProducts_sSourceList
push dword [esp + 0x550]
push dword [esp + 0x1c]
call fcn.10005a20
add esp, 0x10
push dword [esp + 0x18]
call esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x52c]
pop edi
xor ecx, esp
call fcn.10005b76
add esp, 0x52c
ret