Function at 0x416f28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xc8
lea ebp, [esp - 4]
mov eax, dword [0x486ba4]
xor eax, ebp
mov dword [ebp + 0xc8], eax
push 0x24
mov eax, 0x46cce3
call fcn.00450ec5
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.00450fd0
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.00402676
mov byte [ebp - 4], 1
cmp dword [ebp + 0xf0], 8
mov eax, dword [ebp + 0xdc]
jae 0x416fa7
lea eax, [ebp + 0xdc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404851
push 0x478d68
lea eax, [ebp - 0x14]
push eax
call fcn.00404851
cmp dword [ebp + 0xf0], 8
mov eax, dword [ebp + 0xdc]
jae 0x416fd4
lea eax, [ebp + 0xdc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404851
push str._Helper_Compact_
lea eax, [ebp - 0x14]
push eax
call fcn.00404851
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00402676
mov byte [ebp - 4], 2
cmp dword [ebp + 0xf0], 8
mov eax, dword [ebp + 0xdc]
jae 0x41700f
lea eax, [ebp + 0xdc]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404851
push str.WAF_
lea eax, [ebp - 0x1c]
push eax
call fcn.00404851
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.00416dc2
test eax, eax
je 0x41703d
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 0x4170a2
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 0x417090
mov dword [ebp - 0x24], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], edi
jne 0x417145
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 0x417101
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 0x4170f3
mov dword [ebp - 0x24], 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], edi
jne 0x417145
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 0x417145
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.004070e1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004026f8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004026f8
push edi
push 1
lea esi, [ebp + 0xd8]
call fcn.00401e7e
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.0044bafb
add ebp, 0xcc
leave
ret