Function at 0x10192410
Capabilities:
Connect socket
Get hostname
Send data
Send data on socket

Disassembly:
sub esp, 0x3c
mov eax, dword [0x10252964]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
mov eax, 2
mov word [esp + 0x38], ax
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov eax, dword [edi + 0x54]
mov dword [esp + 0x3c], eax
movzx eax, word [0x10264f1c]
push eax
call sub.WS2_32.dll_htons
mov word [esp + 0x3a], ax
lea eax, [esp + 0x38]
push 0x10
push eax
push dword [edi + 4]
call sub.WS2_32.dll_connect
test eax, eax
jns 0x10192481
cmp dword [esp + 0x54], 0
mov eax, 0x69
mov ecx, 0x63
cmovne eax, ecx
mov dword [0x102516d4], eax
jmp 0x10192760
push dword [esp + 0x60]
push 0x200
push dword [edi + 0x60]
call fcn.10194470
mov esi, eax
xor ebp, ebp
push pe_nt_image_headers32
mov dword [esp + 0x14], esi
call fcn.1018f940
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x101924d7
push pe_nt_image_headers32
push ebx
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
je 0x101924ce
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101924c2
sub ecx, edx
lea ebp, [ecx + 1]
push ebx
call fcn.100f260c
add esp, 4
push 0x220
lea eax, [esi + 0x24]
add eax, ebp
push eax
push 0x13
call fcn.1018fb80
mov ebx, eax
test ebx, ebx
je 0x10192760
mov esi, dword [edi + 0x3c]
and esi, 0xf00000
call fcn.10191d80
mov edx, dword [edi + 0xc]
movzx ecx, al
mov eax, edx
shl ecx, 0x18
or ecx, esi
mov esi, ecx
or esi, 1
and al, 1
cmove esi, ecx
test dl, 8
je 0x1019252a
or esi, 8
mov dword [0x10264efc], 1
mov dword [ebx + 8], esi
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], ebp
test esi, esi
je 0x10192568
push esi
push dword [edi + 0x60]
push eax
call fcn.101d7d20
add esp, 0xc
lea eax, [ebx + 0x24]
push esi
push dword [edi + 0x60]
push eax
call fcn.101d7d20
lea eax, [esi + 0x24]
add esp, 0xc
xor esi, esi
add eax, ebx
jne 0x1019258d
push ebp
call fcn.1018f940
mov esi, eax
add esp, 4
test esi, esi
je 0x1019259d
push ebp
push eax
call sub.WS2_32.dll_gethostname
push esi
call fcn.100f260c
add esp, 4
movzx eax, word [ebx + 2]
push 0
push eax
push ebx
push dword [edi + 4]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x101925c1
mov dword [0x102516d4], 0x61
jmp 0x10192757
push 0x3a98
push 0x13
push edi
call fcn.10193a20
mov esi, eax
test esi, esi
je 0x10192757
movzx eax, word [esi + 4]
test ax, ax
je 0x101925eb
mov dword [0x102516d4], eax
jmp 0x10192757
mov ebp, dword [esi + 0x1c]
test ebp, ebp
je 0x1019274d
cmp ebp, 1
je 0x1019274d
cmp dword [esp + 0x54], 0
mov ax, word [esi + 0x14]
mov word [edi + 0x44], ax
jne 0x1019261e
movzx eax, word [esi + 0x10]
mov word [edi + 0x48], ax
movzx eax, word [esi + 0xc]
mov word [edi + 0x46], ax
mov eax, dword [esi + 0x18]
push eax
mov dword [esp + 0x14], eax
call fcn.1018f940
add esp, 4
mov dword [edi + 0x40], eax
test eax, eax
je 0x10192757
push dword [esp + 0x10]
add esi, 0x20
push esi
push eax
call fcn.101d7d20
mov eax, dword [edi + 0x40]
add esp, 0xc
cmp dword [esp + 0x64], 0
mov dword [edi + 0x24], eax
je 0x1019272d
lea eax, [esp + 0x14]
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
push eax
movups xmmword [esp + 0x28], xmm0
push edi
mov byte [esp + 0x1c], 0xb2
mov byte [esp + 0x1e], 0x1c
mov byte [esp + 0x20], 0x34
mov byte [esp + 0x22], 0x2c
mov dword [esp + 0x24], ebp
mov byte [esp + 0x28], 0x13
mov byte [esp + 0x2c], 0x20
call fcn.101936d0
test eax, eax
je 0x1019272d
push 0x1388
push dword [esp + 0x1e]
push edi
call fcn.10193a20
test eax, eax
je 0x1019272d
cmp word [eax + 4], 0
jne 0x1019272d
movzx eax, word [esi]
imul ecx, eax, 0x3e8
movzx eax, word [esi + 2]
add ecx, eax
cmp ecx, dword [esp + 0x64]
jge 0x1019272d
xor eax, eax
xorps xmm0, xmm0
mov word [edi + 0x44], ax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
push eax
push edi
movups xmmword [esp + 0x2c], xmm0
mov byte [esp + 0x1c], 0xb2
mov byte [esp + 0x1e], 0x14
mov byte [esp + 0x20], 0x14
mov byte [esp + 0x22], 0x24
mov dword [esp + 0x24], ebp
call fcn.101936d0
test eax, eax
je 0x10192721
push 0x1388
push dword [esp + 0x1e]
push edi
call fcn.10193a20
mov dword [0x102516d4], 0x69
jmp 0x10192757
push ebx
call fcn.100f260c
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.101c1860
add esp, 0x3c
ret 0x18
mov dword [0x102516d4], 0x62
push ebx
call fcn.100f260c
add esp, 4
mov ecx, dword [esp + 0x48]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101c1860
add esp, 0x3c
ret 0x18