Function at 0x405900
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4410a6
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x4558c0]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
push edi
mov eax, dword [0x4558c0]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov ebx, edx
push 0
mov esi, ecx
push 0x448320
mov ecx, ebx
mov dword [esp + 0x40], ebx
call fcn.00401df0
push ebx
call fcn.004046f0
mov edi, dword [ebx]
mov ecx, str.00_00_00_00_00_00
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40598b
test dx, dx
je 0x405987
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40598b
add eax, 4
add ecx, 4
test dx, dx
jne 0x405965
xor eax, eax
jmp 0x405990
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40599f
cmp dword [edi - 0xc], 0
jne 0x4059a5
push ebx
call fcn.004048a0
mov esi, dword [ebx]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4059d6
test dx, dx
je 0x4059d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4059d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4059b0
xor eax, eax
jmp 0x4059db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4059ee
cmp dword [esi - 0xc], 0
jne 0x405dc8
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 eax, [esp + 0x40]
push eax
mov dword [esp + 0x1fc], ebx
call fcn.00404cc0
lea esi, [esp + 0x18]
call fcn.004056e0
mov byte [esp + 0x1f8], 1
mov edi, dword [esp + 0x48]
xor eax, eax
cmp edi, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
jle 0x405d8f
add ebx, 8
mov dword [esp + 0x14], ebx
test eax, eax
jl 0x405e12
cmp eax, edi
jge 0x405e12
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
mov esi, dword [esp + 0x18]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x405ab3
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x405aa5
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x405aa5
push ecx
call fcn.00401ef0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x405a9c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x405ab3
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401df0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 4]
mov esi, dword [esp + 0x1c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x405b0f
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x405b01
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x405b01
push ecx
call fcn.00401ef0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x405af8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x405b0f
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00401df0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov esi, dword [esp + 0x20]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x405b6a
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x405b5c
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x405b5c
push ecx
call fcn.00401ef0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x405b53
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x20], ebx
jmp 0x405b6a
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401df0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov esi, dword [esp + 0x24]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x405bc6
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x405bb8
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x405bb8
push ecx
call fcn.00401ef0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x405baf
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x24], ebx
jmp 0x405bc6
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00401df0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x28]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x405c22
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x405c14
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x405c14
push ecx
call fcn.00401ef0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x405c0b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x28], ebx
jmp 0x405c22
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401df0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov esi, dword [esp + 0x2c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x405c7e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x405c70
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x405c70
push ecx
call fcn.00401ef0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x405c67
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x2c], ebx
jmp 0x405c7e
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00401df0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x30]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x405cda
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x405ccc
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x405ccc
push ecx
call fcn.00401ef0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x405cc3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x30], ebx
jmp 0x405cda
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00401df0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
mov esi, dword [esp + 0x34]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x405d36
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x405d28
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x405d28
push ecx
call fcn.00401ef0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x405d1f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x34], ebx
jmp 0x405d36
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00401df0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x405d71
mov esi, dword [esp + 0x28]
cmp dword [esi - 0xc], 0
jl 0x405dfb
push str.VMware
push esi
call fcn.00429c25
add esp, 8
test eax, eax
je 0x405dfb
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x405dfb
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
add dword [esp + 0x14], 0x20
inc eax
cmp eax, edi
mov dword [esp + 0x3c], eax
jl 0x405a47
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x18]
call fcn.00405800
mov dword [esp + 0x1f8], 0xffffffff
test ebx, ebx
je 0x405dc8
test edi, edi
jle 0x405dbf
mov esi, ebx
lea ecx, [ecx]
mov eax, esi
call fcn.00405800
add esi, 0x20
sub edi, 1
jne 0x405db0
push ebx
call fcn.0040b69f
add esp, 4
mov edi, dword [esp + 0x38]
mov esi, dword [edi]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405e17
test dx, dx
je 0x405df7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405e17
add eax, 4
add ecx, 4
test dx, dx
jne 0x405dd5
xor eax, eax
jmp 0x405e1c
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push edx
call fcn.00401b80
mov edi, dword [esp + 0x48]
jmp 0x405d8b
call fcn.0040cea9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x405e26
cmp dword [esi - 0xc], 0
jne 0x405e3d
lea eax, [esp + 0x54]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x405e3d
push edi
call fcn.004049e0
mov esi, dword [edi]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405e6c
test dx, dx
je 0x405e68
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405e6c
add eax, 4
add ecx, 4
test dx, dx
jne 0x405e46
xor eax, eax
jmp 0x405e71
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x405e7b
cmp dword [esi - 0xc], 0
jne 0x405e81
push edi
call fcn.004047d0
mov eax, dword [edi]
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 0x405e9f
push esi
mov ecx, edi
call fcn.00401ea0
mov ecx, dword [edi]
lea eax, [esi + 1]
push eax
push ecx
call fcn.00429be2
add esp, 8
test esi, esi
jl 0x405ee8
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x405ee8
mov dword [eax - 0xc], esi
mov edx, dword [edi]
xor eax, eax
mov word [edx + esi*2], ax
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.004293f9
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401090
int3