Function at 0x417090
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x494ee6
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x4b9a40]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9a40]
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 0x49f6f4
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.00402230
push edi
call fcn.004160f0
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 0x417117
cmp dx, bp
je 0x417113
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417117
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4170f1
xor eax, eax
jmp 0x41711c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
sete al
test al, al
jne 0x41712a
cmp dword [ebx - 0xc], ebp
jne 0x417130
push edi
call fcn.004162a0
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 0x417166
cmp dx, bp
je 0x417162
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417166
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x417140
xor eax, eax
jmp 0x41716b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
sete al
test al, al
jne 0x41717d
cmp dword [esi - 0xc], ebp
jne 0x4172d4
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.004166c0
lea esi, [esp + 0x2c]
call fcn.00416e70
mov byte [esp + 0x1e8], 1
mov ebx, dword [esp + 0x20]
test ebx, ebx
jle 0x417290
mov esi, dword [esp + 0x1c]
add esi, 8
lea ebx, [ebx]
test ebp, ebp
jl 0x41731d
cmp ebp, ebx
jge 0x41731d
lea ecx, [esi - 8]
push ecx
lea ecx, [esp + 0x30]
call fcn.00401f70
lea edx, [esi - 4]
push edx
lea ecx, [esp + 0x34]
call fcn.00401f70
push esi
lea ecx, [esp + 0x38]
call fcn.00401f70
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f70
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x40]
call fcn.00401f70
lea edx, [esi + 0xc]
push edx
lea ecx, [esp + 0x44]
call fcn.00401f70
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x48]
call fcn.00401f70
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401f70
mov edx, dword [esp + 0x30]
cmp dword [edx - 0xc], 0
je 0x417284
mov edi, dword [esp + 0x3c]
cmp dword [edi - 0xc], 0
jl 0x417306
push str.VMware
push edi
call fcn.004615df
add esp, 8
test eax, eax
je 0x417306
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x417306
mov edi, dword [esp + 0x14]
inc ebp
add esi, 0x20
cmp ebp, ebx
jl 0x4171d0
lea eax, [esp + 0x2c]
call fcn.00416f90
mov dword [esp + 0x1e8], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4172d2
test ebx, ebx
jle 0x4172c9
mov edi, ebx
mov eax, esi
call fcn.00416f90
add esi, 0x20
sub edi, 1
jne 0x4172b2
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push esi
call fcn.00441f68
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 0x417322
cmp dx, bp
je 0x417302
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417322
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4172e0
xor eax, eax
jmp 0x417327
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
call fcn.00401f70
mov edi, dword [esp + 0x14]
jmp 0x417290
call fcn.00443ee3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x417330
cmp dword [esi - 0xc], ebp
jne 0x417347
lea ecx, [esp + 0x4c]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x417347
push edi
call fcn.004163e0
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 0x417376
cmp dx, bp
je 0x417372
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x417376
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x417350
xor eax, eax
jmp 0x41737b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x417384
cmp dword [esi - 0xc], ebp
jne 0x41738a
push edi
call fcn.004161d0
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 0x4173a8
push esi
mov ecx, edi
call fcn.004022e0
mov edx, dword [edi]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0046145e
add esp, 8
cmp esi, ebp
jl 0x4173f5
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4173f5
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.00460ba5
add esp, 0x1d8
ret
push 0x80070057
call fcn.004010b0
int3