Function at 0x415d60
Capabilities:
Check os version
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c0
mov eax, dword [0x51c080]
xor eax, esp
mov dword [esp + 0x6bc], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4ded48
push 0x3e9
mov ecx, esi
lea edi, [esi + 0x74]
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_BUTTON_CANCEL
push 0x3ea
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_BUTTON_BACK
push 0x3ec
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_BOTTOM_LINE
push 0x3eb
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_TOP_LINE
push 0x404
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_RADIO1
push 0x3f5
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_RADIO2
push 0x3f1
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_RADIO3
push 0x3f2
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_EDIT_IPADDRESS
push 0x3fc
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_STATIC_IPRANGE_EX
push 0x422
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_IPADDRESS_FROM
push 0x408
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_STATIC_RAND_TILDE
push 0x421
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_IPADDRESS_TO
push 0x409
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
lea eax, [esi + 0x14f8]
test eax, eax
je 0x415ef3
lea edx, [esi + 0x1550]
jmp 0x415ef5
xor edx, edx
push str.IDC_BUTTON_SET_COMMUNITYNAME
mov ecx, edi
call fcn.00466bf0
push str.IDC_EDIT_UNC_PATH
push 0x3fd
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_BUTTON_BROWSE
push 0x402
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push str.IDC_STATIC_UNC_EX
push 0x423
mov ecx, esi
call fcn.004a07fc
push eax
xor ecx, ecx
mov edx, edi
call fcn.004666b0
push 0x100
lea ecx, [esi + 0x4d40]
push ecx
mov edx, str.MSG_NOT_CONNECT_PRINTER
mov ecx, edi
call fcn.004674e0
push 0x100
lea edx, [esi + 0x4f40]
push edx
mov edx, str.MSG_NOT_FIND_PRINTER
mov ecx, edi
call fcn.004674e0
push 0x200
lea eax, [esp + 0x2c4]
push 0
push eax
mov dword [esi + 0x14f0], 0
mov dword [esi + 0x14f4], 0
call fcn.004ab450
add esp, 0xc
push 0x200
lea ecx, [esp + 0x4c4]
push 0
push ecx
call fcn.004ab450
add esp, 0xc
push 0x100
lea edx, [esp + 0x2c4]
push edx
push str.from
mov edx, str.DISCOVERY_IPRANGE
mov ecx, 0x52895c
call fcn.0044e2b0
test eax, eax
je 0x416000
push 0x200
lea eax, [esp + 0x2c4]
push 0
push eax
call fcn.004ab450
add esp, 0xc
push 0x100
lea ecx, [esp + 0x4c4]
push ecx
push 0x4defd0
mov edx, str.DISCOVERY_IPRANGE
mov ecx, 0x52895c
call fcn.0044e2b0
test eax, eax
je 0x41603c
push 0x200
lea edx, [esp + 0x4c4]
push 0
push edx
call fcn.004ab450
add esp, 0xc
lea eax, [esp + 0x2c0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416046
sub eax, edx
sar eax, 1
je 0x4160c4
lea eax, [esp + 0x4c0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416061
sub eax, edx
sar eax, 1
je 0x4160c4
lea ecx, [esp + 0x2c0]
call fcn.004437c0
lea ecx, [esp + 0x4c0]
mov dword [esi + 0x14f0], eax
call fcn.004437c0
mov ecx, dword [esi + 0x14f0]
cmp ecx, 0xffffffff
mov dword [esi + 0x14f4], eax
je 0x4160c4
cmp eax, 0xffffffff
je 0x4160c4
push eax
push ecx
push str.From__0x_08x___To_0x_08x_
mov ecx, 0x527b30
mov dword [esi + 0x14e4], 1
call fcn.00449000
add esp, 0xc
cmp dword [esi + 0x14f0], 0
jne 0x416126
cmp dword [esi + 0x14f4], 0
jne 0x416126
lea eax, [esp + 0x130]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x416126
call fcn.004164c0
mov edi, eax
test edi, edi
je 0x416126
push edi
push str.Local_IP__0x_08x_
mov ecx, 0x527b30
call fcn.00449000
mov eax, edi
and eax, 0xffffff00
lea ecx, [eax + 1]
add esp, 8
add eax, 0xff
mov dword [esi + 0x14f0], ecx
mov dword [esi + 0x14f4], eax
push 0x11c
lea edx, [esp + 0x14]
push 0
push edx
call fcn.004ab450
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x11c
call edi
test eax, eax
je 0x416174
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x114
call edi
test eax, eax
je 0x416174
cmp dword [esp + 0x14], 5
setbe dl
mov byte [esi + 0x14e0], dl
mov ecx, dword [esp + 0x6c4]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004a998e
mov esp, ebp
pop ebp
ret 4