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

Disassembly:
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x10]
mov esi, dword [eax]
mov eax, dword [esp + 0xc]
add eax, 0xfffffffd
cmp eax, 4
ja case.0x43d8b9.4
jmp dword [eax*4 + 0x43db30]
mov eax, dword [edi + 0x15c]
movzx edx, word [edi + 0x40]
xor ecx, ecx
mov ch, byte [eax + 2]
add edx, 1
and edx, 0xffff
mov cl, byte [eax + 3]
mov eax, ecx
cmp edx, eax
je 0x43d921
push eax
push 0x4f2460
call fcn.0042de00
add dword [edi + 0x18], 1
mov eax, dword [edi + 0x18]
add esp, 8
cmp eax, dword [edi + 0x20]
jle 0x43db0f
movzx eax, word [edi + 0x40]
add eax, 1
and eax, 0xffff
push eax
push 0x4f248c
call fcn.0042dec0
mov eax, 0x47
add esp, 8
pop edi
pop esi
ret
mov word [edi + 0x40], ax
mov dword [edi + 0x18], 0
mov ecx, dword [edi + 0x160]
mov byte [ecx], 0
mov edx, dword [edi + 0x160]
mov byte [edx + 1], 4
movzx eax, word [edi + 0x40]
mov ecx, dword [edi + 0x160]
mov byte [ecx + 2], ah
mov edx, dword [edi + 0x160]
mov byte [edx + 3], al
mov eax, dword [edi + 0x148]
mov edx, dword [edi + 0x160]
push eax
mov eax, dword [edi + 0x14]
lea ecx, [edi + 0xc8]
push ecx
push 0
push 4
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x43d9a4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [edi + 0x10]
push ecx
call fcn.004482a0
add esp, 4
push eax
push 0x4da460
call fcn.0042dec0
mov eax, 0x37
add esp, 8
pop edi
pop esi
ret
mov edx, dword [edi + 0x154]
xor eax, eax
add edx, 4
cmp dword [edi + 0x14c], edx
setl al
add edi, 0x38
push edi
lea eax, [eax + eax + 1]
mov dword [edi - 0x38], eax
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
xor eax, eax
pop edi
pop esi
ret
mov word [edi + 0x40], 0
mov dword [edi + 0x18], 0
mov ecx, dword [edi + 0x160]
mov byte [ecx], 0
mov edx, dword [edi + 0x160]
mov byte [edx + 1], 4
movzx eax, word [edi + 0x40]
mov ecx, dword [edi + 0x160]
mov byte [ecx + 2], ah
mov edx, dword [edi + 0x160]
mov byte [edx + 3], al
mov eax, dword [edi + 0x148]
mov edx, dword [edi + 0x160]
push eax
mov eax, dword [edi + 0x14]
lea ecx, [edi + 0xc8]
push ecx
push 0
push 4
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jl 0x43d97c
mov dword [edi], 1
add edi, 0x38
push edi
call dword [sym.imp.MSVCR80.dll__time64]
add esp, 4
xor eax, eax
pop edi
pop esi
ret
movzx edx, word [edi + 0x40]
add dword [edi + 0x18], 1
mov eax, dword [edi + 0x18]
add edx, 1
push eax
and edx, 0xffff
push edx
push 0x4f24b4
call fcn.0042de00
mov eax, dword [edi + 0x18]
add esp, 0xc
cmp eax, dword [edi + 0x20]
jle 0x43da87
mov dword [edi + 8], 0xffffff9d
mov dword [edi], 3
xor eax, eax
pop edi
pop esi
ret
mov ecx, dword [edi + 0x148]
mov eax, dword [edi + 0x160]
push ecx
mov ecx, dword [edi + 0x14]
lea edx, [edi + 0xc8]
push edx
push 0
push 4
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x43db0f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [edi + 0x10]
push edx
jmp 0x43d986
mov eax, dword [edi + 0x160]
mov byte [eax], 0
mov ecx, dword [edi + 0x160]
mov byte [ecx + 1], 5
movzx eax, word [edi + 0x40]
mov edx, dword [edi + 0x160]
mov byte [edx + 2], ah
mov ecx, dword [edi + 0x160]
mov byte [ecx + 3], al
mov edx, dword [edi + 0x148]
mov ecx, dword [edi + 0x160]
push edx
mov edx, dword [edi + 0x14]
lea eax, [edi + 0xc8]
push eax
push 0
push 4
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [edi], 3
xor eax, eax
pop edi
pop esi
ret
push 0x4f24e8
push 0x4da460
call fcn.0042dec0
add esp, 8
pop edi
mov eax, 0x47
pop esi
ret