Function at 0x10010b4c
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x1c
call fcn.10014c4d
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 8
push ebx
push 0x109
call fcn.10014c4d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1001d1b3
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 0x89
call fcn.10014c4d
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1001d1bb
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x81
rep stosb byte es:[edi], al
mov dword [ebp - 8], 0
push 0x14
call fcn.10014c4d
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
push eax
push 0x18e
call fcn.10014c4d
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 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, 0x81
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
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
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.10015320
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 0x10010cc6
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10010cc4
imul eax, dword [edi]
jmp 0x10010cb9
mov ecx, eax
cmp ecx, 0x101
jle 0x10010cd3
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.10015320
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 0x10010d11
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10010d0f
imul eax, dword [edi]
jmp 0x10010d04
mov ecx, eax
cmp ecx, 0x81
jle 0x10010d1e
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x81
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
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.10014c47
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100110b3
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100110a9
push 0x10
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push eax
push 0x10
call fcn.10014c4d
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
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
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
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
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.10014c47
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
push 0x80000301
push 0
push 4
push 0x80000301
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.10015d80
add esp, 0x1c
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10010e80
mov eax, 0x1001a201
push eax
push 3
mov ebx, 0x19c
call fcn.10015f00
add esp, 0x28
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10010eac
push ebx
call fcn.10014c47
add esp, 4
push 0x80000301
push 0
push 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp ecx, 0x80000101
jne 0x10010ed0
and eax, 0xff
jmp 0x10010f25
cmp ecx, 0x80000201
jne 0x10010edb
cwde
jmp 0x10010f25
cmp ecx, 0x80000301
je 0x10010f25
cmp ecx, 0x80000401
je 0x10010f25
mov dword [ebp - 0x2c], eax
cmp ecx, 0x80000501
je 0x10010f15
cmp ecx, 0x80000601
je 0x10010f1a
push 0x2dd
push 0x4052a87
push 2
call fcn.10014c5f
add esp, 0xc
fld dword [ebp - 0x2c]
jmp 0x10010f20
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.10001173
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.10015d80
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10010f56
push ebx
call fcn.10014c47
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x14]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.10015500
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x1c]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.10015500
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x24]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.10015500
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 3
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x2c]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.10015500
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x1001a47b
push dword [ebp - 0x28]
push 0x1001a47b
push dword [ebp - 0x20]
push 0x1001a47b
push dword [ebp - 0x18]
mov ecx, 7
call fcn.1000106b
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10011071
push ebx
call fcn.10014c47
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10011081
push ebx
call fcn.10014c47
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10011091
push ebx
call fcn.10014c47
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100110a1
push ebx
call fcn.10014c47
add esp, 4
mov eax, dword [ebp - 0x34]
jmp 0x100110dc
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
nop
nop
push 0xa0000301
push 0
push 0x1001a201
push 1
mov ebx, 0x168
call fcn.10015500
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x100110dc
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10014c47
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10014c47
add esp, 4
pop ebx
call fcn.10014c47
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.10014c47
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10011125
push ebx
call fcn.10014c47
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4