Function at 0x1289da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x12fceb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x714]
push edi
mov edi, dword [ebp + 0xc]
push eax
push 1
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
je 0x1289e18
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x1289e05
push ebx
push esi
push str.Cant_open_registry_key___ls___error__d_n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push 0
push 2
push eax
call fcn.012952b0
add esp, 0x20
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01271180
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x708]
mov dword [ebp - 0x710], 0x100
push eax
lea eax, [ebp - 0x704]
mov dword [ebp - 0x708], 0x400
push eax
lea eax, [ebp - 0x70c]
mov dword [ebp - 0x718], 1
push eax
push 0
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x304]
push eax
push 0
push dword [ebp - 0x714]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
cmp esi, 0x103
je 0x128a0e0
test esi, esi
jne 0x128a20c
mov eax, dword [ebp - 0x70c]
cmp eax, 1
je 0x1289ec7
cmp eax, 2
je 0x1289ec7
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a07d
push dword [ebp - 0x70c]
push str.skipped_type__d_n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push esi
push 2
push eax
call fcn.012952b0
add esp, 0x1c
jmp 0x128a07d
push str.D:_tinderbox_add_7.0_srcVBoxAdditionsWINNTVBoxTrayVBoxLA.cpp
push 0
lea eax, [ebp - 0x104]
mov dword [ebp - 0x71c], eax
lea eax, [ebp - 0x71c]
push 0x100
push eax
lea eax, [ebp - 0x304]
push 0x100
push eax
call fcn.01298ce0
mov esi, eax
add esp, 0x18
test esi, esi
jns 0x1289f24
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a07d
push esi
lea ecx, [ebp - 0x304]
push ecx
push str.RTUtf16ToUtf8Ex_for___ls__rc__Rrc_n
jmp 0x128a066
push 7
lea eax, [ebp - 0x104]
push str.Command
push eax
call fcn.0129a200
add esp, 0xc
test eax, eax
je 0x1289f78
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a07d
lea ecx, [ebp - 0x104]
push ecx
push str.skipped_prefix__s_n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push 0
push 2
push eax
call fcn.012952b0
add esp, 0x1c
jmp 0x128a07d
lea eax, [ebp - 0xfd]
push eax
call fcn.01299530
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1289fc6
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a07d
lea ecx, [ebp - 0x104]
push ecx
push str.skipped_index__s_n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push ebx
push 2
push eax
call fcn.012952b0
add esp, 0x1c
jmp 0x128a07d
mov eax, dword [ebp - 0x708]
add eax, 0x10
push str.D:_tinderbox_add_7.0_srcVBoxAdditionsWINNTVBoxTrayVBoxLA.cpp
push eax
call fcn.01295540
mov esi, eax
add esp, 8
test esi, esi
je 0x128a1db
push 8
push 0
push esi
call sym.VBoxTray.exe_nocrt_memset
mov dword [esi + 8], ebx
lea ecx, [ebp - 0x704]
push dword [ebp - 0x708]
lea eax, [esi + 0xc]
push ecx
push eax
call sym.VBoxTray.exe_nocrt_memcpy
mov eax, dword [ebp - 0x708]
xor ecx, ecx
shr eax, 1
add esp, 0x18
mov word [esi + eax*2 + 0xc], cx
mov eax, dword [edi + 4]
cmp eax, edi
je 0x128a03f
mov ecx, dword [edi]
cmp ecx, edi
je 0x128a03f
lea esp, [esp]
cmp dword [ecx + 8], ebx
ja 0x128a1c6
mov ecx, dword [ecx]
cmp ecx, edi
jne 0x128a030
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [esi], edi
mov dword [edi + 4], esi
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a07d
lea ecx, [esi + 0xc]
push ecx
push dword [esi + 8]
push str.added__d__ls_n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push 0
push 2
push eax
call fcn.012952b0
add esp, 0x20
mov ecx, dword [ebp - 0x718]
mov eax, ecx
inc ecx
mov dword [ebp - 0x710], 0x100
mov dword [ebp - 0x718], ecx
lea ecx, [ebp - 0x708]
push ecx
lea ecx, [ebp - 0x704]
mov dword [ebp - 0x708], 0x400
push ecx
lea ecx, [ebp - 0x70c]
push ecx
push 0
lea ecx, [ebp - 0x710]
push ecx
lea ecx, [ebp - 0x304]
push ecx
push eax
push dword [ebp - 0x714]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
cmp esi, 0x103
jne 0x1289e77
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a10a
push str.Enumeration_exhausted_n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push 0
push 2
push eax
call fcn.012952b0
add esp, 0x18
mov ebx, 1
push dword [ebp - 0x714]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [edi]
cmp esi, edi
je 0x128a158
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a152
lea ecx, [esi + 0xc]
push ecx
push dword [esi + 8]
push str.__u_:___ls__n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push 0
push 2
push eax
call fcn.012952b0
add esp, 0x20
mov esi, dword [esi]
cmp esi, edi
jne 0x128a121
test ebx, ebx
jne 0x128a188
mov ecx, dword [edi]
cmp ecx, edi
je 0x128a188
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
push ecx
mov dword [eax], esi
mov dword [esi + 4], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.01295580
mov ecx, esi
add esp, 4
cmp ecx, edi
jne 0x128a162
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a1b3
push ebx
push str.action_enum__d_n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push 0
push 2
push eax
call fcn.012952b0
add esp, 0x1c
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01271180
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
mov dword [eax], esi
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [ecx + 4], esi
jmp 0x128a04c
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a205
push str.RTMemAlloc_failed_n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push 0
push 2
push eax
call fcn.012952b0
add esp, 0x18
xor ebx, ebx
jmp 0x128a10f
push 2
call fcn.01294390
add esp, 4
test eax, eax
je 0x128a237
push esi
push str.Enumeration_failed__error__d_n
push str.int___cdecl_ActionExecutorEnumerateRegistryKey_const_unsigned_short__struct_RTLISTNODE__
push str._Rfn:__M
push 0
push 2
push eax
call fcn.012952b0
add esp, 0x1c
xor ebx, ebx
jmp 0x128a10f