Function at 0x101561c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x428], 1
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x424], edi
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1015621a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2f
call fcn.10003680
add esp, 4
test eax, eax
je 0x10156239
lea ecx, [ebp - 0x420]
push ecx
push str.SOFTWAREMicrosoftInternet_ExplorerToolbar
push ebx
call eax
jmp 0x1015624c
lea eax, [ebp - 0x420]
push eax
push str.SOFTWAREMicrosoftInternet_ExplorerToolbar
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, eax
test esi, esi
je 0x10156259
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
test ebx, ebx
jne 0x1015658a
mov dword [ebp - 0x41c], ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
mov ebx, dword [ebp - 0x420]
add esp, 0xc
mov dword [ebp - 0x418], 0x104
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x101562a6
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3f
call fcn.10003680
add esp, 4
push 0
push 0
push 0
push 0
test eax, eax
je 0x101562d5
lea ecx, [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push dword [ebp - 0x41c]
push ebx
call eax
jmp 0x101562f0
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x41c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test esi, esi
je 0x101562fd
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x10156547
cmp word [ebp - 0x20c], 0x7b
jne 0x1015653c
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x424]
push str.CLSID_sInprocServer32
push eax
call fcn.10002cb0
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call sub.msvcrt.dll_memset
mov edi, dword [ebp - 0x424]
lea eax, [ebp - 0x418]
add esp, 0x18
mov dword [ebp - 0x418], 0x208
push 0x20219
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x10202940
push edi
push SysReAllocString
call fcn.100585c0
test eax, eax
jne 0x1015653c
mov eax, dword [ebp - 0x428]
cmp eax, 1
je 0x10156396
cmp eax, 2
jne 0x1015653c
push 0x650
call sub.msvcrt.dll_malloc
mov ebx, eax
add esp, 4
mov dword [ebp - 0x440], ebx
test ebx, ebx
je 0x10156547
push 0x650
push 0
push ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x434]
lea esi, [ebp - 0x20c]
mov dword [ebx + 4], 0x20
add esp, 0xc
mov dword [ebx + 0x624], eax
mov edx, 0x104
lea eax, [ebx + 8]
mov dword [ebx + 0x628], 0x10205fa0
sub esi, eax
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x10156410
movzx ecx, word [esi + eax]
test cx, cx
je 0x10156410
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x101563f0
jmp 0x10156414
test edx, edx
jne 0x10156417
sub eax, 2
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x42c]
call fcn.10002490
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.101565c0
lea ecx, [ebx + 0x210]
mov edx, 0x104
mov esi, dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10156476
movzx eax, word [esi]
test ax, ax
je 0x10156476
mov word [ecx], ax
add esi, 2
add ecx, 2
sub edx, 1
jne 0x10156454
jmp 0x1015647a
test edx, edx
jne 0x1015647d
sub ecx, 2
xor eax, eax
or esi, 0xffffffff
mov word [ecx], ax
mov eax, esi
mov edx, dword [ebp - 0x438]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101564a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101564bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [ebx + 0x210]
push esi
call fcn.1000aa00
add esp, 4
test eax, eax
je 0x10156533
push esi
call fcn.10154e30
mov ecx, dword [ebp - 0x430]
add esp, 4
mov dword [ebx + 0x620], eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], 0x20
push eax
lea ecx, [ecx + 4]
call fcn.101547d0
mov ecx, dword [eax + 4]
cmp dword [eax + 8], ecx
je 0x10156519
mov dword [ecx], ebx
add dword [eax + 4], 4
inc dword [ebp - 0x41c]
jmp 0x1015626a
lea edx, [ebp - 0x440]
push edx
push ecx
mov ecx, eax
call fcn.100cc490
inc dword [ebp - 0x41c]
jmp 0x1015626a
push ebx
call sub.msvcrt.dll_free
add esp, 4
inc dword [ebp - 0x41c]
jmp 0x1015626a
mov ebx, dword [ebp - 0x420]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10156563
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x44
call fcn.10003680
add esp, 4
push ebx
test eax, eax
je 0x10156576
call eax
jmp 0x1015657c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10156587
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1015659f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 4