Function at 0x4710f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2484
mov eax, dword fs:[0]
push eax
sub esp, 0x74c
mov eax, dword [0x530790]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x744], ecx
mov dword [ebp - 0x18], 0x207
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x744]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x508554
push 0x508560
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x744]
push eax
push 0x5085e8
push 0x104
mov ecx, dword [ebp - 0x744]
add ecx, 0x208
push ecx
call fcn.004282b0
add esp, 0x10
push 0x5085f0
mov ecx, dword [ebp - 0x744]
add ecx, 0x618
call fcn.00418770
push 0x5085f4
mov ecx, dword [ebp - 0x744]
add ecx, 0x620
call fcn.00418770
push 0x5085f8
mov ecx, dword [ebp - 0x744]
add ecx, 0x624
call fcn.00418770
push 0x5085fc
mov ecx, dword [ebp - 0x744]
add ecx, 0x62c
call fcn.00418770
push 0x508600
mov ecx, dword [ebp - 0x744]
add ecx, 0x630
call fcn.00418770
push 0x508604
mov ecx, dword [ebp - 0x744]
add ecx, 0x628
call fcn.00418770
mov edx, dword [ebp - 0x744]
push edx
lea ecx, [ebp - 0x14]
call fcn.004186a0
mov dword [ebp - 4], 0
push 0x508608
lea ecx, [ebp - 0x14]
call fcn.0041a8a0
lea eax, [ebp - 0x14]
push eax
call fcn.00427c70
add esp, 4
mov ecx, dword [ebp - 0x744]
push ecx
lea ecx, [ebp - 0x738]
call fcn.004186a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x738]
push edx
call fcn.00427c90
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x738]
call fcn.00419a70
call fcn.00427cc0
mov eax, dword [ebp - 0x744]
cmp dword [eax + 0x63c], 1
jne 0x4712c0
xor ecx, ecx
mov word [ebp - 0xe4], cx
push 0xc6
push 0
lea edx, [ebp - 0xe2]
push edx
call fcn.004ccbe0
add esp, 0xc
push 0x64
lea eax, [ebp - 0xe4]
push eax
call fcn.00471a30
add esp, 8
test eax, eax
je 0x4712c0
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 0x744]
add ecx, 0x618
call fcn.00418770
mov edx, dword [ebp - 0x744]
add edx, 0x61c
push edx
call fcn.00427ce0
add esp, 4
xor eax, eax
mov word [ebp - 0x2ec], ax
push 0x206
push 0
lea ecx, [ebp - 0x2ea]
push ecx
call fcn.004ccbe0
add esp, 0xc
push 0x508624
mov edx, dword [ebp - 0x744]
push edx
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0x73c]
push edx
call fcn.00469130
add esp, 8
mov dword [ebp - 0x748], eax
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x74c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74c]
push ecx
mov ecx, dword [ebp - 0x744]
add ecx, 0x620
call fcn.00418750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x73c]
call fcn.00419a70
lea edx, [ebp - 0x2ec]
push edx
lea eax, [ebp - 0x740]
push eax
call fcn.00470d90
add esp, 8
mov dword [ebp - 0x750], eax
mov ecx, dword [ebp - 0x750]
mov dword [ebp - 0x754], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x754]
push edx
mov ecx, dword [ebp - 0x744]
add ecx, 0x634
call fcn.00418750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x740]
call fcn.00419a70
xor eax, eax
mov word [ebp - 0x4f4], ax
push 0x206
push 0
lea ecx, [ebp - 0x4f2]
push ecx
call fcn.004ccbe0
add esp, 0xc
push 0x508638
mov edx, dword [ebp - 0x744]
push edx
lea eax, [ebp - 0x4f4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x4f4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47152f
lea edx, [ebp - 0x4f4]
push edx
push 0x3e8
push 0x3e8
mov ecx, dword [ebp - 0x744]
add ecx, 0x624
call fcn.004197d0
push eax
push 0x508650
push 0x508658
push 0x50866c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x744]
add ecx, 0x624
call fcn.00419670
lea eax, [ebp - 0x4f4]
push eax
push 0x3e8
push 0x3e8
mov ecx, dword [ebp - 0x744]
add ecx, 0x62c
call fcn.004197d0
push eax
push 0x508674
push str.channel
push 0x508688
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x744]
add ecx, 0x62c
call fcn.00419670
lea ecx, [ebp - 0x4f4]
push ecx
push 0x3e8
push 0x3e8
mov ecx, dword [ebp - 0x744]
add ecx, 0x630
call fcn.004197d0
push eax
push 0x508690
push str.schannel
push 0x5086a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x744]
add ecx, 0x630
call fcn.00419670
mov ecx, dword [ebp - 0x744]
add ecx, 0x630
call fcn.00418a30
movzx edx, al
test edx, edx
jne 0x471519
mov eax, dword [ebp - 0x744]
add eax, 0x630
push eax
push 0x5086b0
call fcn.00471a50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x47152f
push 0x5086b4
mov ecx, dword [ebp - 0x744]
add ecx, 0x630
call fcn.00418770
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x614], 0x114
push 0x110
push 0
lea edx, [ebp - 0x610]
push edx
call fcn.004ccbe0
add esp, 0xc
mov dword [ebp - 0x734], 0x11c
push 0x118
push 0
lea eax, [ebp - 0x730]
push eax
call fcn.004ccbe0
add esp, 0xc
push 0
lea ecx, [ebp - 0x734]
push ecx
call fcn.00471ea0
add esp, 8
test eax, eax
je 0x4715b2
mov edx, dword [ebp - 0x730]
mov dword [ebp - 0x4f8], edx
mov eax, dword [ebp - 0x72c]
mov dword [ebp - 0x4fc], eax
jmp 0x4715db
lea ecx, [ebp - 0x614]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4715db
mov edx, dword [ebp - 0x610]
mov dword [ebp - 0x4f8], edx
mov eax, dword [ebp - 0x60c]
mov dword [ebp - 0x4fc], eax
push 0x1e
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
je 0x4715f3
mov dword [ebp - 0x758], 0x5086b8
jmp 0x4715fd
mov dword [ebp - 0x758], 0x5086c0
mov ecx, dword [ebp - 0x758]
push ecx
mov edx, dword [ebp - 0x4fc]
push edx
mov eax, dword [ebp - 0x4f8]
push eax
push 0x5086c8
mov ecx, dword [ebp - 0x744]
add ecx, 0x628
push ecx
call fcn.004198b0
add esp, 0x14
xor edx, edx
mov eax, dword [ebp - 0x744]
mov word [eax + 0x410], dx
mov ecx, dword [ebp - 0x744]
push ecx
push 0x104
mov edx, dword [ebp - 0x744]
add edx, 0x410
push edx
call fcn.0041b310
push 0
mov eax, dword [ebp - 0x744]
add eax, 0x784
push eax
call fcn.0041e250
mov ecx, eax
call fcn.004719f0
mov ecx, dword [ebp - 0x744]
mov dword [ecx + 0x640], eax
call fcn.00427cb0
push eax
mov ecx, dword [ebp - 0x744]
add ecx, 0x644
call fcn.00428860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00419a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004cd040
mov esp, ebp
pop ebp
ret