Function at 0x41f007
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x68
lea ebp, [esp - 4]
mov eax, dword [0x47dad4]
xor eax, ebp
mov dword [ebp + 0x68], eax
push 0x6c
mov eax, 0x46183c
call fcn.0044a6d8
mov esi, dword [ebp + 0x74]
mov dword [ebp + 0x44], esi
call fcn.004105fd
cmp dword [eax + 0x640], 6
jae 0x41f083
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfileAuthorizedApplicationsList
lea ecx, [ebp]
call fcn.004088e0
push esi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041c2f4
add esp, 0x10
cmp dword [eax + 0x14], ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
setne byte [ebp + 0x4b]
call fcn.00407efb
push ebx
push 1
lea ecx, [ebp]
call fcn.00407efb
jmp 0x41f20a
xor ebx, ebx
mov esi, 0x3e8
push esi
lea ecx, [ebp + 0x3c]
mov byte [ebp + 0x4b], bl
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
call fcn.00407059
xor edi, edi
inc edi
push str.SYSTEMCurrentControlSet_servicesSharedAccessParametersFirewallPolicyFirewallRules
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.004088e0
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 2
call fcn.0041aac2
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.00407efb
lea eax, [ebp + 0x24]
push eax
push 0x20019
push ebx
push dword [ebp + 0x3c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f202
push esi
lea ecx, [ebp + 0x34]
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
call fcn.00407059
push dword [ebp + 0x44]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.0041d63d
push eax
lea eax, [ebp + 0x4c]
push str.__i_
push eax
mov byte [ebp - 4], 4
call fcn.00408aa3
add esp, 0x14
push ebx
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00407efb
mov dword [ebp + 0x44], ebx
mov esi, 0x47d8c8
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x34]
lea eax, [ebp + 0x2c]
push eax
push ebx
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x3c]
push dword [ebp + 0x44]
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x41f1dd
cmp dword [ebp + 0x2c], edi
jne 0x41f1e4
push dword [ebp + 0x34]
lea eax, [ebp - 0x44]
push eax
call fcn.0041bc26
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.0040b540
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp - 0x78]
call fcn.0041326d
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0043c1a0
lea ecx, [ebp - 0x78]
mov byte [ebp + 0x4a], al
mov byte [ebp - 4], 7
call fcn.0043c5f0
push ebx
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.00407efb
cmp byte [ebp + 0x4a], bl
je 0x41f1e4
mov byte [ebp + 0x4b], 1
jmp 0x41f1e4
cmp eax, 0x103
je 0x41f1f0
inc dword [ebp + 0x44]
cmp byte [ebp + 0x4b], bl
je 0x41f13b
push ebx
push edi
lea ecx, [ebp + 0x4c]
call fcn.00407efb
lea ecx, [ebp + 0x34]
call fcn.00406ffd
lea ecx, [ebp + 0x3c]
call fcn.00406ffd
mov al, byte [ebp + 0x4b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.0044a6c9
add ebp, 0x6c
leave
ret