Function at 0x4219e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x46759c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
lea eax, [ebp - 0x1a8]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push 0x469004
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x3ec
push 1
call fcn.00436448
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x421a30
xor eax, eax
jmp 0x421ceb
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
add edi, 0x6c
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x98], edx
cmp dword [ebp + 0x10], 0
je 0x421b5c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
test edx, edx
je 0x421b5c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041cb90
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x421aba
mov edx, dword [ebp - 0x10]
push edx
push str.Invalid_option:__s
mov eax, dword [ebp - 0xc]
push eax
call fcn.00421d00
add esp, 4
push eax
call fcn.0041f500
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004218e0
add esp, 4
xor eax, eax
jmp 0x421ceb
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
add edx, 4
mov dword [ebp + 0x10], edx
test ecx, ecx
jne 0x421b03
mov eax, dword [ebp - 0x10]
push eax
push str._s:_option_value_cannot_be_NULL
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00421d00
add esp, 4
push eax
call fcn.0041f500
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call fcn.004218e0
add esp, 4
xor eax, eax
jmp 0x421ceb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + eax*4 + 8], 0
je 0x421b41
mov edx, dword [ebp - 0x10]
push edx
push str.warning:__s:_duplicate_option
mov eax, dword [ebp - 0xc]
push eax
call fcn.00421d00
add esp, 4
push eax
call fcn.0041f500
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4 + 8]
push eax
call fcn.004335aa
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.00421d20
add esp, 4
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + edx*4 + 8], eax
jmp 0x421a4c
mov dword [ebp - 8], 0
jmp 0x421b6e
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shl eax, 1
cmp dword [eax*4 + 0x464d68], 0
je 0x421bc0
mov ecx, dword [ebp - 8]
shl ecx, 1
mov edx, dword [ecx*4 + 0x464d6c]
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + eax*4 + 8], 0
jne 0x421bbe
cmp dword [ebp - 0x1ac], 0
je 0x421bbe
mov edx, dword [ebp - 0x1ac]
push edx
call fcn.00421d20
add esp, 4
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 8], eax
jmp 0x421b65
mov eax, dword [ebp - 0xc]
push eax
call fcn.00422660
add esp, 4
test eax, eax
je 0x421c00
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00422260
add esp, 4
test eax, eax
je 0x421c00
mov edx, dword [ebp - 0xc]
push edx
call fcn.00421e10
add esp, 4
test eax, eax
je 0x421c00
mov eax, dword [ebp - 0xc]
push eax
call fcn.00422710
add esp, 4
test eax, eax
jne 0x421c13
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004218e0
add esp, 4
xor eax, eax
jmp 0x421ceb
push 0
mov edx, dword [ebp - 0xc]
add edx, 0xa8
push edx
call fcn.00421d80
add esp, 8
push 0
mov eax, dword [ebp - 0xc]
add eax, 0xac
push eax
call fcn.00421db0
add esp, 8
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 0x3e4
push ecx
call fcn.00421db0
add esp, 8
push 0
mov edx, dword [ebp - 0xc]
add edx, 0x3dc
push edx
call fcn.00421db0
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
push 0x4287f0
call fcn.0041ccf0
add esp, 8
mov dword [ebp - 8], 0
jmp 0x421c85
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x54]
push eax
call fcn.00438e0c
add esp, 4
cmp dword [ebp - 8], eax
jge 0x421ce8
mov ecx, dword [ebp - 0xc]
push ecx
push 0x422940
call fcn.0041ccf0
add esp, 8
test eax, eax
je 0x421cd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_start_worker_thread:__ld
mov edx, dword [ebp - 0xc]
push edx
call fcn.00421d00
add esp, 4
push eax
call fcn.0041f500
add esp, 0xc
jmp 0x421ce6
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xa4]
add ecx, 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xa4], ecx
jmp 0x421c7c
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004320d5
mov esp, ebp
pop ebp
ret