Function at 0x10043800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x100bb300]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x88], 0
push esi
push edi
mov dword [esp + 0x10], ebx
je 0x10043ab3
mov eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov ecx, 0xd
mov esi, 0x100ac684
lea edi, [esp + 0x34]
lea eax, [esp + 0x28]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x100ac6b8
lea eax, [esp + 0x44]
push eax
push reloc.OLEAUT32.DLL_SysReAllocString
mov dword [esp + 0x2c], 0
call dword [sym.imp.SHLWAPI.DLL_SHGetValueW]
cmp dword [esp + 0x14], 1
je 0x10043ab3
lea esi, [esp + 0x2c]
call fcn.100437a0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10043a82
push 1
sub esp, 8
mov esi, esp
lea edi, [ebx + 0x188]
mov dword [esi], 0
mov dword [esi + 4], 0
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], edi
call fcn.1005bee0
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x28]
push ecx
push eax
call edx
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
push ecx
mov esi, edi
call fcn.1005bee0
lea eax, [esp + 0x1c]
call fcn.1005bea0
sub esp, 8
mov esi, esp
mov dword [esi], 0
mov dword [esi + 4], 0
mov edx, dword [edi]
mov ebx, dword [edi + 4]
push edx
call fcn.1005bee0
mov esi, dword [esp + 0x18]
push esi
call fcn.10044240
mov eax, dword [0x100bc66c]
mov ebx, 0x100ac6cc
lea edi, [esp + 0xc]
mov dword [esp + 0x1c], eax
call fcn.100036f0
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx]
mov ebx, dword [esp + 0xc]
test edi, edi
je 0x100439b0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x72]
push eax
mov word [esp + 0x74], dx
call fcn.10087b80
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
add esp, 0xc
push 0x104
lea edx, [esp + 0x6c]
push edx
push edi
call eax
mov ecx, dword [0x100bc66c]
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x10], ecx
push ebx
push 0x100ac6e0
lea ecx, [esp + 0x18]
call fcn.10001df0
add esp, 0xc
push 0x100a7638
call fcn.1003fc60
mov ecx, dword [esp + 0x10]
push eax
mov edx, 0x100a7638
mov eax, 0x100a99b8
call fcn.10006000
lea esi, [esp + 0xc]
call fcn.100072c0
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x100439c4
push 0x80004003
call fcn.100830f0
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0xf0]
mov dword [esp + 0x18], 0
call eax
cmp dword [esp + 0x10], 0
jle 0x10043a1b
mov eax, dword [esi + 0x88]
test eax, eax
je 0x100439fc
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0
push 0x10000000
push eax
call edx
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x10043a10
push 0x80004003
call fcn.100830f0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x110]
push eax
call edx
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x10043a2f
push 0x80004003
call fcn.100830f0
mov eax, dword [esi]
mov ecx, dword [eax + 0x9c]
push 1
push esi
call ecx
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
lea edx, [ebx - 0xc]
cmp edx, 0x100bc65c
je 0x10043a60
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x10043a60
push esi
call fcn.1008441c
add esp, 4
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 0xc]
cmp ecx, 0x100bc65c
je 0x10043a82
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x10043a82
push esi
call fcn.1008441c
add esp, 4
mov esi, dword [esp + 0x30]
test esi, esi
je 0x10043ab3
lea edx, [esi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x10043ab3
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10043ab3
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10083dbb
mov esp, ebp
pop ebp
ret