Function at 0x4f7bd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x420
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
xor ebx, ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
lea edi, [ebx + 1]
cmp dword [0x74aff0], ebx
jne 0x4f7d14
mov dword [0x74aff0], edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x4f7d14
cmp al, 6
jb 0x4f7d14
mov dword [0x74afec], edi
lea eax, [esp + 0x14]
push eax
push str.WFPForceDisable
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
cmp dword [esp + 0x14], ebx
jne 0x4f7d20
mov dword [esp + 0xc], edi
call fcn.004d8f30
cmp eax, 2
jle 0x4f7c9b
lea ecx, [esp + 0x10]
push ecx
push str.WFPEnabledOnServer
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
test al, al
jne 0x4f7c8f
mov edx, dword [esp + 0x10]
push edx
push str.WFPEnabledOnServer
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f48a0
cmp dword [esp + 0x10], ebx
jne 0x4f7c9b
mov dword [esp + 0xc], ebx
mov esi, edi
push ebp
mov ebp, dword [esp + 0x434]
cmp ebp, 2
jae 0x4f7cec
lea eax, [esp + 0x10]
push eax
push str.WFPEnabled
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
test al, al
jne 0x4f7cde
mov ecx, dword [esp + 0x10]
push ecx
push str.WFPEnabled
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f48a0
cmp dword [esp + 0x10], ebx
je 0x4f7cec
cmp esi, ebx
je 0x4f7cec
mov dword [esp + 0x10], ebx
cmp ebp, edi
jne 0x4f7d4d
call fcn.004d8f30
cmp eax, 2
jle 0x4f7d3a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push str._WFP__WFPEnabled___d__Server_OS__WFPEnabledOnServer_d_
push ebx
call fcn.004f0f30
add esp, 0x10
jmp 0x4f7d4d
cmp dword [0x74afec], ebx
jne 0x4f7c28
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x420
ret
mov ecx, dword [esp + 0x10]
push ecx
push str._WFP__WFPEnabled___d__WorkStation_OS_
push ebx
call fcn.004f0f30
add esp, 0xc
cmp dword [esp + 0x10], ebx
je 0x4f7f76
push 0x103
lea edx, [esp + 0x21]
push ebx
push edx
mov byte [esp + 0x28], bl
call fcn.005dfd60
push 0x103
lea eax, [esp + 0x235]
push ebx
push eax
mov byte [esp + 0x23c], bl
call fcn.005dfd60
push 0x103
lea ecx, [esp + 0x13d]
push ebx
push ecx
mov byte [esp + 0x144], bl
call fcn.005dfd60
push 0x103
lea edx, [esp + 0x351]
push ebx
push edx
mov byte [esp + 0x358], bl
call fcn.005dfd60
add esp, 0x30
lea eax, [esp + 0x1c]
push eax
call fcn.004ef9d0
cmp eax, edi
je 0x4f7dd4
lea ecx, [esp + 0x1c]
push ecx
call fcn.004efb60
call fcn.004d96c0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1c]
test eax, eax
push edx
lea eax, [esp + 0x228]
push eax
je 0x4f7e6b
call esi
lea ecx, [esp + 0x224]
push ecx
call fcn.004e24e0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
push str.ESWfpx.DLL
lea edx, [esp + 0x228]
push edx
call edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x32c]
push ecx
call esi
lea edx, [esp + 0x328]
push edx
call fcn.004e24e0
add esp, 4
push str.UrlFiltx.DLL
lea eax, [esp + 0x32c]
push eax
call edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x124]
push edx
call esi
lea eax, [esp + 0x120]
push eax
call fcn.004e24e0
add esp, 4
push str.ESWfp64.SYS
jmp 0x4f7ee4
call esi
lea ecx, [esp + 0x224]
push ecx
call fcn.004e24e0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
push str.ESWfp.DLL
lea edx, [esp + 0x228]
push edx
call edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x32c]
push ecx
call esi
lea edx, [esp + 0x328]
push edx
call fcn.004e24e0
add esp, 4
push str.UrlFilt.DLL
lea eax, [esp + 0x32c]
push eax
call edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x124]
push edx
call esi
lea eax, [esp + 0x120]
push eax
call fcn.004e24e0
add esp, 4
push str.ESWfp32.SYS
lea ecx, [esp + 0x124]
push ecx
call edi
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x234]
push ebx
push edx
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x4f7f16
cmp ebp, 1
jne 0x4f7f72
lea eax, [esp + 0x224]
push eax
jmp 0x4f7f64
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x130]
push ebx
push ecx
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x4f7f3e
cmp ebp, 1
jne 0x4f7f72
lea edx, [esp + 0x120]
push edx
jmp 0x4f7f64
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x338]
push ebx
push eax
call fcn.004e8950
add esp, 0x18
test eax, eax
je 0x4f7f76
cmp ebp, 1
jne 0x4f7f72
lea ecx, [esp + 0x328]
push ecx
push str._WFP___s_Missing_
push ebx
call fcn.004f0f30
add esp, 0xc
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x42c]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x420
ret