Function at 0x4d7ca0
Capabilities:
Get hostname
Send data
Send data on socket

Disassembly:
sub esp, 0x2c
mov eax, dword [0x551e00]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
push esi
call fcn.004d7fc0
test eax, eax
jne 0x4d7cdc
cmp dword [esp + 0x44], 0
mov eax, 0x69
mov ecx, 0x63
cmovne eax, ecx
mov dword [0x54fd74], eax
jmp 0x4d7fa0
push dword [esp + 0x50]
push 0x200
push dword [esi + 0x60]
call fcn.004d9c10
mov ebx, eax
xor ebp, ebp
push 0x100
mov dword [esp + 0x14], ebx
call fcn.004d5270
mov edi, eax
add esp, 4
test edi, edi
je 0x4d7d35
push 0x100
push edi
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
je 0x4d7d2c
mov ecx, edi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d7d20
sub ecx, edx
lea ebp, [ecx + 1]
push edi
call fcn.004f948a
add esp, 4
push 0x220
lea eax, [ebx + 0x24]
add eax, ebp
push eax
push 0x13
call fcn.004d54b0
mov edi, eax
test edi, edi
je 0x4d7fa0
mov ebx, dword [esi + 0x3c]
and ebx, 0xf00000
call fcn.004d75b0
movzx ecx, al
mov eax, dword [esi + 0xc]
shl ecx, 0x18
or ebx, ecx
test al, 1
je 0x4d7d71
or ebx, 1
test al, 8
je 0x4d7d82
or ebx, 8
mov dword [0x559f1c], 1
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x10]
mov ebx, dword [esp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebp
test ebx, ebx
je 0x4d7dbd
push ebx
push dword [esi + 0x60]
lea eax, [edi + 0x24]
push eax
call fcn.004fa290
add esp, 0xc
push ebx
push dword [esi + 0x60]
lea eax, [edi + 0x24]
push eax
call fcn.004fa290
add esp, 0xc
lea eax, [ebx + 0x24]
add eax, edi
push ebp
push eax
call fcn.004d7ba0
movzx eax, word [edi + 2]
push 0
push eax
push edi
push dword [esi + 4]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x4d7dfd
mov dword [0x54fd74], 0x61
jmp 0x4d7f97
push 0x3a98
push 0x13
push esi
call fcn.004d92a0
mov ebx, eax
test ebx, ebx
je 0x4d7f97
movzx eax, word [ebx + 4]
test ax, ax
je 0x4d7e27
mov dword [0x54fd74], eax
jmp 0x4d7f97
mov ebp, dword [ebx + 0x1c]
test ebp, ebp
je 0x4d7f8d
cmp ebp, 1
je 0x4d7f8d
cmp dword [esp + 0x44], 0
mov ax, word [ebx + 0x14]
mov word [esi + 0x44], ax
jne 0x4d7e5a
movzx eax, word [ebx + 0x10]
mov word [esi + 0x48], ax
movzx eax, word [ebx + 0xc]
mov word [esi + 0x46], ax
mov eax, dword [ebx + 0x18]
push eax
mov dword [esp + 0x14], eax
call fcn.004d5270
add esp, 4
mov dword [esi + 0x40], eax
test eax, eax
je 0x4d7f97
push dword [esp + 0x10]
add ebx, 0x20
push ebx
push eax
call fcn.004fa290
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp dword [esp + 0x54], 0
mov dword [esi + 0x24], eax
je 0x4d7f6d
lea eax, [esp + 0x14]
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x14], xmm0
push eax
movdqu xmmword [esp + 0x28], xmm0
push esi
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.004d8f50
test eax, eax
je 0x4d7f6d
push 0x1388
push dword [esp + 0x1e]
push esi
call fcn.004d92a0
test eax, eax
je 0x4d7f6d
cmp word [eax + 4], 0
jne 0x4d7f6d
movzx eax, word [ebx]
imul edx, eax, 0x3e8
movzx eax, word [ebx + 2]
add edx, eax
cmp edx, dword [esp + 0x54]
jge 0x4d7f6d
xor eax, eax
xorps xmm0, xmm0
mov word [esi + 0x44], ax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
movdqu xmmword [esp + 0x14], xmm0
push eax
push esi
movdqu 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.004d8f50
test eax, eax
je 0x4d7f61
push 0x1388
push dword [esp + 0x1e]
push esi
call fcn.004d92a0
mov dword [0x54fd74], 0x69
jmp 0x4d7f97
push edi
call fcn.004f948a
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004f9e32
add esp, 0x2c
ret 0x18
mov dword [0x54fd74], 0x62
push edi
call fcn.004f948a
add esp, 4
mov ecx, dword [esp + 0x38]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f9e32
add esp, 0x2c
ret 0x18