Function at 0x4bdbc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5032c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4bdc04
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push str.SOFTWAREAskPartnerNetworkToolbarComStorage
push eax
call fcn.0043ad30
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x50]
push 0x20019
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 1
call fcn.0043b290
or ebx, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x50]
jne 0x4bdee4
mov dword [ebp - 0x24], 0
lea ecx, [ecx]
mov dword [ebp - 0x1c], 0x104
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4bdbfa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test edi, edi
js 0x4bdfaa
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x4bdcc4
push edi
lea ecx, [ebp - 0x14]
call fcn.0043b5a0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x2c], edi
push dword [ecx - 8]
push ecx
call fcn.004d9e5f
mov edx, eax
add esp, 8
test edx, edx
js 0x4bdfaa
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ecx - 8]
jg 0x4bdfaa
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + edx*2], cx
test edi, edi
jne 0x4bdeb2
push 0x509c8c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004592f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004625b0
add esp, 0x18
mov edx, dword [ebp - 0x30]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4bdd64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0x20019
push dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043b290
test eax, eax
jne 0x4bde76
mov dword [ebp - 0x1c], 0x104
call fcn.0043ae40
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4bdbfa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
test edi, edi
js 0x4bdfaa
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x4bddee
push edi
lea ecx, [ebp - 0x18]
call fcn.0043b5a0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push str.PartnerID
lea ecx, [ebp - 0x44]
call fcn.0043d750
test eax, eax
mov eax, dword [ebp - 0x18]
sete byte [ebp - 0xd]
push dword [eax - 8]
push eax
call fcn.004d9e5f
mov edx, eax
add esp, 8
test edx, edx
js 0x4bdfaa
mov ecx, dword [ebp - 0x18]
cmp edx, dword [ecx - 8]
jg 0x4bdfaa
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
mov word [eax + edx*2], cx
cmp byte [ebp - 0xd], cl
je 0x4bde53
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0044dc90
add esp, 8
test al, al
jne 0x4bdf23
mov edx, dword [ebp - 0x18]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4bde73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4bde8b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x28]
mov ecx, ebx
add edx, 0xfffffff0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4bdeb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, ebx
inc dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4bded5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0x103
jne 0x4bdc70
mov eax, dword [ebp - 0x50]
xor edi, edi
test eax, eax
je 0x4bdef1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4bdf0f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.0043a620
mov edx, dword [ebp - 0x18]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4bdf4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4bdf5d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x28]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4bdf7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4bdf9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x50]
mov edi, 1
jmp 0x4bdee6
push 0x80070057
call fcn.0043a9b0
int3