Function at 0x1007a9d6
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x14
call fcn.100910d0
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
add ebx, 8
push ebx
push 0x109
call fcn.100910d0
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10117622
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x109
call fcn.100910d0
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10117622
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
mov dword [ebp - 8], 0
push 0x18
call fcn.100910d0
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x101175b4
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 4
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 4]
push eax
push 0x208
call fcn.100910d0
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push 0x202
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1007ab14
push 0
push 0x40f7db8
push 6
call fcn.100910e2
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.10091d50
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x1007ab61
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1007ab5f
imul eax, dword [edi]
jmp 0x1007ab54
mov ecx, eax
cmp ecx, 0x101
jle 0x1007ab6e
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.10091d50
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x1007abac
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1007abaa
imul eax, dword [edi]
jmp 0x1007ab9f
mov ecx, eax
cmp ecx, 0x101
jle 0x1007abb9
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1007ac0a
push 0x3c
push 0x40f7db8
push 6
call fcn.100910e2
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1007adf8
push 8
call fcn.100910d0
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x100f234f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x14]
push eax
push 1
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.10021bb8
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0xc]
call fcn.100020aa
mov eax, 3
cmp eax, ecx
jl 0x1007ac7f
push 0xc9
push 0x40f7db8
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
je 0x1007adf8
mov ebx, dword [ebp - 0xc]
call fcn.100020aa
mov eax, 3
cmp eax, ecx
jl 0x1007acbb
push 0xf3
push 0x40f7db8
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0xc]
call fcn.100020aa
mov eax, 3
cmp eax, ecx
jl 0x1007aceb
push 0xf3
push 0x40f7db8
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x18], ebx
push 8
call fcn.100910d0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x100f234f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.10020d34
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0xc]
call fcn.100020aa
mov eax, 3
cmp eax, ecx
jl 0x1007ad55
push 0x132
push 0x40f7db8
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
je 0x1007adf8
mov ebx, dword [ebp - 0xc]
call fcn.100020aa
mov eax, 3
cmp eax, ecx
jl 0x1007ad91
push 0x15c
push 0x40f7db8
push 1
call fcn.100910e2
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push 8
call fcn.100910d0
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x100f234f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.10020d34
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.1006d379
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1007adf4
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1007ae21
push 0x1e3
push 0x40f7db8
push 6
call fcn.100910e2
add esp, 0xc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1007ae3d
push eax
mov ebx, eax
call fcn.1000133b
inc eax
push eax
call fcn.100910d0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1007ae42
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.100910d6
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.100910d6
add esp, 4
pop ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.100910d6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1007ae8b
push ebx
call fcn.100910d6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc