Function at 0x40c0c0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4408ab
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x453f10]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453f10]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1d4]
mov ebp, dword [0x4586c4]
lea ecx, [esp + 0x2c]
push ecx
push 0x202
mov dword [esp + 0x28], eax
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x40c127
or eax, 0xffffffff
jmp 0x40c3c8
push 9
push str..pipe_
lea ecx, [ebp + 0x24]
call fcn.00404b60
lea edi, [esp + 0x18]
call fcn.00410230
mov dword [esp + 0x1cc], 0
mov esi, dword [eax]
test esi, esi
je 0x40c158
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x40c166
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1cc], 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword [ebp + 4], esi
test ecx, ecx
je 0x40c183
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
push 0x4586ad
push 0x24
call fcn.0043e906
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x1cc], 1
test ebx, ebx
je 0x40c218
push ecx
mov esi, esp
mov dword [esi], 0
mov ecx, dword [0x4587e4]
mov dword [esp + 0x1c], esp
mov edi, ecx
test ecx, ecx
je 0x40c1d3
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [esi]
test ecx, ecx
je 0x40c1d3
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [esi], edi
push ecx
mov byte [esp + 0x1d4], 2
mov edi, esp
mov dword [edi], 0
mov esi, dword [ebp + 4]
mov dword [esp + 0x30], esp
test esi, esi
je 0x40c206
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov ecx, dword [edi]
test ecx, ecx
je 0x40c206
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [edi], esi
push ebx
mov byte [esp + 0x1d8], 1
call fcn.0040ff10
jmp 0x40c21a
xor eax, eax
mov dword [esp + 0x1cc], 0xffffffff
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40c11f
push 0
mov esi, eax
call fcn.00410090
cmp eax, 0xffffffff
je 0x40c11f
lea edi, [esp + 0x1c]
call fcn.00410230
mov dword [esp + 0x1cc], 3
mov esi, dword [eax]
lea ebx, [ebp + 8]
test esi, esi
je 0x40c267
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x40c274
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
or edi, 0xffffffff
mov dword [esp + 0x1cc], edi
mov ecx, dword [esp + 0x1c]
mov dword [ebx], esi
test ecx, ecx
je 0x40c28f
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
push 0x4586ad
push 0x24
call fcn.0043e906
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
mov dword [esp + 0x1cc], 4
test esi, esi
je 0x40c2ed
push ecx
mov eax, 0x4587e4
mov edi, esp
mov dword [esp + 0x1c], esp
call fcn.00409de0
push ecx
mov byte [esp + 0x1d4], 5
mov eax, ebx
mov edi, esp
mov dword [esp + 0x2c], esp
call fcn.00409de0
push esi
mov byte [esp + 0x1d8], 4
call fcn.0040ff10
or edi, 0xffffffff
jmp 0x40c2ef
xor eax, eax
mov dword [esp + 0x1cc], edi
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x40c304
mov eax, edi
jmp 0x40c3c8
push 0x200
mov esi, eax
call fcn.00410090
cmp eax, edi
je 0x40c2fd
push 0x4586ad
push 0xc
call fcn.0043e906
add esp, 8
mov dword [esp + 0x24], eax
mov dword [esp + 0x1cc], 6
test eax, eax
je 0x40c341
push ebx
push eax
call fcn.0040ab60
mov esi, eax
jmp 0x40c343
xor esi, esi
mov dword [esp + 0x1cc], edi
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x40c358
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp + 0x18], esi
test esi, esi
je 0x40c2fd
push 0x4586ad
push 0xc
call fcn.0043e906
add esp, 8
test eax, eax
je 0x40c389
lea ecx, [ebp + 0x1c]
mov dword [eax], vtable.sRPC::RpcCodecHandler.0
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
mov esi, eax
jmp 0x40c38b
xor esi, esi
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x40c399
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp + 0x14], esi
test esi, esi
je 0x40c2fd
mov esi, dword [esp + 0x20]
add esi, 0x40
mov ebx, 9
mov edi, dword [esi]
test edi, edi
je 0x40c3be
lea edx, [esi - 0x40]
call fcn.0040ca10
add esi, 0x44
sub ebx, 1
jne 0x40c3b0
xor eax, eax
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.0042bb06
add esp, 0x1bc
ret 4