Function at 0x41d13e
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push 0x1c
mov eax, 0x4aa324
call fcn.004a956e
mov esi, dword [0x4ba5c8]
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x41d175
test byte [eax + 0x1c], 1
je 0x41d175
push dword [eax + 0x14]
mov edx, 0x4066d8
push dword [eax + 0x10]
push 0x4d
pop ecx
call fcn.00416054
xor ecx, ecx
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x20], ecx
inc ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ecx
push eax
push 0x20119
push ecx
push 0x4043b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d203
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
and dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x405a8c
mov dword [ebp - 0x24], edi
call fcn.00424ad7
test eax, eax
jne 0x41d203
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x41d320
test byte [eax + 0x1c], 2
je 0x41d320
cmp byte [eax + 0x19], 5
jb 0x41d320
push dword [eax + 0x14]
mov edx, 0x4066d8
push dword [eax + 0x10]
push 0x4e
pop ecx
call fcn.00416054
jmp 0x41d320
lea eax, [esi + 0x198]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], bl
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [esi + 0x1b8]
sbb edx, dword [esi + 0x1bc]
test edx, edx
ja 0x41d244
jb 0x41d239
cmp eax, dword [0x4b8be4]
jae 0x41d244
mov ebx, dword [esi + 0x1b4]
jmp 0x41d313
lea eax, [esi + 0x1b0]
cmp dword [eax], 0
jne 0x41d2b3
push eax
push 0x406644
push ebx
push 0
push 0x406634
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x41d2ad
test byte [edx + 0x1c], 2
je 0x41d2ad
movzx ecx, byte [edx + 0x19]
xor eax, eax
cmp dword [ebp - 0x10], eax
setl al
dec eax
and eax, 3
add eax, 2
cmp ecx, eax
jb 0x41d2ad
push dword [esi + 0x1b0]
push dword [ebp - 0x10]
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x4066d8
push 0x4f
pop ecx
call fcn.00417822
lea eax, [esi + 0x1b0]
mov ecx, dword [eax]
test ecx, ecx
je 0x41d313
lea eax, [ebp - 0x10]
push eax
call fcn.0041eb6b
test eax, eax
js 0x41d2cf
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
and ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x1bc], edx
mov dword [esi + 0x1b4], ebx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x41d313
test byte [eax + 0x1c], 2
je 0x41d313
cmp byte [eax + 0x19], 5
jb 0x41d313
push ebx
push dword [eax + 0x14]
mov edx, 0x4066d8
push dword [eax + 0x10]
push 0x50
pop ecx
call fcn.0041610f
lea eax, [esi + 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 0x1bc]
lea ecx, [esi + 0x58]
push dword [esi + 0x1b8]
call fcn.0041a161
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x41d360
test byte [eax + 0x1c], 1
je 0x41d360
cmp byte [eax + 0x19], 5
jb 0x41d360
push ebx
push dword [eax + 0x14]
mov edx, 0x4066d8
push dword [eax + 0x10]
push 0x51
pop ecx
call fcn.0041610f
test edi, edi
je 0x41d36b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.004a953c
ret