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

Disassembly:
push ebp
push edi
lea ebp, [eax + 0x9c]
push esi
push ebx
mov esi, eax
sub esp, 0x2c
mov edi, dword [eax + 0xdc]
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub esp, 4
cmp byte [esi + 0xc7], 0
je 0x484dd0
mov ebx, dword [esi + 0x14]
mov byte [esi + 0xc7], 0
test ebx, ebx
je 0x484dd0
and edi, 4
xor edx, edx
mov dword [esp + 0x18], edi
lea esi, [esi]
cmp byte [ebx + 0xdc], 0
mov edi, dword [ebx + 4]
je 0x484d41
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x484ce4
movzx ecx, byte [eax + 4]
test cl, cl
je 0x484d41
cmp byte [eax + 5], 0
je 0x484d41
test edi, edi
mov edx, dword [ebx]
je 0x484e60
mov dword [edi], edx
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
test edx, edx
je 0x484e50
mov dword [edx + 4], ecx
test eax, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov byte [ebx + 0xd4], 0
je 0x484df0
mov eax, dword [esi + 0x18]
mov dword [ebx], eax
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x484e70
mov eax, dword [esi + 0x18]
mov dword [eax + 4], ebx
mov dword [esi + 0x18], ebx
mov byte [ebx + 0xdc], 0
mov edx, 1
test edi, edi
mov ebx, edi
jne 0x484cc0
mov dword [esp + 0x1c], edx
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x484dde
test edx, edx
je 0x484dde
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x648b80
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_send]
sub esp, 0x10
test eax, eax
mov edx, dword [esp + 0x18]
jg 0x484dde
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov edx, dword [esp + 0x18]
je 0x484dde
mov dword [esp + 4], str.Failed_to_signal_resume_of_connection_via_inter_thread_communication_channel.
mov dword [esp], esi
call fcn.0048aef0
mov edx, dword [esp + 0x18]
jmp 0x484dde
mov dword [esp], ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edx, edx
sub esp, 4
add esp, 0x2c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 8]
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x484e80
mov eax, dword [esi + 8]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x18]
mov dword [esi + 8], ebx
test eax, eax
jne 0x484d35
mov eax, dword [ebx + 0x8c]
test eax, eax
jne 0x484ec0
cmp eax, dword [esi + 0xd4]
je 0x484e95
mov eax, dword [esi + 0x28]
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x484e90
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], ebx
mov dword [esi + 0x28], ebx
jmp 0x484d35
mov dword [esi + 0x14], ecx
jmp 0x484d00
mov dword [esi + 0x10], edx
jmp 0x484cf0
mov dword [esi + 0x1c], ebx
jmp 0x484d32
mov dword [esi + 0xc], ebx
jmp 0x484e06
mov dword [esi + 0x2c], ebx
jmp 0x484e45
mov eax, dword [esi + 0x20]
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x484ed6
mov eax, dword [esi + 0x20]
mov dword [eax + 0xc], ebx
mov dword [esi + 0x20], ebx
jmp 0x484d35
call fcn.0048b6b0
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x8c]
jmp 0x484e23
mov dword [esi + 0x24], ebx
jmp 0x484eaf