Function at 0x10034cd9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3750]
mov eax, 0x3750
call fcn.1003b5e0
push 0xffffffffffffffff
push 0x10054852
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.1003892a
pop ecx
mov esi, 0x7d0
cmp eax, esi
jae 0x100351e8
push esi
push ebx
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100388b0
push 0xfa0
push ebx
lea eax, [ebp + 0x1fdc]
push eax
call fcn.100388b0
push edi
lea eax, [ebp + 0x1fdc]
push eax
call fcn.1003af2a
add esp, 0x20
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x1d], bl
cmp dword [ebp - 0x1c], ebx
je 0x10034df5
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 0x10034de8
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 0x10034de8
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 0x10034de2
mov byte [ebp - 0x1d], 1
jmp 0x10034de8
mov eax, dword [ebp]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.1001e586
jmp 0x10034e02
mov eax, dword [ebp + 0x3760]
cmp eax, ebx
je 0x10034e07
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x1d], bl
jne 0x10034e4c
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 0x10034e4c
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 0x100351e8
push 0x25
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100379a0
pop ecx
pop ecx
test eax, eax
je 0x10034fa4
lea eax, [ebp + 0x2f7c]
push eax
call fcn.10034c82
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 0x10034eaf
push 0x100593b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10034ea6
push 0x2100000
push ebx
push ebx
lea ecx, [ebp + 0x2f7c]
push ecx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10034ec9
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 0x10034fa4
mov dword [ebp - 0x30], esi
mov edi, 0xfa0
push edi
push ebx
lea eax, [ebp + 0x1fdc]
push eax
call fcn.100388b0
lea eax, [ebp + 0x2f7c]
push eax
call fcn.10038190
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.10034a72
add esp, 0x20
test eax, eax
jne 0x10034fa4
push esi
push ebx
lea eax, [ebp + 0x180c]
push eax
call fcn.100388b0
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 0x10034fa4
push edi
push ebx
lea eax, [ebp + 0x6c]
push eax
call fcn.100388b0
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 0x10034fa4
lea eax, [ebp + 0x1fdc]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.10038f65
pop ecx
pop ecx
test eax, eax
jne 0x10034fa4
lea eax, [ebp + 0x180c]
push eax
lea eax, [ebp + 0x2f7c]
push eax
call fcn.10038090
pop ecx
pop ecx
push 0x3f
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100379a0
pop ecx
pop ecx
test eax, eax
jne 0x100351e8
mov byte [ebp - 0x12], bl
cmp dword [0x1006a458], ebx
je 0x1003507c
cmp byte [0x10069c49], bl
je 0x10034fef
mov byte [ebp - 0x12], 1
push 0x10069c4a
lea eax, [ebp + 0x100c]
push eax
call fcn.10038090
pop ecx
pop ecx
jmp 0x100350d8
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 0x10035066
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10035066
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 0x10035066
cmp dword [ebp - 0x18], ebx
je 0x10035066
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 0x1003505d
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 0x100350d8
cmp dword [0x10069bc4], ebx
jne 0x100350ab
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 0x100351e8
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 0x100351e8
mov byte [ebp - 0x11], 1
push 0x2e
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100394e0
pop ecx
pop ecx
mov edi, eax
cmp edi, ebx
je 0x100351e8
inc edi
mov dword [ebp - 0x1c], edi
push 0x100593b0
push edi
call fcn.10037a60
pop ecx
pop ecx
test eax, eax
jne 0x100351e8
lea esi, [ebp + 0x100c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], ebx
push edi
call fcn.10038190
pop ecx
mov edi, eax
push edi
push dword [ebp - 0x1c]
push esi
call fcn.1003c298
add esp, 0xc
test eax, eax
jne 0x10035149
mov al, byte [edi + esi]
cmp al, 0x20
je 0x10035140
cmp al, bl
jne 0x10035149
mov dword [ebp - 0x18], 1
jmp 0x10035190
push 0x10058870
push esi
call fcn.10037aa0
pop ecx
pop ecx
cmp eax, ebx
je 0x10035174
lea ecx, [edi + esi]
cmp ecx, eax
jbe 0x10035174
sub eax, esi
push eax
push dword [ebp - 0x1c]
push esi
call fcn.1003c298
add esp, 0xc
test eax, eax
je 0x10035140
push 0x10055e50
push esi
call fcn.10037aa0
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, ebx
je 0x10035190
inc esi
mov dword [ebp - 0x2c], esi
jne 0x10035124
cmp byte [ebp - 0x11], bl
je 0x100351d9
cmp dword [ebp - 0x18], ebx
jne 0x100351d9
mov esi, dword [ebp - 0x1c]
push esi
call fcn.10038190
pop ecx
cmp eax, 4
jae 0x100351d9
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
cmp al, bl
je 0x100351c8
movsx eax, al
push eax
call fcn.1003bfed
pop ecx
test eax, eax
je 0x100351d9
inc dword [ebp - 0x28]
jmp 0x100351ac
mov al, 1
cmp al, bl
je 0x100351d9
mov byte [esi - 1], bl
mov byte [ebp - 0x11], bl
jmp 0x100350dc
mov eax, dword [ebp - 0x18]
jmp 0x100351ea
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.10037f17
add ebp, 0x3750
leave
ret 0xc