Function at 0x403b80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x575916
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x5d61f0]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
push edi
mov eax, dword [0x5d61f0]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
push 0
push 0x5ac810
mov ecx, ebx
mov dword [esp + 0x40], ebx
call fcn.00402470
push ebx
call fcn.00402740
mov esi, dword [ebx]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403c0c
test dx, dx
je 0x403c08
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403c0c
add eax, 4
add ecx, 4
test dx, dx
jne 0x403be6
xor eax, eax
jmp 0x403c11
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x403c20
cmp dword [esi - 0xc], 0
jne 0x403c28
push ebx
mov ecx, edi
call fcn.00402900
mov esi, dword [ebx]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403c57
test dx, dx
je 0x403c53
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403c57
add eax, 4
add ecx, 4
test dx, dx
jne 0x403c31
xor eax, eax
jmp 0x403c5c
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x403c6f
cmp dword [esi - 0xc], 0
jne 0x40404e
mov dword [esp + 0x40], vtable.CArray_struct_stNetPcInfo__struct_stNetPcInfo__.0
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x1fc], 0
call fcn.00402db0
lea ecx, [esp + 0x18]
call fcn.00403970
mov byte [esp + 0x1f8], 1
mov edi, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x3c], eax
test edi, edi
jle 0x404012
mov ebx, dword [esp + 0x44]
add ebx, 8
mov dword [esp + 0x14], ebx
lea ebx, [ebx]
test eax, eax
js 0x404096
cmp eax, edi
jge 0x404096
mov ecx, dword [ebx - 8]
mov esi, dword [esp + 0x18]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x403d49
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403d3c
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x403d3c
push edx
call fcn.00402680
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403d2f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jmp 0x403d49
push dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402470
mov ecx, dword [ebx - 4]
mov esi, dword [esp + 0x1c]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x403da2
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403d95
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x403d95
push edx
call fcn.00402680
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403d88
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jmp 0x403da2
push dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402470
mov ecx, dword [ebx]
mov esi, dword [esp + 0x20]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x403dfa
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403ded
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x403ded
push edx
call fcn.00402680
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403de0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x403dfa
push dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x28]
call fcn.00402470
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x24]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x403e53
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403e46
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x403e46
push edx
call fcn.00402680
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403e39
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x403e53
push dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402470
mov ecx, dword [ebx + 8]
mov esi, dword [esp + 0x28]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x403eac
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403e9f
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x403e9f
push edx
call fcn.00402680
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403e92
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
jmp 0x403eac
push dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.00402470
mov ecx, dword [ebx + 0xc]
mov esi, dword [esp + 0x2c]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x403f05
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403ef8
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x403ef8
push edx
call fcn.00402680
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403eeb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
jmp 0x403f05
push dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x34]
call fcn.00402470
mov ecx, dword [ebx + 0x10]
mov esi, dword [esp + 0x30]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x403f5e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403f51
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x403f51
push edx
call fcn.00402680
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403f44
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
jmp 0x403f5e
push dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x38]
call fcn.00402470
mov ecx, dword [ebx + 0x14]
mov esi, dword [esp + 0x34]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x403fb7
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403faa
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x403faa
push edx
call fcn.00402680
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x403f9d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
jmp 0x403fb7
push dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00402470
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x403ff2
mov esi, dword [esp + 0x28]
cmp dword [esi - 0xc], 0
jl 0x40407d
push str.VMware
push esi
call fcn.00549bff
add esp, 8
test eax, eax
je 0x40407d
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x40407d
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
inc eax
add ebx, 0x20
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], ebx
cmp eax, edi
jl 0x403ce0
mov ebx, dword [esp + 0x38]
lea ecx, [esp + 0x18]
call fcn.00403a90
mov dword [esp + 0x1f8], 0xffffffff
mov eax, dword [esp + 0x44]
test eax, eax
je 0x40404e
test edi, edi
jle 0x404045
mov esi, eax
mov ecx, esi
call fcn.00403a90
add esi, 0x20
dec edi
jne 0x404034
mov eax, dword [esp + 0x44]
push eax
call fcn.00426e01
add esp, 4
mov esi, dword [ebx]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40409b
test dx, dx
je 0x404079
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40409b
add eax, 4
add ecx, 4
test dx, dx
jne 0x404057
xor eax, eax
jmp 0x4040a0
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00402530
mov edi, dword [esp + 0x48]
jmp 0x404012
call fcn.004276af
sbb eax, eax
or eax, 1
test eax, eax
je 0x4040aa
cmp dword [esi - 0xc], 0
jne 0x4040c2
lea eax, [esp + 0x54]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4040c2
mov ecx, ebx
call fcn.00402a90
mov esi, dword [ebx]
mov ecx, str.00_00_00_00_00_00
mov eax, esi
jmp 0x4040d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4040f6
test dx, dx
je 0x4040f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4040f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4040d0
xor eax, eax
jmp 0x4040fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x404105
cmp dword [esi - 0xc], 0
jne 0x40410b
push ebx
call fcn.00402830
mov eax, dword [ebx]
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x40411e
push 0x80070057
call fcn.00402650
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or ecx, eax
jge 0x404137
push esi
mov ecx, ebx
call fcn.00402390
lea eax, [esi + 1]
push eax
push dword [ebx]
call fcn.0054a654
mov eax, dword [ebx]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x404114
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax + esi*2], cx
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.0054940a
mov esp, ebp
pop ebp
ret 4