Function at 0x416370
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x494116
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x4b7a40]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7a40]
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 0x49e6f4
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.00402260
push edi
call fcn.004153d0
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 0x4163f7
cmp dx, bp
je 0x4163f3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4163f7
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4163d1
xor eax, eax
jmp 0x4163fc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
sete al
test al, al
jne 0x41640a
cmp dword [ebx - 0xc], ebp
jne 0x416410
push edi
call fcn.00415580
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 0x416446
cmp dx, bp
je 0x416442
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416446
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x416420
xor eax, eax
jmp 0x41644b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
sete al
test al, al
jne 0x41645d
cmp dword [esi - 0xc], ebp
jne 0x4165b4
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.004159a0
lea esi, [esp + 0x2c]
call fcn.00416150
mov byte [esp + 0x1e8], 1
mov ebx, dword [esp + 0x20]
test ebx, ebx
jle 0x416570
mov esi, dword [esp + 0x1c]
add esi, 8
lea ebx, [ebx]
test ebp, ebp
jl 0x4165fd
cmp ebp, ebx
jge 0x4165fd
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 0x416564
mov edi, dword [esp + 0x3c]
cmp dword [edi - 0xc], 0
jl 0x4165e6
push str.VMware
push edi
call fcn.00460993
add esp, 8
test eax, eax
je 0x4165e6
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x4165e6
mov edi, dword [esp + 0x14]
inc ebp
add esi, 0x20
cmp ebp, ebx
jl 0x4164b0
lea eax, [esp + 0x2c]
call fcn.00416270
mov dword [esp + 0x1e8], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4165b2
test ebx, ebx
jle 0x4165a9
mov edi, ebx
mov eax, esi
call fcn.00416270
add esi, 0x20
sub edi, 1
jne 0x416592
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push esi
call fcn.00441318
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 0x416602
cmp dx, bp
je 0x4165e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416602
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x4165c0
xor eax, eax
jmp 0x416607
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
call fcn.00401f70
mov edi, dword [esp + 0x14]
jmp 0x416570
call fcn.004432c7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x416610
cmp dword [esi - 0xc], ebp
jne 0x416627
lea ecx, [esp + 0x4c]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x416627
push edi
call fcn.004156c0
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 0x416656
cmp dx, bp
je 0x416652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416656
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x416630
xor eax, eax
jmp 0x41665b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x416664
cmp dword [esi - 0xc], ebp
jne 0x41666a
push edi
call fcn.004154b0
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 0x416688
push esi
mov ecx, edi
call fcn.00402310
mov edx, dword [edi]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.00460812
add esp, 8
cmp esi, ebp
jl 0x4166d5
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x4166d5
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.0045ff59
add esp, 0x1d8
ret
push 0x80070057
call fcn.004010b0
int3