Function at 0x755f8d80
Capabilities:
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x756291d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x10]
push edi
xor edi, edi
mov dword [ebp - 0x19c], edi
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x755f8dbf
test dword [eax + 0x1c], 0x4000
jne 0x7560bc93
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor ecx, ecx
mov dword [ebp - 0x198], eax
cmp eax, ecx
jne 0x755f8f5b
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x19c], 1
test eax, 0x2000
je 0x755f8e3f
test eax, 0x400
jne 0x755f8e3f
cmp dword [0x75629408], ecx
je 0x755f8e3f
movzx eax, word [esi + 0xc]
push eax
push dword [esi + 0x80]
call sym.DNSAPI.dll_NetInfo_IsAddrConfig
test eax, eax
je 0x7560825e
test byte [0x75629408], 0x10
jne 0x755f8e3d
movzx eax, word [esi + 0xc]
push eax
push dword [esi + 0x80]
call fcn.755fa11d
test eax, eax
je 0x7560825e
xor ecx, ecx
push ecx
mov eax, ebx
or eax, 0x10000000
push eax
movzx eax, word [esi + 0xc]
push ecx
push eax
push dword [esi + 8]
push ecx
push ecx
call sym.DNSAPI.dll_Dns_BuildPacket
mov edi, eax
test edi, edi
je 0x7560bcc2
mov eax, ebx
shr eax, 0xa
and al, 1
mov byte [edi + 0xc9], al
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edi + 0xca], al
movzx eax, word [esi + 0xc]
push eax
push edi
call fcn.755f9ce9
push 0x70
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x20c], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x208], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0xb4], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x94], eax
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x1fc], ebx
and ebx, 0x200
cmp dword [esi + 0x48], eax
mov dword [ebp - 0x204], edi
setne al
mov dword [ebp - 0x1f8], ebx
mov dword [ebp - 0x1f4], 1
mov dword [edi + 0x9c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x90], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.755f8fa5
mov dword [ebp - 0x198], eax
mov eax, dword [edi + 0xb0]
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 0x1a4]
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x1a8]
mov dword [esi + 0x78], eax
test eax, eax
je 0x756056be
movzx eax, word [eax + 8]
push dword [ebp - 0x198]
push eax
push edi
call fcn.755f920b
mov ebx, dword [esi + 0x78]
test ebx, ebx
je 0x755f8f5b
push ebx
call fcn.755fa3fa
test eax, eax
jne 0x755fb32e
push edi
call fcn.755f30da
cmp dword [ebp - 0x19c], 0
pop edi
pop esi
pop ebx
je 0x755f8f73
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x755f8f8c
test dword [eax + 0x1c], 0x4000
jne 0x7560bd04
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x198]
xor ecx, ebp
call fcn.755f2eaf
leave
ret 4
test dword [esi + 0x10], 0x10000
jne 0x75601903
push ebx
call fcn.755f31d0
and dword [esi + 0x78], 0
cmp dword [ebp - 0x198], 0
jne 0x755f8f5b
jmp 0x7560bcf5
mov ecx, dword [esi + 0x28]
mov eax, 0x100
test cl, 1
je 0x7560bcd1
or dword [esi + 0x60], eax
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x755f8f5b
test dword [eax + 0x1c], 0x4000
je 0x755f8f5b
jmp 0x7560bcde
xor eax, eax
jmp 0x755f8f39
mov eax, dword [0x7562a848]
cmp eax, 0x7562a848
je 0x75608277
test dword [eax + 0x1c], 0x4000
jne 0x7560bcab
mov eax, 0x25e5
mov dword [ebp - 0x198], eax
mov dword [esi + 0x4c], eax
jmp 0x755f8f5b
cmp dword [0x756293d4], 0
je 0x75601914
jmp 0x755fb33b
push esi
push 0x755f4010
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756142f2
jmp 0x755f8dbf
push 0x755f4010
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75613ea9
jmp 0x75608277
mov dword [ebp - 0x198], 0x7b
jmp 0x755f8f5b
test eax, ecx
jne 0x7560828a
jmp 0x755fb33b
push 0x755f4010
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.75613ea9
jmp 0x755f8f5b
mov dword [ebp - 0x198], 0x251d
jmp 0x755f8f5b
mov ecx, dword [ebp - 0x198]
push ecx
call fcn.7562436e
push eax
mov eax, dword [0x7562a848]
push 0x755f4010
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.756183de
jmp 0x755f8f8c