Function at 0x405170
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x45adc6
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x4737e0]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4737e0]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov edi, edx
xor ebp, ebp
push ebp
mov esi, ecx
push 0x462d74
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.00401ef0
push edi
call fcn.004041d0
mov ebx, dword [edi]
mov ecx, str.00_00_00_00_00_00
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4051f7
cmp dx, bp
je 0x4051f3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4051f7
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4051d1
xor eax, eax
jmp 0x4051fc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
sete al
test al, al
jne 0x40520a
cmp dword [ebx - 0xc], ebp
jne 0x405210
push edi
call fcn.00404380
mov esi, dword [edi]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405246
cmp dx, bp
je 0x405242
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405246
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x405220
xor eax, eax
jmp 0x40524b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
sete al
test al, al
jne 0x40525d
cmp dword [esi - 0xc], ebp
jne 0x4053b4
mov dword [esp + 0x18], vtable.CArray_struct_stNetPcInfo__struct_stNetPcInfo__.0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1ec], ebp
call fcn.004047a0
lea esi, [esp + 0x2c]
call fcn.00404f50
mov byte [esp + 0x1e8], 1
mov ebx, dword [esp + 0x20]
test ebx, ebx
jle 0x405370
mov esi, dword [esp + 0x1c]
add esi, 8
lea ebx, [ebx]
test ebp, ebp
jl 0x4053fd
cmp ebp, ebx
jge 0x4053fd
lea ecx, [esi - 8]
push ecx
lea ecx, [esp + 0x30]
call fcn.00401d60
lea edx, [esi - 4]
push edx
lea ecx, [esp + 0x34]
call fcn.00401d60
push esi
lea ecx, [esp + 0x38]
call fcn.00401d60
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x3c]
call fcn.00401d60
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401d60
lea edx, [esi + 0xc]
push edx
lea ecx, [esp + 0x44]
call fcn.00401d60
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x48]
call fcn.00401d60
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401d60
mov edx, dword [esp + 0x30]
cmp dword [edx - 0xc], 0
je 0x405364
mov edi, dword [esp + 0x3c]
cmp dword [edi - 0xc], 0
jl 0x4053e6
push str.VMware
push edi
call fcn.0043c336
add esp, 8
test eax, eax
je 0x4053e6
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x4053e6
mov edi, dword [esp + 0x14]
inc ebp
add esi, 0x20
cmp ebp, ebx
jl 0x4052b0
lea eax, [esp + 0x2c]
call fcn.00405070
mov dword [esp + 0x1e8], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4053b2
test ebx, ebx
jle 0x4053a9
mov edi, ebx
mov eax, esi
call fcn.00405070
add esi, 0x20
sub edi, 1
jne 0x405392
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push esi
call fcn.0041d37c
add esp, 4
xor ebp, ebp
mov esi, dword [edi]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405402
cmp dx, bp
je 0x4053e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405402
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4053c0
xor eax, eax
jmp 0x405407
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
call fcn.00401d60
mov edi, dword [esp + 0x14]
jmp 0x405370
call fcn.0041d8d8
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x405410
cmp dword [esi - 0xc], ebp
jne 0x405427
lea ecx, [esp + 0x4c]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x405427
push edi
call fcn.004044c0
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 0x405456
cmp dx, bp
je 0x405452
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405456
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x405430
xor eax, eax
jmp 0x40545b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x405464
cmp dword [esi - 0xc], ebp
jne 0x40546a
push edi
call fcn.004042b0
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or edx, eax
jge 0x405488
push esi
mov ecx, edi
call fcn.00401fa0
mov edx, dword [edi]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0043c9ea
add esp, 8
cmp esi, ebp
jl 0x4054d5
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4054d5
mov dword [eax - 0xc], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [eax + esi*2], cx
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.0043bfab
add esp, 0x1d8
ret
push 0x80070057
call fcn.00401090
int3