Function at 0x412ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5baae2
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x6877f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0058db90
push edi
push str.SystemCurrentControlSet_servicesCtesHostSvcProviders
lea eax, [ebp - 0x118]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov dword [ebp - 0x1b4], 0
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x1bc], 4
mov dword [ebp - 0x1b8], 4
push eax
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x1bc]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x412cb7
push 0x20
push str.GetScanTS__s_for__s_returned__lu
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], al
call fcn.0040a020
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x194]
call fcn.00419ad0
mov esi, eax
push ebx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041a190
push edi
mov ecx, esi
call fcn.0041a190
mov edi, dword [ebp - 0x1b4]
mov ecx, esi
push edi
call fcn.0041a040
lea eax, [ebp - 0x160]
mov ecx, esi
push eax
call fcn.0041a330
push eax
mov byte [ebp - 4], 2
call fcn.00418b30
mov edx, dword [ebp - 0x14c]
add esp, 4
cmp edx, 0x10
jb 0x412c48
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412c3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412de2
push edx
push ecx
call fcn.00575155
add esp, 8
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
call fcn.00419ba0
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x412ca8
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412c9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412de7
push edx
push ecx
call fcn.00575155
add esp, 8
test edi, edi
je 0x412dc4
mov eax, edi
jmp 0x412dc6
push 0x1a
push str.GetScanTS__s_failed_for__s
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
call fcn.0040a020
lea eax, [ebp - 0x148]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00419ad0
mov esi, eax
push ebx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0041a190
push edi
mov ecx, esi
call fcn.0041a190
lea eax, [ebp - 0x178]
mov ecx, esi
push eax
call fcn.0041a330
push eax
mov byte [ebp - 4], 5
call fcn.00418b30
mov edx, dword [ebp - 0x164]
add esp, 4
cmp edx, 0x10
jb 0x412d68
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412d5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412dec
push edx
push ecx
call fcn.00575155
add esp, 8
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
call fcn.00419ba0
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x412dc4
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412dba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412df1
push edx
push ecx
call fcn.00575155
add esp, 8
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 - 0x10]
xor ecx, ebp
call fcn.00574c7a
mov esp, ebp
pop ebp
ret
call fcn.0059b248
call fcn.0059b248
call fcn.0059b248
call fcn.0059b248
int3