Function at 0x10034ce7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3750]
mov eax, 0x3750
call fcn.1003b5f0
push 0xffffffffffffffff
push 0x10054872
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10068510]
xor eax, ebp
mov dword [ebp + 0x374c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x3758]
mov eax, dword [ebp + 0x375c]
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push edi
call fcn.1003893a
pop ecx
mov esi, 0x7d0
cmp eax, esi
jae 0x100351f6
push esi
push ebx
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100388c0
push 0xfa0
push ebx
lea eax, [ebp + 0x1fdc]
push eax
call fcn.100388c0
push edi
lea eax, [ebp + 0x1fdc]
push eax
call fcn.1003af3a
add esp, 0x20
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x1d], bl
cmp dword [ebp - 0x1c], ebx
je 0x10034e03
lea ecx, [ebp - 0x18]
call fcn.10005ad2
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
push 0x10055474
push 0x17
push ebx
push 0x10059814
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10034df6
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x10034df6
mov eax, dword [ebp + 4]
mov dword [ebp - 0x24], eax
push ebx
push ebx
push esi
lea ecx, [ebp + 0x2f7c]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp + 0x1fdc]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x10034df0
mov byte [ebp - 0x1d], 1
jmp 0x10034df6
mov eax, dword [ebp]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.1001e586
jmp 0x10034e10
mov eax, dword [ebp + 0x3760]
cmp eax, ebx
je 0x10034e15
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x1d], bl
jne 0x10034e5a
push ebx
push ebx
push esi
lea eax, [ebp + 0x2f7c]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x1fdc]
push eax
push ebx
push dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call edi
test eax, eax
jne 0x10034e5a
mov dword [ebp - 0x24], ebx
push ebx
push ebx
push esi
lea eax, [ebp + 0x2f7c]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x1fdc]
push eax
push ebx
push ebx
call edi
test eax, eax
je 0x100351f6
push 0x25
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100379b0
pop ecx
pop ecx
test eax, eax
je 0x10034fb2
lea eax, [ebp + 0x2f7c]
push eax
call fcn.10034c8e
mov byte [ebp - 0x11], al
mov dword [esp], str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10034ebd
push 0x100593b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10034eb4
push 0x2100000
push ebx
push ebx
lea ecx, [ebp + 0x2f7c]
push ecx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10034ed7
mov dword [ebp - 0x1c], esi
push 0x30000000
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x2f7c]
push eax
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
cmp byte [ebp - 0x11], bl
je 0x10034fb2
mov dword [ebp - 0x30], esi
mov edi, 0xfa0
push edi
push ebx
lea eax, [ebp + 0x1fdc]
push eax
call fcn.100388c0
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100381a0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0x1fdc]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x2f7c]
push eax
call fcn.10034a7e
add esp, 0x20
test eax, eax
jne 0x10034fb2
push esi
push ebx
lea eax, [ebp + 0x180c]
push eax
call fcn.100388c0
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp + 0x180c]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x1fdc]
push eax
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x10034fb2
push edi
push ebx
lea eax, [ebp + 0x6c]
push eax
call fcn.100388c0
add esp, 0xc
push esi
lea eax, [ebp + 0x6c]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x180c]
push eax
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x10034fb2
lea eax, [ebp + 0x1fdc]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.10038f75
pop ecx
pop ecx
test eax, eax
jne 0x10034fb2
lea eax, [ebp + 0x180c]
push eax
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100380a0
pop ecx
pop ecx
push 0x3f
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100379b0
pop ecx
pop ecx
test eax, eax
jne 0x100351f6
mov byte [ebp - 0x12], bl
cmp dword [0x1006a458], ebx
je 0x1003508a
cmp byte [0x10069c49], bl
je 0x10034ffd
mov byte [ebp - 0x12], 1
push 0x10069c4a
lea eax, [ebp + 0x100c]
push eax
call fcn.100380a0
pop ecx
pop ecx
jmp 0x100350e6
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x1c]
call fcn.10005ad2
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
push 0x10056838
push 4
push ebx
push 0x10056858
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x10035074
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10035074
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x20]
cmp eax, ebx
jne 0x10035074
cmp dword [ebp - 0x18], ebx
je 0x10035074
push ebx
push ebx
push 0x800
lea eax, [ebp + 0x100c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x1003506b
mov byte [ebp - 0x12], 1
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.1001e586
cmp byte [ebp - 0x12], bl
jne 0x100350e6
cmp dword [0x10069bc4], ebx
jne 0x100350b9
push ebx
push 0x10069bc4
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareDownloadManager_
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100351f6
mov dword [ebp - 0x38], 0x800
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x100c]
push eax
push ebx
push ebx
push str.Extensions
push dword [0x10069bc4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100351f6
mov byte [ebp - 0x11], 1
push 0x2e
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100394f0
pop ecx
pop ecx
mov edi, eax
cmp edi, ebx
je 0x100351f6
inc edi
mov dword [ebp - 0x1c], edi
push 0x100593b0
push edi
call fcn.10037a70
pop ecx
pop ecx
test eax, eax
jne 0x100351f6
lea esi, [ebp + 0x100c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], ebx
push edi
call fcn.100381a0
pop ecx
mov edi, eax
push edi
push dword [ebp - 0x1c]
push esi
call fcn.1003c2a6
add esp, 0xc
test eax, eax
jne 0x10035157
mov al, byte [edi + esi]
cmp al, 0x20
je 0x1003514e
cmp al, bl
jne 0x10035157
mov dword [ebp - 0x18], 1
jmp 0x1003519e
push 0x10058870
push esi
call fcn.10037ab0
pop ecx
pop ecx
cmp eax, ebx
je 0x10035182
lea ecx, [edi + esi]
cmp ecx, eax
jbe 0x10035182
sub eax, esi
push eax
push dword [ebp - 0x1c]
push esi
call fcn.1003c2a6
add esp, 0xc
test eax, eax
je 0x1003514e
push 0x10055e50
push esi
call fcn.10037ab0
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, ebx
je 0x1003519e
inc esi
mov dword [ebp - 0x2c], esi
jne 0x10035132
cmp byte [ebp - 0x11], bl
je 0x100351e7
cmp dword [ebp - 0x18], ebx
jne 0x100351e7
mov esi, dword [ebp - 0x1c]
push esi
call fcn.100381a0
pop ecx
cmp eax, 4
jae 0x100351e7
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
cmp al, bl
je 0x100351d6
movsx eax, al
push eax
call fcn.1003bffb
pop ecx
test eax, eax
je 0x100351e7
inc dword [ebp - 0x28]
jmp 0x100351ba
mov al, 1
cmp al, bl
je 0x100351e7
mov byte [esi - 1], bl
mov byte [ebp - 0x11], bl
jmp 0x100350ea
mov eax, dword [ebp - 0x18]
jmp 0x100351f8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x374c]
xor ecx, ebp
call fcn.10037f27
add ebp, 0x3750
leave
ret 0xc