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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x814
mov eax, dword [0x67e540]
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 0x611825
mov eax, dword [0x67d940]
mov dword [ebp + 8], eax
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, 0x3b
jne 0x61185e
mov ebx, dword [ebx + 0xd4]
cmp ebx, esi
je case.0x6118fb.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.006245e9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp cl, 0x5c
jne 0x61189c
lea esi, [esp + 0x10]
mov edi, ebx
call fcn.006116b0
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.006245e9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
cmp edx, 7
jl case.0x6118fb.3
cmp cl, 0xfe
jne case.0x6118fb.3
cmp byte [eax + 1], 0xfd
jne case.0x6118fb.3
cmp dword [ebx + 0xb0], esi
jle 0x6118c9
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.0x6118fb.3
jmp dword [ecx*4 + 0x611a54]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov ecx, esi
call fcn.00611360
add esp, 8
jmp 0x611a23
push esi
push ebx
mov ebx, edx
lea edi, [esp + 0x18]
call fcn.00610fb0
mov ebx, dword [ebp + 8]
add esp, 8
jmp 0x611a23
cmp edx, 0x20
jle 0x61193e
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 0x611a23
cmp dword [ebx + 0xb0], 0xffffffff
je case.0x6118fb.3
xor edi, edi
mov cl, byte [edi + eax + 3]
cmp cl, byte [ebx + edi + 0x84]
jne case.0x6118fb.3
inc edi
cmp edi, 4
jl 0x611973
cmp edx, 2
jl case.0x6118fb.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.006245e9
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.0x6118fb.3
inc edi
cmp edi, 4
jl 0x6119d0
cmp edx, 4
jl case.0x6118fb.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.006117b0
test eax, eax
jne 0x611a23
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x10]
add eax, 4
add edx, 0xfffffffc
push eax
mov edi, ebx
call fcn.00611700
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.006245e9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret