Function at 0x416811
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c8b92
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x517774]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517774]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1c8]
push ebp
push str.IsThirdPartyBucketInstalled__s__n
xor ebx, ebx
push 0x519518
mov edi, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], ebx
call fcn.00427473
push 0x103
lea eax, [esp + 0xc1]
push ebx
push eax
mov byte [esp + 0xc8], bl
call fcn.00497680
mov edx, dword [edi + 0x104]
add esp, 0x18
push 0x104
lea ecx, [esp + 0xb4]
push ecx
push str.BucketRegValue
push ebp
push edx
lea ecx, [edi + 0x320]
call fcn.0042d192
test eax, eax
je 0x416c54
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xb8]
push edx
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
call fcn.00411b90
test eax, eax
jne 0x416c54
cmp dword [esp + 0x2c], ebx
je 0x416c54
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x416c54
push esi
push str.HrIdentifyRegistryRootKey_returned_subkey_s
push 0x20
push 0x519518
call fcn.00402450
mov ebp, 0xf
add esp, 0x10
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov dword [esp + 0x1c0], ebx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
push esi
lea ecx, [esp + 0x60]
mov byte [esp + 0x1c4], 1
call fcn.00402a30
push ebx
push 0x4d7bbc
lea ecx, [esp + 0x64]
mov byte [esp + 0x1c8], 2
call fcn.00405130
mov esi, eax
cmp esi, 0xffffffff
je 0x416902
push esi
push ebx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x68]
call fcn.00414db0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x1cc], 3
call fcn.00402080
lea ecx, [esp + 0x94]
mov byte [esp + 0x1c0], 2
call fcn.00401da0
mov ecx, dword [esp + 0x70]
push ecx
add esi, 2
push esi
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x68]
call fcn.00414db0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1cc], 4
call fcn.00402080
lea ecx, [esp + 0x94]
mov byte [esp + 0x1c0], 2
call fcn.00401da0
jmp 0x416916
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x84]
call fcn.00402080
lea ecx, [esp + 0xb0]
push ecx
push str.BucketRegValue_found_s
push 0x20
push 0x519518
call fcn.00402450
mov eax, dword [esp + 0x8c]
mov esi, 0x10
add esp, 0x10
cmp dword [esp + 0x90], esi
jae 0x41694b
lea eax, [esp + 0x7c]
push ebx
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.00429833
add esp, 0x18
test eax, eax
jne 0x416bf9
cmp dword [esp + 0x54], ebx
je 0x416bce
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], 0x104
mov dword [esp + 0xac], ebp
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov ebp, dword [esp + 0x34]
push 0x104
lea ecx, [esp + 0xb4]
push ecx
push str.BucketRegVersion
push ebp
mov ecx, edi
mov byte [esp + 0x1d0], 5
mov byte [esp + 0xc0], bl
call fcn.00410d50
test eax, eax
lea eax, [esp + 0xb0]
je 0x416afb
lea edx, [esp + 0x24]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.00402a30
mov ecx, edi
call fcn.00416590
cmp eax, ebx
jne 0x416a19
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xb4]
push 0x4d7b8c
push edx
call fcn.00498db7
add esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x58], esi
jae 0x416a2f
lea eax, [esp + 0x44]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x30]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push eax
mov eax, dword [esp + 0x28]
push eax
call esi
cmp eax, ebx
jne 0x416ae7
mov eax, dword [esp + 0x1c]
cmp eax, 4
jne 0x416a83
cmp dword [esp + 0x58], 0x10
mov eax, dword [esp + 0x44]
jae 0x416a69
lea eax, [esp + 0x44]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push ebx
push eax
push edx
call esi
jmp 0x416ad8
cmp eax, 1
jne 0x416ad8
cmp dword [esp + 0x58], 0x10
mov eax, dword [esp + 0x44]
jae 0x416a97
lea eax, [esp + 0x44]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xb4]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push ebx
push eax
push edx
call esi
test eax, eax
jne 0x416ad8
lea eax, [esp + 0x20]
push eax
sub esp, 0x1c
lea edx, [esp + 0xd0]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00402a30
mov ecx, edi
call fcn.00416590
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x24]
sbb eax, eax
inc eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push edx
push str.BucketRegVersion_d_and_version_from_registry_d
jmp 0x416b9c
push 0x104
push eax
push str.BucketRegData
push ebp
mov ecx, edi
call fcn.00410d50
test eax, eax
je 0x416bab
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x60]
call fcn.00407f30
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], esi
jae 0x416b35
lea eax, [esp + 0x44]
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x44]
push edx
push ebx
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416b80
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], esi
jae 0x416b66
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xb4]
push ecx
call fcn.00497f5d
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], esi
jae 0x416b8e
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0xb4]
push edx
push str.BucketRegData_d_and_value_data_from_registry_d
push 0x20
push 0x519518
call fcn.00402450
add esp, 0x14
lea ecx, [esp + 0x94]
mov byte [esp + 0x1c0], 2
call fcn.00401da0
mov eax, dword [esp + 0x14]
push eax
call fcn.00429cef
add esp, 4
jmp 0x416c1f
push str.Bucket_is_already_installed.__Only_BucketRegKey_was_specified_in_dat_file.
push 0x20
push 0x519518
call fcn.00402450
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
mov dword [esp + 0x1c], 1
call fcn.00429cef
add esp, 4
jmp 0x416c1f
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x90], esi
jae 0x416c0a
lea eax, [esp + 0x7c]
push eax
push str.Could_not_open_BucketRegValue:__s
push 0x20
push 0x519518
call fcn.00402450
add esp, 0x10
lea ecx, [esp + 0x5c]
call fcn.00401da0
lea ecx, [esp + 0x78]
call fcn.00401da0
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00401da0
mov ebp, dword [esp + 0x34]
mov eax, 0x4d7a9c
cmp dword [esp + 0x18], ebx
jne 0x416c59
mov eax, str.is_NOT
push eax
push ebp
push str.Third_party_bucket___s___s_already_installed
push 0x20
push 0x519518
call fcn.00402450
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.004974ba
add esp, 0x1b0
ret 4