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

Disassembly:
push 0xffffffffffffffff
push 0x53e003
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea edi, [esi + 0x14]
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.00488940
mov eax, dword [esp + 0x24]
cmp eax, 0x6d6f6f76
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov byte [esp + 0x18], 1
jne 0x468265
mov dword [esi], edx
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0x6d6f6f76
jmp 0x468281
cmp eax, 0x7472616b
mov dword [esi], 0
mov dword [esi + 4], edx
jne 0x46827e
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x10], edx
jmp 0x468281
mov dword [esi + 0x10], ecx
mov dword [esi + 8], eax
lea eax, [esp + 0x30]
mov dword [esi + 0xc], ecx
push eax
mov ecx, edi
call fcn.00488590
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x1c], ecx
lea ecx, [esp + 0x30]
mov dword [esi + 0x18], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.004884e0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x18

Function at 0x469180
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov dl, byte [ecx]
push ebp
push esi
xor esi, esi
xor al, al
test dl, dl
mov byte [esp + 0xb], 0
je 0x4691aa
cmp dl, 9
je 0x4691a0
cmp dl, 0x20
jne 0x4691aa
mov dl, byte [ecx + 1]
add ecx, 1
test dl, dl
jne 0x469196
mov dl, byte [ecx]
test dl, dl
mov ebp, ecx
je 0x469231
cmp dl, 0x2b
push ebx
je 0x4691c1
cmp dl, 0x2d
je 0x4691c1
xor bl, bl
jmp 0x4691c6
mov bl, dl
lea ebp, [ecx + 1]
mov cl, byte [ebp]
test cl, cl
je 0x469229
push edi
mov edi, edi
mov dl, cl
sub dl, 0x30
cmp dl, 9
ja 0x46921a
movsx ecx, cl
sub ecx, 0x30
cmp ecx, 0xa
jge 0x46921a
movsx eax, dl
lea edx, [esi + esi*4]
mov edi, esi
lea esi, [eax + edx*2]
mov ecx, esi
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
je 0x46920e
mov byte [esp + 0x13], 1
mov cl, byte [ebp + 1]
add ebp, 1
test cl, cl
mov al, 1
jne 0x4691d0
cmp byte [esp + 0x13], 0
pop edi
je 0x469229
mov esi, SysReAllocString
jmp 0x469230
cmp bl, 0x2d
jne 0x469230
neg esi
pop ebx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x469245
mov dword [ecx], ebp
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
pop esi
pop ebp
pop ecx
ret
mov edx, dword [esp + 0x10]
mov dword [edx], esi
pop esi
pop ebp
pop ecx
ret
Function at 0x46aa60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x46aa73
mov eax, 0x80040d08
pop edi
ret 4
movzx ecx, word [esp + 8]
push ebx
push esi
push str.PLIST
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46aad3
mov edx, dword [edi + 0x28]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46aad3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x46aad3
mov eax, dword [edi + 0x28]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push str.kCFAllocatorDefault
mov esi, eax
call fcn.004d0400
mov ecx, dword [eax]
push esi
push ebx
push ecx
call fcn.004cf950
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x46aade
pop esi
pop ebx
mov eax, 0x80040d01
pop edi
ret 4
push esi
mov ecx, edi
call fcn.00469cc0
push esi
mov edi, eax
call fcn.004cf770
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
ret 4
Function at 0x46ae70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x53e411
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28c]
mov ebx, 1
mov ecx, esi
mov dword [esp + 0x27c], ebx
call fcn.004500c0
push 0x104
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28c]
call fcn.0040d490
push 0x104
mov ecx, eax
mov byte [esp + 0x280], 2
call fcn.00489670
push eax
lea ecx, [esp + 0x28c]
call fcn.00488510
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], bl
call fcn.00489940
push 0x104
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28c]
call fcn.0040d490
mov ecx, eax
mov byte [esp + 0x27c], 3
call fcn.00489670
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], bl
call fcn.00489940
lea edx, [esp + 0x288]
push edx
lea ecx, [esp + 0x288]
call fcn.00488d00
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x288]
call fcn.00488510
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00488980
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0x280], 4
call fcn.00463050
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], bl
call fcn.004884e0
lea eax, [esp + 0x20]
push eax
push edi
call ebp
test eax, eax
jne 0x46af92
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, dword [esi + 4]
lea ecx, [esp + 0x284]
mov byte [esp + 0x27c], 0
call fcn.004884e0
lea ecx, [esp + 0x288]
mov dword [esp + 0x27c], 0xffffffff
call fcn.004884e0
mov eax, esi
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.0051674d
add esp, 0x26c
ret 0xc
Function at 0x4752b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x53e9f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00474790
xor edi, edi
lea ecx, [esi + 0x26]
mov dword [esp + 0x28], edi
mov dword [esi], vtable.MPRefExportDlg.0
call fcn.00488940
lea ebp, [esi + 0x2a]
mov bl, 1
mov ecx, ebp
mov byte [esp + 0x28], bl
call fcn.00488940
push 0x104
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0x30], 2
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], bl
mov byte [esi + 0x22], bl
mov byte [esi + 0x23], bl
mov byte [esi + 0x24], bl
mov dword [esi + 0x2e], edi
mov dword [esi + 0x32], edi
mov dword [esi + 0x1c], edi
call fcn.0040d490
mov ecx, eax
mov byte [esp + 0x28], 3
call fcn.00489670
push eax
push edi
push edi
push 0x10
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00489940
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x475e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53ec00
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00475680
lea eax, [esp + 0xc]
push 0x114
push eax
call fcn.00488dc0
add esp, 8
mov ecx, dword [esi + 0xc]
xor eax, eax
lea edx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], 0x70
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], 0x475490
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, eax
test edi, edi
jne 0x475ee8
push eax
push eax
mov eax, dword [esi + 0xc]
push 0x14e
push 0x462
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x475f23
push 0x104
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x2a]
call fcn.0040d490
mov ecx, eax
mov byte [esp + 0x40], 1
call fcn.00489670
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.00489940
mov ecx, esi
call fcn.004754e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0xffffffff
call fcn.004884e0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret
Function at 0x476260
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x53ecc0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x5abaa4
call fcn.004886b0
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004757b0
mov ecx, dword [esp + 0x28]
push ecx
push 0
mov dword [esp + 0x28], 0
call fcn.00485f90
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x20], 1
je 0x476316
push esi
call fcn.004cf9f0
push esi
mov ebx, eax
call fcn.004cf9d0
add esp, 8
push 0x55bda4
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.00488510
push eax
call fcn.0051972c
mov edi, eax
add esp, 8
test edi, edi
je 0x476307
push edi
push 1
push ebp
push ebx
call fcn.005195e4
add esp, 0x10
push edi
call fcn.00519409
push esi
call fcn.004cf770
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.004884e0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x47a220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x220
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x21c], eax
mov edx, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x228]
lea eax, [esp + 0x20]
push 0x100
mov ecx, eax
push ecx
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x24], 0xffffffff
call fcn.004977c0
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jg 0x47a28c
xor eax, eax
pop edi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0051674d
add esp, 0x220
ret
mov eax, dword [edi + 0x54]
push esi
lea edx, [esp + 8]
push edx
push eax
mov esi, eax
lea ecx, [eax + 1]
mov eax, dword [edi + 0x30]
push 0x133e
shl esi, 4
push eax
add esi, edi
mov dword [edi + 0x54], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x234]
movzx ecx, di
push 5
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
call fcn.004977c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esp + 0x238]
mov ecx, dword [esp + 0x224]
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], edx
mov eax, esi
pop esi
pop edi
xor ecx, esp
call fcn.0051674d
add esp, 0x220
ret
Function at 0x47ce80
Capabilities:
Check os version

Disassembly:
push esi
xor esi, esi
cmp dword [0x5abd40], esi
jne 0x47cea0
push 0x5abd40
mov dword [0x5abd40], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x5abd50], 2
jne 0x47ceb7
cmp dword [0x5abd44], 6
mov eax, 1
jae 0x47ceb9
mov eax, esi
pop esi
ret

Function at 0x47cec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5a8cf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SOFTWAREApple_Computer__Inc.QuickTimeInstalled_File_Types_
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov edi, edx
mov dword [ebp - 0xc], ebx
call fcn.0047f5c0
add esp, 0x24
test eax, eax
jne 0x47cfb1
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx]
mov dword [ebp - 8], ebx
call fcn.00517aa0
mov edx, dword [ebp + 8]
mov ebx, esp
push edx
push ebx
call fcn.004d14b0
mov ecx, dword [ebp - 0xc]
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push ecx
call fcn.0047f5c0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x2c
test eax, eax
jne 0x47cfab
mov edx, dword [ebp - 8]
push 4
push edi
push 4
push 0
and esi, 0x53
push str.componentType
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edx
call esi
mov ecx, dword [ebp - 8]
push 4
lea eax, [edi + 4]
push eax
push 4
push 0
push str.componentSubType
push ecx
call esi
mov edx, dword [ebp - 8]
push 4
add edi, 8
push edi
push 4
push 0
push str.componentManufacturer
push edx
call esi
mov ecx, dword [ebp - 8]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.componentFlags
push ecx
call esi
mov edx, dword [ebp - 8]
push edx
call ebx
mov eax, dword [ebp - 0xc]
push eax
call ebx
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051674d
mov esp, ebp
pop ebp
ret
Function at 0x47d610
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
push esi
push 0x2001f
lea eax, [esp + 0x10]
push eax
xor esi, esi
push str.SOFTWAREApple_Computer__Inc.QuickTime
push SysReAllocStringLen
mov ebx, 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
call fcn.0047f7c0
add esp, 0x10
test eax, eax
je 0x47d6cd
mov eax, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push esi
push str.LastFileAssociationCheck
push eax
mov dword [esp + 0x24], 4
call edi
test eax, eax
jne 0x47d6cc
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push esi
push str.SOFTWAREApple_Computer__Inc.QuickTime
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0047f6a0
add esp, 0x14
test eax, eax
jne 0x47d6cc
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
push str.Version
push ecx
mov dword [esp + 0x24], 4
call edi
test eax, eax
jne 0x47d6cc
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x1c]
jne 0x47d6cc
xor ebx, ebx
pop edi
mov eax, dword [esp + 0xc]
push eax
call fcn.0047f7f0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0047f7f0
add esp, 8
pop esi
mov eax, ebx
pop ebx
add esp, 0x14
ret

Function at 0x47d6f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 0xc]
push eax
xor esi, esi
push 0x20019
push esi
push str.SOFTWAREApple_Computer__Inc.QuickTime
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
call fcn.0047f6a0
add esp, 0x14
test eax, eax
jne 0x47d791
mov eax, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push esi
push str.Version
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47d791
push 0x2001f
lea ecx, [esp + 0xc]
push ecx
push str.SOFTWAREApple_Computer__Inc.QuickTime
push SysReAllocStringLen
call fcn.0047f7c0
add esp, 0x10
test eax, eax
je 0x47d791
mov eax, dword [esp + 8]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push esi
push str.LastFileAssociationCheck
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call fcn.0047f7f0
mov edx, dword [esp + 0x10]
push edx
call fcn.0047f7f0
add esp, 8
pop esi
add esp, 0x10
ret
Function at 0x47dcc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x22c
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x228], eax
mov ecx, dword [str.QuickTime.]
mov edx, dword [0x55c674]
mov eax, dword [esp + 0x230]
mov dword [esp + 0xc], ecx
mov cx, word [0x55c678]
mov dword [esp + 0x10], edx
mov dl, byte [0x55c67a]
mov word [esp + 0x14], cx
mov ecx, dword [str.iTunes.]
mov byte [esp + 0x16], dl
mov edx, dword [0x55c66c]
mov dword [esp + 0x18], ecx
push ebx
lea ecx, [esp + 0x128]
mov dword [esp + 0x20], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x104
xor bl, bl
call fcn.0047cfe0
lea eax, [esp + 4]
push eax
push 0x2001f
push 0
lea ecx, [esp + 0x134]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0047f6a0
add esp, 0x14
test eax, eax
jne 0x47ddc5
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x557a34
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47ddc5
cmp dword [esp + 0xc], 1
jne 0x47ddc5
push 0xa
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00518b9d
add esp, 0xc
test eax, eax
je 0x47ddc3
test byte [esp + 0x238], 2
je 0x47ddc5
push 7
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00518b9d
add esp, 0xc
test eax, eax
jne 0x47ddc5
mov bl, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x47ddd4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0051674d
add esp, 0x22c
ret
Function at 0x47ee90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a8cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 8]
push ecx
xor ebx, ebx
push 0x2001f
push ebx
push str.SOFTWAREApple_Computer__Inc.QuickTimeInstalled_File_Types_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call fcn.0047f6a0
add esp, 0x14
test eax, eax
jne 0x47efe8
mov ecx, dword [ebp - 8]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x47efd7
mov eax, dword [ebp - 0x10]
add eax, 1
call fcn.00517aa0
mov edi, dword [ebp - 0x14]
add edi, 0xffffffff
cmp edi, ebx
mov esi, esp
jl 0x47efd7
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
add eax, 1
push eax
push esi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x47efbb
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x2001f
push ebx
push esi
push ecx
call fcn.0047f6a0
add esp, 0x14
test eax, eax
jne 0x47efbb
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push str.componentFlags
push ecx
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [ebp - 0x20]
and ebx, 0x53
or ebx, dword [ebp + 0xc]
test bl, 0x10
je 0x47efa8
push esi
call fcn.004d1450
push ebx
lea edx, [ebp - 0x18]
push edx
push esi
call fcn.0047ebf0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
add esp, 0x10
test ecx, ecx
je 0x47efa3
cmp eax, 1
sete dl
mov byte [ecx], dl
cmp eax, 1
jne 0x47efd5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
xor ebx, ebx
sub edi, 1
jns 0x47ef19
mov ecx, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov dword [ebp - 8], ebx
jmp 0x47efee
xor ebx, ebx
mov ecx, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov dword [ebp - 8], ebx
jmp 0x47efee
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x47eff8
push eax
call esi
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x47f002
push eax
call esi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051674d
mov esp, ebp
pop ebp
ret
Function at 0x47f0e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x238
mov eax, dword [0x5a8cf0]
xor eax, esp
mov dword [esp + 0x234], eax
push edi
xor edi, edi
push 0x104
lea eax, [esp + 0x35]
push edi
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov byte [esp + 0x3c], 0
call fcn.00516810
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push edi
push str.SOFTWAREApple_Computer__Inc.QuickTimeInstalled_File_Types_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0047f6a0
add esp, 0x20
test eax, eax
jne 0x47f2a3
push ebx
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
lea edx, [esp + 0x34]
push edx
push edi
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x47f29b
push esi
mov esi, dword [esp + 0x1c]
add esi, 0xffffffff
cmp esi, edi
mov dword [esp + 0x18], esi
jl 0x47f29a
push ebp
lea ebp, [edi + 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x18]
push 0x105
lea ecx, [esp + 0x40]
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x47f28c
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push 0x2001f
push 0
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.0047f6a0
add esp, 0x14
test eax, eax
jne 0x47f28c
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push str.componentType
push edx
mov dword [esp + 0x28], ebp
call edi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push str.componentSubType
push edx
mov dword [esp + 0x28], ebp
call edi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push str.componentManufacturer
push edx
mov dword [esp + 0x28], ebp
call edi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push str.componentFlags
push edx
mov dword [esp + 0x28], ebp
call edi
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x148]
push ecx
and esi, 0x53
call fcn.004d1490
push 0
push esi
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0047f020
mov ecx, dword [esp + 0x2c]
add esp, 0x18
push ecx
call ebx
mov esi, dword [esp + 0x1c]
sub esi, 1
mov dword [esp + 0x1c], esi
jns 0x47f180
pop ebp
pop esi
mov edx, dword [esp + 0x10]
push edx
call ebx
pop ebx
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x238]
pop edi
xor ecx, esp
call fcn.0051674d
add esp, 0x238
ret