Function at 0x4c4ca0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x104
mov eax, dword [0x401424]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x10c]
push ebx
push esi
mov esi, dword [esp + 0x110]
add eax, 0xfffffffd
push edi
mov edi, dword [esi + 0x10]
cmp eax, 4
ja case.0x4c4cd4.4
jmp dword [eax*4 + 0x4c5040]
mov eax, dword [esi + 0x148]
movzx edx, word [esi + 0x144]
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ebx, 8
or ebx, eax
lea eax, [edx + 1]
movzx ecx, ax
cmp ecx, ebx
jne 0x4c4d08
mov dword [esi + 0x18], 0
jmp 0x4c4d3c
cmp edx, ebx
jne 0x4c4de0
test edi, edi
je 0x4c4d3c
cmp byte [edi + 0x68a], 0
je 0x4c4d3c
mov eax, dword [edi + 0xca8]
test eax, eax
je 0x4c4d2d
cmp dword [eax + 4], 1
jl 0x4c4d3c
push ebx
push 0x409858
push edi
call fcn.004ab3a0
add esp, 0xc
mov word [esi + 0x144], bx
mov eax, dword [esi + 0x14c]
mov byte [eax], 0
mov eax, dword [esi + 0x14c]
mov byte [eax + 1], 4
movzx edx, word [esi + 0x144]
mov eax, dword [esi + 0x14c]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x14c]
mov byte [eax + 3], dl
lea eax, [esi + 0xb0]
push dword [esi + 0x130]
push eax
push 0
push 4
push dword [esi + 0x14c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x4c4f5b
mov eax, dword [esi + 0x13c]
xor ecx, ecx
add eax, 4
cmp dword [esi + 0x134], eax
lea eax, [esi + 0x28]
push eax
setl cl
lea ecx, [ecx*2 + 1]
mov dword [esi], ecx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x104
ret
test edi, edi
je 0x4c4ff4
cmp byte [edi + 0x68a], 0
je 0x4c4ff4
mov eax, dword [edi + 0xca8]
test eax, eax
je 0x4c4e09
cmp dword [eax + 4], 1
jl 0x4c4ff4
push ecx
push ebx
push 0x409884
push edi
call fcn.004ab3a0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x104
ret
xor eax, eax
mov word [esi + 0x144], ax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14c]
mov byte [eax], 0
mov eax, dword [esi + 0x14c]
mov byte [eax + 1], 4
movzx edx, word [esi + 0x144]
mov eax, dword [esi + 0x14c]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x14c]
mov byte [eax + 3], dl
lea eax, [esi + 0xb0]
push dword [esi + 0x130]
push eax
push 0
push 4
push dword [esi + 0x14c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
js 0x4c4f5b
lea eax, [esi + 0x28]
mov dword [esi], 1
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x104
ret
mov ecx, dword [esi + 0x18]
inc ecx
mov dword [esi + 0x18], ecx
test edi, edi
je 0x4c4f04
cmp byte [edi + 0x68a], 0
je 0x4c4f04
mov eax, dword [edi + 0xca8]
test eax, eax
je 0x4c4ee9
cmp dword [eax + 4], 1
jl 0x4c4f04
movzx eax, word [esi + 0x144]
push ecx
inc eax
movzx eax, ax
push eax
push 0x4098c4
push edi
call fcn.004ab3a0
add esp, 0x10
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
jle 0x4c4f33
pop edi
mov dword [esi + 8], 0xffffff9d
xor eax, eax
mov dword [esi], 3
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x104
ret
push dword [esi + 0x130]
lea eax, [esi + 0xb0]
push eax
push 0
push 4
push dword [esi + 0x14c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x4c4ff4
push 0x100
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00493ac0
push eax
push 0x402a30
push edi
call fcn.004ab2d0
add esp, 0x18
mov eax, 0x37
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x104
ret
mov eax, dword [esi + 0x14c]
mov byte [eax], 0
mov eax, dword [esi + 0x14c]
mov byte [eax + 1], 5
movzx edx, word [esi + 0x144]
mov eax, dword [esi + 0x14c]
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov eax, dword [esi + 0x14c]
mov byte [eax + 3], dl
lea eax, [esi + 0xb0]
push dword [esi + 0x130]
push eax
push 0
push 4
push dword [esi + 0x14c]
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esi], 3
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004ed9d4
add esp, 0x104
ret
push 0x4098f4
push 0x402a30
push edi
call fcn.004ab2d0
mov ecx, dword [esp + 0x118]
add esp, 0xc
mov eax, 0x47
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ed9d4
add esp, 0x104
ret