Function at 0x416f0e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x487ba4]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x24
mov eax, 0x46d451
call fcn.00451557
mov eax, dword [ebp + 0xd4]
xor edi, edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [ebp - 4], edi
push 0xc6
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00451670
add esp, 0xc
mov esi, str.Software_
push esi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x2c], 0x64
mov dword [ebp - 0x28], edi
call fcn.0040266c
mov byte [ebp - 4], 1
cmp dword [ebp + 0xf0], 8
mov eax, dword [ebp + 0xdc]
jae 0x416f8d
lea eax, [ebp + 0xdc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404847
push 0x479d68
lea eax, [ebp - 0x14]
push eax
call fcn.00404847
cmp dword [ebp + 0xf0], 8
mov eax, dword [ebp + 0xdc]
jae 0x416fba
lea eax, [ebp + 0xdc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404847
push str._Helper_Compact_
lea eax, [ebp - 0x14]
push eax
call fcn.00404847
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.0040266c
mov byte [ebp - 4], 2
cmp dword [ebp + 0xf0], 8
mov eax, dword [ebp + 0xdc]
jae 0x416ff5
lea eax, [ebp + 0xdc]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404847
push str.WAF_
lea eax, [ebp - 0x1c]
push eax
call fcn.00404847
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.00416da8
test eax, eax
je 0x417023
mov dword [ebp - 0x20], 0x200
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
mov ebx, 0x20019
push ebx
push edi
push edi
push edi
push dword [ebp - 0x14]
push connect
call esi
test eax, eax
jne 0x417088
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push str.ClientSign
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417076
mov dword [ebp - 0x24], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], edi
jne 0x41712b
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push edi
or eax, ebx
push eax
push edi
push edi
push edi
push dword [ebp - 0x14]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 0x20], eax
call esi
test eax, eax
jne 0x4170e7
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push str.ClientSign
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4170d9
mov dword [ebp - 0x24], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], edi
jne 0x41712b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp - 0x20]
push edi
push edi
push edi
push dword [ebp - 0x1c]
push ebx
call esi
test eax, eax
jne 0x41712b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push str.ClientSign
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x30]
lea eax, [ebp]
push eax
call fcn.004070da
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004026ee
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004026ee
push edi
push 1
lea esi, [ebp + 0xd8]
call fcn.00401e74
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
call fcn.0044c18b
add ebp, 0xcc
leave
ret