Function at 0x40ec50
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x446de6
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x45c970]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45c970]
xor eax, esp
push eax
lea eax, [esp + 0x37c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38c]
push 0x11
mov esi, ecx
push str.00_00_00_00_00_00
mov ecx, ebp
mov dword [esp + 0x40], ebp
call fcn.00401700
lea eax, [esp + 0x54]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40ecbd
push ebp
call fcn.0040dfa0
mov edi, dword [ebp]
mov ecx, str.00_00_00_00_00_00
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40eced
test dx, dx
je 0x40ece9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40eced
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ecc7
xor eax, eax
jmp 0x40ecf2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40ed01
cmp dword [edi - 0xc], 0
jne 0x40ed07
push ebp
call fcn.0040de60
mov esi, dword [ebp]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ed37
test dx, dx
je 0x40ed33
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ed37
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ed11
xor eax, eax
jmp 0x40ed3c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40ed4f
cmp dword [esi - 0xc], 0
jne 0x40f108
xor ebx, ebx
mov dword [esp + 0x40], vtable.CArray_struct_stNetPcInfo__struct_stNetPcInfo__.0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x388], ebx
call fcn.0040e280
lea esi, [esp + 0x18]
call fcn.0040ea30
mov byte [esp + 0x384], 1
mov edi, dword [esp + 0x48]
xor eax, eax
cmp edi, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
jle 0x40f0ce
add ebx, 8
test eax, eax
jl 0x40f151
cmp eax, edi
jge 0x40f151
mov eax, dword [ebx - 8]
mov esi, dword [esp + 0x18]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40ee0c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40edfe
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40edfe
push ecx
call fcn.004018d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40edf5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x40ee0c
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401700
mov eax, dword [ebx - 4]
mov esi, dword [esp + 0x1c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40ee64
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40ee56
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40ee56
push ecx
call fcn.004018d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40ee4d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x1c], ebp
jmp 0x40ee64
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00401700
mov eax, dword [ebx]
mov esi, dword [esp + 0x20]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40eebb
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40eead
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40eead
push ecx
call fcn.004018d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40eea4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x20], ebp
jmp 0x40eebb
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401700
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x24]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40ef13
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40ef05
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40ef05
push ecx
call fcn.004018d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40eefc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x24], ebp
jmp 0x40ef13
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00401700
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x28]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40ef6b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40ef5d
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40ef5d
push ecx
call fcn.004018d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40ef54
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x28], ebp
jmp 0x40ef6b
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401700
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x2c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40efc3
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40efb5
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40efb5
push ecx
call fcn.004018d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40efac
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x2c], ebp
jmp 0x40efc3
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00401700
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x30]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40f01b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40f00d
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40f00d
push ecx
call fcn.004018d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40f004
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x30], ebp
jmp 0x40f01b
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00401700
mov eax, dword [ebx + 0x14]
mov esi, dword [esp + 0x34]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40f073
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40f065
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40f065
push ecx
call fcn.004018d0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40f05c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x34], ebp
jmp 0x40f073
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401700
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x40f0ae
mov esi, dword [esp + 0x28]
cmp dword [esi - 0xc], 0
jl 0x40f138
push str.VMware
push esi
call fcn.0042f15f
add esp, 8
test eax, eax
je 0x40f138
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x40f138
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
inc eax
add ebx, 0x20
cmp eax, edi
mov dword [esp + 0x3c], eax
jl 0x40eda4
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x18]
call fcn.0040eb50
mov dword [esp + 0x384], 0xffffffff
test ebx, ebx
je 0x40f108
test edi, edi
jle 0x40f0ff
mov esi, ebx
lea esp, [esp]
mov eax, esi
call fcn.0040eb50
add esi, 0x20
sub edi, 1
jne 0x40f0f0
push ebx
call fcn.004109a5
add esp, 4
mov esi, dword [ebp]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f156
test dx, dx
je 0x40f134
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f156
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f112
xor eax, eax
jmp 0x40f15b
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.004017b0
mov edi, dword [esp + 0x48]
jmp 0x40f0ca
call fcn.00410c42
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f165
cmp dword [esi - 0xc], 0
jne 0x40f17f
lea eax, [esp + 0x1e4]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40f17f
push ebp
call fcn.0040dfa0
mov esi, dword [ebp]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f1b6
test dx, dx
je 0x40f1b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f1b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f190
xor eax, eax
jmp 0x40f1bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40f1c5
cmp dword [esi - 0xc], 0
jne 0x40f1cb
push ebp
call fcn.0040dd90
mov eax, dword [ebp]
mov esi, dword [eax - 0xc]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x40f1ea
push esi
mov ecx, ebp
call fcn.00401650
mov ecx, dword [ebp]
lea eax, [esi + 1]
push eax
push ecx
call fcn.0043035a
add esp, 8
test esi, esi
jl 0x40f23c
mov eax, dword [ebp]
cmp esi, dword [eax - 8]
jg 0x40f23c
mov dword [eax - 0xc], esi
mov edx, dword [ebp]
xor eax, eax
mov word [edx + esi*2], ax
mov ecx, dword [esp + 0x37c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.0042ece6
add esp, 0x374
ret 4
push 0x80070057
call fcn.004018a0
int3