Function at 0x447460
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe4c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004061e8
xor eax, eax
push ebp
push 0x447785
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
call fcn.00405b3c
lea eax, [ebp - 0x18]
mov edx, dword [0x40b4cc]
call fcn.0040860c
push 0x7fffffff
mov ebx, dword [0x69a364]
mov ebx, dword [ebx]
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x4477a0
call ebx
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.004062dc
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405d4c
call fcn.00405ed0
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3e
jne 0x447510
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405d4c
call fcn.00405ed0
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.004062dc
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405bec
xor esi, esi
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405d4c
call fcn.00405ed0
mov ebx, eax
cmp ebx, 1
jl 0x447559
mov eax, dword [ebp - 8]
cmp byte [eax + ebx - 1], 0x2e
jne 0x447554
cmp esi, 2
jne 0x447553
lea eax, [ebp - 8]
mov ecx, ebx
mov edx, 1
call fcn.004062dc
jmp 0x447559
inc esi
dec ebx
test ebx, ebx
jne 0x447533
lea eax, [ebp - 0x1ac]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x447757
lea eax, [ebp - 0x18]
call fcn.00446a48
cmp dword [ebp - 0x18], 0
je 0x447612
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040832c
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004470c0
pop ecx
cmp dword [ebp - 0x10], 0
je 0x4475b8
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.00405b90
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x447752
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004061e0
je 0x447752
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040832c
mov ecx, eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004470c0
pop ecx
cmp dword [ebp - 0x10], 0
je 0x447752
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.00405b90
jmp 0x447752
push ebp
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x4477b0
mov dword [ebp - 0x1b4], eax
mov eax, 0x4477d0
mov dword [ebp - 0x1b0], eax
lea edx, [ebp - 0x1b4]
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.004470c0
pop ecx
cmp dword [ebp - 0x10], 0
je 0x447752
push ebp
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040832c
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004470c0
pop ecx
mov ebx, 0xa
cmp dword [ebp - 0xc], 0
jne 0x4476b8
cmp dword [ebp - 0x14], 0
je 0x4476b8
push ebp
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040832c
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004470c0
pop ecx
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x40b4cc]
call fcn.00408648
dec ebx
jne 0x447677
cmp dword [ebp - 0xc], 0
jne 0x4476d5
cmp dword [ebp - 0x10], 0
je 0x4476d5
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x40b4cc]
call fcn.00408648
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040832c
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004470c0
pop ecx
cmp dword [ebp - 0x10], 0
je 0x447709
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.00405b90
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x447752
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004061e0
je 0x447752
push ebp
push 0xf
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040832c
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004470c0
pop ecx
cmp dword [ebp - 0x10], 0
je 0x447752
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.00405b90
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44778c
lea eax, [ebp - 0x18]
mov edx, dword [0x40b4cc]
mov ecx, 4
call fcn.0040776c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405b60
ret