Function at 0x40dac0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x445676
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x459930]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x459930]
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.004046a0
lea eax, [esp + 0x54]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40db2d
push ebp
call fcn.0040ce10
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 0x40db5d
test dx, dx
je 0x40db59
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40db5d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40db37
xor eax, eax
jmp 0x40db62
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40db71
cmp dword [edi - 0xc], 0
jne 0x40db77
push ebp
call fcn.0040ccd0
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 0x40dba7
test dx, dx
je 0x40dba3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40dba7
add eax, 4
add ecx, 4
test dx, dx
jne 0x40db81
xor eax, eax
jmp 0x40dbac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x40dbbf
cmp dword [esi - 0xc], 0
jne 0x40df78
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.0040d0f0
lea esi, [esp + 0x18]
call fcn.0040d8a0
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 0x40df3e
add ebx, 8
test eax, eax
jl 0x40dfc1
cmp eax, edi
jge 0x40dfc1
mov eax, dword [ebx - 8]
mov esi, dword [esp + 0x18]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40dc7c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40dc6e
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40dc6e
push ecx
call fcn.00404850
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40dc65
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 0x40dc7c
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004046a0
mov eax, dword [ebx - 4]
mov esi, dword [esp + 0x1c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40dcd4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40dcc6
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40dcc6
push ecx
call fcn.00404850
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40dcbd
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 0x40dcd4
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.004046a0
mov eax, dword [ebx]
mov esi, dword [esp + 0x20]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40dd2b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40dd1d
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40dd1d
push ecx
call fcn.00404850
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40dd14
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 0x40dd2b
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004046a0
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x24]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40dd83
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40dd75
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40dd75
push ecx
call fcn.00404850
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40dd6c
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 0x40dd83
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.004046a0
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x28]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40dddb
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40ddcd
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40ddcd
push ecx
call fcn.00404850
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40ddc4
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 0x40dddb
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004046a0
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x2c]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40de33
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40de25
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40de25
push ecx
call fcn.00404850
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40de1c
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 0x40de33
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.004046a0
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x30]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40de8b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40de7d
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40de7d
push ecx
call fcn.00404850
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40de74
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 0x40de8b
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.004046a0
mov eax, dword [ebx + 0x14]
mov esi, dword [esp + 0x34]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40dee3
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40ded5
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x40ded5
push ecx
call fcn.00404850
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40decc
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 0x40dee3
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.004046a0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x40df1e
mov esi, dword [esp + 0x28]
cmp dword [esi - 0xc], 0
jl 0x40dfa8
push str.VMware
push esi
call fcn.0042e116
add esp, 8
test eax, eax
je 0x40dfa8
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x40dfa8
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
inc eax
add ebx, 0x20
cmp eax, edi
mov dword [esp + 0x3c], eax
jl 0x40dc14
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x18]
call fcn.0040d9c0
mov dword [esp + 0x384], 0xffffffff
test ebx, ebx
je 0x40df78
test edi, edi
jle 0x40df6f
mov esi, ebx
lea esp, [esp]
mov eax, esi
call fcn.0040d9c0
add esi, 0x20
sub edi, 1
jne 0x40df60
push ebx
call fcn.0040f815
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 0x40dfc6
test dx, dx
je 0x40dfa4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40dfc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40df82
xor eax, eax
jmp 0x40dfcb
mov ebp, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.00404750
mov edi, dword [esp + 0x48]
jmp 0x40df3a
call fcn.0040fab2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40dfd5
cmp dword [esi - 0xc], 0
jne 0x40dfef
lea eax, [esp + 0x1e4]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40dfef
push ebp
call fcn.0040ce10
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 0x40e026
test dx, dx
je 0x40e022
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e026
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e000
xor eax, eax
jmp 0x40e02b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40e035
cmp dword [esi - 0xc], 0
jne 0x40e03b
push ebp
call fcn.0040cc00
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 0x40e05a
push esi
mov ecx, ebp
call fcn.00404a40
mov ecx, dword [ebp]
lea eax, [esi + 1]
push eax
push ecx
call fcn.0042eaca
add esp, 8
test esi, esi
jl 0x40e0ac
mov eax, dword [ebp]
cmp esi, dword [eax - 8]
jg 0x40e0ac
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.0042d6a0
add esp, 0x374
ret 4
push 0x80070057
call fcn.004049d0
int3