Function at 0x969720
Capabilities:
Check os version

Disassembly:
sub esp, 0x44c
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov ebp, 1
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebx
cmp dword [0xbfc9d0], ebx
jne 0x969827
mov dword [0xbfc9d0], ebp
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x969827
cmp al, 6
jb 0x969827
mov dword [0xbfc9d4], ebp
lea eax, [esp + 0x2c]
push eax
push str.WFPForceDisable
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
cmp dword [esp + 0x2c], ebx
jne 0x969833
mov dword [esp + 0x14], ebp
call fcn.00963620
cmp eax, 2
jle 0x969970
lea ecx, [esp + 0x18]
push ecx
push str.WFPOnlySMB445
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
test al, al
jne 0x969842
lea edx, [esp + 0x1c]
push edx
push str.enablesecuritysignature
mov ecx, str.SystemCurrentControlSetServicesLanmanServerParameters
mov edx, 0x80000002
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
call fcn.0094c0d0
lea eax, [esp + 0x24]
push eax
push str.requiresecuritysignature
mov ecx, str.SystemCurrentControlSetServicesLanmanServerParameters
mov edx, 0x80000002
call fcn.0094c0d0
cmp dword [esp + 0x1c], ebx
jne 0x96983a
cmp dword [esp + 0x24], ebx
jne 0x96983a
mov eax, ebp
mov dword [esp + 0x18], eax
jmp 0x969894
cmp dword [0xbfc9d4], ebx
jne 0x969787
xor eax, eax
jmp 0x969bf0
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x969894
cmp dword [esp + 0x18], ebp
jne 0x9698aa
lea ecx, [esp + 0x24]
push ecx
push str.enablesecuritysignature
mov ecx, str.SystemCurrentControlSetServicesLanmanServerParameters
mov edx, 0x80000002
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
call fcn.0094c0d0
lea edx, [esp + 0x1c]
push edx
push str.requiresecuritysignature
mov ecx, str.SystemCurrentControlSetServicesLanmanServerParameters
mov edx, 0x80000002
call fcn.0094c0d0
cmp dword [esp + 0x24], ebx
jne 0x96988e
cmp dword [esp + 0x1c], ebx
je 0x9698aa
mov dword [esp + 0x18], ebx
xor eax, eax
mov esi, str.WFPOnlySMB445
mov ebx, 0xaa21e4
mov ecx, 0x80000002
call fcn.0094be90
xor ebx, ebx
lea eax, [esp + 0x20]
push eax
push str.WFPEnabledOnServer
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
test al, al
je 0x9698d3
cmp dword [esp + 0x18], ebx
jne 0x9698f1
cmp dword [esp + 0x20], ebx
je 0x9698f7
mov dword [esp + 0x20], ebx
xor eax, eax
mov esi, str.WFPEnabledOnServer
mov ebx, 0xaa21e4
mov ecx, 0x80000002
mov edi, ebp
call fcn.0094be90
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jne 0x969970
lea ecx, [esp + 0x1c]
push ecx
push str.WFPModSet
mov ecx, 0xaa21e4
mov edx, 0x80000002
mov dword [esp + 0x24], ebx
call fcn.0094c0d0
test al, al
je 0x969927
mov eax, dword [esp + 0x1c]
cmp eax, 2
jb 0x969927
mov dword [esp + 0x28], eax
jmp 0x969962
mov eax, 2
mov esi, str.WFPModSet
mov ebx, 0xaa21e4
mov ecx, 0x80000002
mov dword [esp + 0x1c], eax
call fcn.0094be90
cmp dword [esp + 0x18], 0
je 0x969960
mov eax, ebp
mov esi, str.WFPEnabledOnServer
mov ecx, 0x80000002
mov dword [esp + 0x20], ebp
call fcn.0094be90
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jne 0x969970
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebp
lea edx, [esp + 0x14]
push edx
push str.WFPEnabled
mov ecx, 0xaa21e4
mov edx, 0x80000002
call fcn.0094c0d0
test al, al
jne 0x9699a7
mov eax, dword [esp + 0x14]
mov esi, str.WFPEnabled
mov ebx, 0xaa21e4
mov ecx, 0x80000002
call fcn.0094be90
xor ebx, ebx
call fcn.00963620
cmp eax, 2
jle 0x969a0f
cmp dword [esp + 0x28], 2
jb 0x9699bc
cmp edi, ebx
je 0x9699f6
cmp dword [esp + 0x14], ebx
jne 0x9699d4
cmp dword [esp + 0x18], ebx
je 0x969bec
mov dword [esp + 0x14], ebp
mov eax, ebp
jmp 0x9699e0
cmp dword [esp + 0x18], ebx
jne 0x9699f6
mov dword [esp + 0x14], ebx
xor eax, eax
mov esi, str.WFPEnabled
mov ebx, 0xaa21e4
mov ecx, 0x80000002
call fcn.0094be90
xor ebx, ebx
cmp dword [esp + 0x14], ebx
je 0x969bec
cmp dword [esp + 0x30], ebx
je 0x969a0f
mov dword [esp + 0x14], ebx
jmp 0x969bec
cmp dword [esp + 0x14], ebx
je 0x969bec
push 0x103
lea eax, [esp + 0x39]
push ebx
push eax
mov byte [esp + 0x40], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x249]
push ebx
push ecx
mov byte [esp + 0x250], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea edx, [esp + 0x141]
push ebx
push edx
mov byte [esp + 0x148], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea eax, [esp + 0x351]
push ebx
push eax
mov byte [esp + 0x358], bl
call fcn.00a7ffb0
add esp, 0xc
lea ebx, [esp + 0x34]
call fcn.009541a0
cmp eax, ebp
je 0x969a9b
mov ecx, ebx
call fcn.00954350
call fcn.00968110
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x244]
push ecx
push edx
test eax, eax
je 0x969b26
call esi
lea ecx, [esp + 0x244]
call fcn.00960910
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.ESWfpx.DLL
lea eax, [esp + 0x248]
push eax
call edi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x350]
push edx
call esi
lea ecx, [esp + 0x34c]
call fcn.00960910
push str.UrlFiltx.DLL
lea eax, [esp + 0x350]
push eax
call edi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x140]
push edx
call esi
lea ecx, [esp + 0x13c]
call fcn.00960910
push str.ESWfp64.SYS
jmp 0x969b93
call esi
lea ecx, [esp + 0x244]
call fcn.00960910
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.ESWfp.DLL
lea eax, [esp + 0x248]
push eax
call edi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x350]
push edx
call esi
lea ecx, [esp + 0x34c]
call fcn.00960910
push str.UrlFilt.DLL
lea eax, [esp + 0x350]
push eax
call edi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x140]
push edx
call esi
lea ecx, [esp + 0x13c]
call fcn.00960910
push str.ESWfp32.SYS
lea eax, [esp + 0x140]
push eax
call edi
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x24c]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x969be4
push eax
push eax
xor edx, edx
lea ecx, [esp + 0x144]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x969be4
push eax
push eax
xor edx, edx
lea ecx, [esp + 0x354]
call fcn.0095a0f0
add esp, 8
test eax, eax
je 0x969bec
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x458]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x44c
ret