Function at 0x10034cd9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3750]
mov eax, 0x3750
call fcn.1003b530
push 0xffffffffffffffff
push 0x100547a2
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.1003887a
pop ecx
mov esi, 0x7d0
cmp eax, esi
jae 0x100351e8
push esi
push ebx
lea eax, [ebp + 0x2f7c]
push eax
call fcn.10038800
push 0xfa0
push ebx
lea eax, [ebp + 0x1fdc]
push eax
call fcn.10038800
push edi
lea eax, [ebp + 0x1fdc]
push eax
call fcn.1003ae7a
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 0x10059840
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.100378f0
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 0x10059404
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.10038800
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100380e0
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.10038800
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.10038800
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.10038eb5
pop ecx
pop ecx
test eax, eax
jne 0x10034fa4
lea eax, [ebp + 0x180c]
push eax
lea eax, [ebp + 0x2f7c]
push eax
call fcn.10037fe0
pop ecx
pop ecx
push 0x3f
lea eax, [ebp + 0x2f7c]
push eax
call fcn.100378f0
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.10037fe0
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 0x10056828
push 4
push ebx
push 0x10056848
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.10039430
pop ecx
pop ecx
mov edi, eax
cmp edi, ebx
je 0x100351e8
inc edi
mov dword [ebp - 0x1c], edi
push 0x10059400
push edi
call fcn.100379b0
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.100380e0
pop ecx
mov edi, eax
push edi
push dword [ebp - 0x1c]
push esi
call fcn.1003c1e6
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 0x100588c0
push esi
call fcn.100379f0
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.1003c1e6
add esp, 0xc
test eax, eax
je 0x10035140
push 0x10055e40
push esi
call fcn.100379f0
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.100380e0
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.1003bf3b
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.10037e67
add ebp, 0x3750
leave
ret 0xc