Function at 0x45e62d
Capabilities:
Check os version

Disassembly:
push 0x724
mov eax, 0x5327ee
call fcn.004e49d2
mov edi, ecx
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x2e4], 0x114
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x45e919
cmp dword [ebp - 0x2e0], 5
jb 0x45e919
jne 0x45e679
cmp dword [ebp - 0x2dc], 0
je 0x45e919
lea ecx, [ebp - 0x710]
call fcn.004328f7
mov eax, ecx
xor ebx, ebx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0045e927
test al, al
jne 0x45e6c4
push str.No_known_servers_support_this_transport_type.
push ebx
push ebx
call fcn.0043a0a0
mov ecx, dword [edi + 0x14]
add esp, 0xc
mov eax, dword [ecx]
push 0x80
call dword [eax + 4]
push 0x5dbe9c
lea eax, [ebp - 0x711]
push eax
call fcn.004fda0a
lea ecx, [ebp - 0x5b0]
call fcn.0044cab5
push ecx
lea eax, [ebp - 0x710]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0044cd28
push ebx
push ebx
lea ecx, [ebp - 0x730]
call fcn.00412449
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0044d884
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x718], esp
push eax
call fcn.0041140f
push str.ipAddress
lea ecx, [ebp - 0x730]
mov byte [ebp - 4], 5
call fcn.004126d5
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0041163b
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00416ab1
lea edx, [ebp - 0x730]
mov ecx, str.ConnectingServer
call fcn.00430a11
lea eax, [ebp - 0x5b0]
push eax
push ecx
mov ecx, edi
call fcn.0045619c
test al, al
jne 0x45e7aa
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0044da70
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.00455da8
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 3
call fcn.0042060e
mov byte [ebp - 0x711], 1
push 0x5dbeac
jmp 0x45e6b8
call fcn.0045fb7f
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0045e078
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.0042adf6
mov esi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0044d884
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0042adf6
push esi
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0045e9d3
mov bl, al
lea ecx, [ebp - 0x28]
neg bl
sbb bl, bl
xor esi, esi
push esi
push 1
call fcn.00427ba9
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.00416ab1
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.00427ba9
push esi
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00416ab1
add bl, 1
je 0x45e854
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x5b0]
call fcn.0044da70
mov byte [ebp - 4], 0xb
jmp 0x45e782
push ecx
push ecx
mov ecx, edi
call fcn.0045ecf7
test al, al
lea ecx, [ebp - 0x5b0]
lea eax, [ebp - 0x1d0]
push eax
jne 0x45e87c
call fcn.0044da70
mov byte [ebp - 4], 0xc
jmp 0x45e782
cmp dword [edi + 0x328], 2
je 0x45e893
call fcn.0044da70
mov byte [ebp - 4], 0xd
jmp 0x45e782
call fcn.0044da70
cmp dword [edi + 0x2f0], esi
jne 0x45e8cf
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
call fcn.0044aa69
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x2f4]
call fcn.00448ad5
lea ecx, [ebp - 0x1c]
call fcn.0044af55
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 3
call fcn.0042060e
lea eax, [ebp - 0x5b0]
push eax
lea ecx, [edi + 0x20]
call fcn.00421bc0
call fcn.0046031d
lea ecx, [ebp - 0x730]
call fcn.0041159b
lea ecx, [ebp - 0x5b0]
call fcn.00420532
lea ecx, [ebp - 0x710]
call fcn.0042060e
call fcn.004e497c
ret
push str.VPN_requires_Windows_XP_or_greater
xor esi, esi
push esi
push esi
jmp 0x45e69e