Function at 0x4a9210
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [0x6fb448]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x198], 0
push 0x18e
push 0
lea eax, [ebp - 0x196]
push eax
call fcn.005b02a0
add esp, 0xc
mov byte [ebp - 0x228], 0
push 0x7f
push 0
lea ecx, [ebp - 0x227]
push ecx
call fcn.005b02a0
add esp, 0xc
mov byte [ebp - 0x338], 0
push 0x103
push 0
lea edx, [ebp - 0x337]
push edx
call fcn.005b02a0
add esp, 0xc
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x33c], 0
cmp dword [ebp + 0x10], 0
jge 0x4a92bf
mov dword [ebp + 0x10], 0x104
cmp dword [ebp + 8], 0
je 0x4a92d1
cmp dword [ebp + 0xc], 0
je 0x4a92d1
cmp dword [ebp + 0x10], 0
jg 0x4a92d8
xor eax, eax
jmp 0x4a9510
call fcn.0040323d
mov dword [ebp - 0x33c], eax
cmp dword [ebp + 0xc], 0
je 0x4a92ef
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
push 0x7e
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.00402725
add esp, 0xc
lea eax, [ebp - 0x338]
push eax
call fcn.00402158
add esp, 4
lea ecx, [ebp - 0x22c]
push ecx
push 0x6954ac
lea edx, [ebp - 0x228]
push edx
call fcn.00402897
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a9350
lea eax, [ebp - 0x22c]
push eax
push 0x695544
push 0
call fcn.00402897
add esp, 0xc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401389
add esp, 4
test eax, eax
jne 0x4a938b
push 0x104
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x338]
push eax
call fcn.00402725
add esp, 0xc
push 0
push 0x3a
lea ecx, [ebp - 0x338]
push ecx
call fcn.00401a19
add esp, 0xc
lea edx, [ebp - 0x228]
push edx
call fcn.0040272f
add esp, 4
test eax, eax
jne 0x4a93a5
xor eax, eax
jmp 0x4a9510
xor eax, eax
je 0x4a93f9
xor ecx, ecx
je 0x4a93c4
mov edx, dword [ebp + 0x10]
push edx
push str.WebSrv22
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402725
add esp, 0xc
jmp 0x4a93f4
xor ecx, ecx
je 0x4a93df
mov edx, dword [ebp + 0x10]
push edx
push str.WebSrv21
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402725
add esp, 0xc
jmp 0x4a93f4
mov ecx, dword [ebp + 0x10]
push ecx
push str.Mission_Control
mov edx, dword [ebp + 0xc]
push edx
call fcn.00402725
add esp, 0xc
jmp 0x4a94c3
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
lea ecx, [ebp - 0x198]
push ecx
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x4a94a2
lea edx, [ebp - 0x228]
push edx
call fcn.00401424
add esp, 4
mov dword [ebp - 0x19c], eax
push 2
push 4
lea eax, [ebp - 0x19c]
push eax
call sub.WSOCK32.dll_gethostbyaddr
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
je 0x4a9491
mov ecx, dword [ebp - 0x1a4]
cmp dword [ecx], 0
je 0x4a9491
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx]
push eax
call fcn.005b4690
add esp, 4
test eax, eax
jbe 0x4a9491
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00402725
add esp, 0xc
mov dword [ebp - 0x1a0], 0
jmp 0x4a949b
mov dword [ebp - 0x1a0], 0xffffffff
call sub.WSOCK32.dll_WSACleanup
jmp 0x4a94a6
xor eax, eax
jmp 0x4a9510
cmp dword [ebp - 0x1a0], 0
jne 0x4a94bf
mov edx, dword [ebp + 0xc]
push edx
call fcn.005b4690
add esp, 4
test eax, eax
ja 0x4a94c3
xor eax, eax
jmp 0x4a9510
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x338]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004014f1
add esp, 0xc
call fcn.0040323d
sub eax, dword [ebp - 0x33c]
cmp eax, 0x1388
jbe 0x4a950d
call fcn.0040323d
sub eax, dword [ebp - 0x33c]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.:4:ResolveIPToHostName___took_too_long_to_resolve__s_to__s:__ums
call fcn.00401014
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b0290
mov esp, ebp
pop ebp
ret