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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x814
mov eax, dword [0x61fb00]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
mov dword [esp + 0x818], eax
push edi
mov dword [esp + 0x810], esi
jne 0x5bb295
mov eax, dword [0x61ef00]
mov dword [ebp + 8], eax
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, 0x3b
jne 0x5bb2ce
mov ebx, dword [ebx + 0xd4]
cmp ebx, esi
je case.0x5bb36b.3
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push eax
call ebx
add esp, 0xc
mov ecx, dword [esp + 0x81c]
call fcn.005ce175
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp cl, 0x5c
jne 0x5bb30c
lea esi, [esp + 0x10]
mov edi, ebx
call fcn.005bb120
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x810]
push 0x10
push eax
mov eax, dword [ebx]
push 0
push ecx
mov edx, esi
push edx
push eax
call sub.WS2_32.dll_sendto
mov ecx, dword [esp + 0x81c]
call fcn.005ce175
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
cmp edx, 7
jl case.0x5bb36b.3
cmp cl, 0xfe
jne case.0x5bb36b.3
cmp byte [eax + 1], 0xfd
jne case.0x5bb36b.3
cmp dword [ebx + 0xb0], esi
jle 0x5bb339
mov dword [ebx + 0xb0], esi
mov cl, byte [eax + 2]
mov edi, dword [eax + 3]
mov byte [esp + 0x10], cl
movsx ecx, cl
sub edx, 7
cmp ecx, 6
lea esi, [eax + 7]
mov dword [esp + 0xc], esi
mov dword [ebp + 0x10], edx
mov dword [esp + 0x11], edi
mov dword [esp + 0x810], 5
ja case.0x5bb36b.3
jmp dword [ecx*4 + 0x5bb4c4]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov ecx, esi
call fcn.005badd0
add esp, 8
jmp 0x5bb493
push esi
push ebx
mov ebx, edx
lea edi, [esp + 0x18]
call fcn.005baa20
mov ebx, dword [ebp + 8]
add esp, 8
jmp 0x5bb493
cmp edx, 0x20
jle 0x5bb3ae
mov dword [ebp + 0x10], 0x20
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
mov ecx, edx
shr ecx, 2
mov byte [esp + 0x10], 5
lea edi, [esp + 0x15]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [esp + 0x810], eax
jmp 0x5bb493
cmp dword [ebx + 0xb0], 0xffffffff
je case.0x5bb36b.3
xor edi, edi
mov cl, byte [edi + eax + 3]
cmp cl, byte [ebx + edi + 0x84]
jne case.0x5bb36b.3
inc edi
cmp edi, 4
jl 0x5bb3e3
cmp edx, 2
jl case.0x5bb36b.3
mov edx, dword [ebx + 0x104]
mov dword [ebx + 0xb0], 0xffffffff
movsx ecx, byte [esi]
push edx
lea eax, [esi + 1]
push eax
push ecx
call dword [ebx + 0x9c]
add esp, 0xc
mov ecx, dword [esp + 0x81c]
call fcn.005ce175
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
lea ebx, [ebx]
mov cl, byte [edi + eax + 3]
cmp cl, byte [ebx + edi + 0x84]
jne case.0x5bb36b.3
inc edi
cmp edi, 4
jl 0x5bb440
cmp edx, 4
jl case.0x5bb36b.3
mov esi, dword [esi]
mov dword [esp + 0x15], esi
mov edi, esi
mov esi, ebx
mov byte [esp + 0x10], 7
mov dword [esp + 0x810], 9
call fcn.005bb220
test eax, eax
jne 0x5bb493
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x10]
add eax, 4
add edx, 0xfffffffc
push eax
mov edi, ebx
call fcn.005bb170
add esp, 4
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x810]
push 0x10
push ecx
mov ecx, dword [ebx]
push 0
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call sub.WS2_32.dll_sendto
mov ecx, dword [esp + 0x81c]
call fcn.005ce175
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret