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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9352
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4f600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
cmp byte [eax], 0
je 0x403597
mov eax, dword [ebx + 0xa8]
jmp 0x40359d
mov eax, dword [ebx + 0xac]
sub esp, 8
mov dword [ebp - 0x48], eax
mov ecx, esp
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], eax
test esi, esi
je 0x4035cd
lock inc dword [esi + 4]
mov esi, dword [ecx + 4]
or edi, 0xffffffff
test esi, esi
je 0x4035f9
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4035f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4035f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx], eax
mov ecx, ebx
mov byte [ebp - 4], 0
mov eax, dword [ebx]
call dword [eax]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + 0x20]
push eax
movzx eax, byte [ecx]
push eax
movzx eax, word [ecx + 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00404160
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
inc eax
push eax
call fcn.00467811
mov esi, eax
add esp, 4
test esi, esi
je 0x40367c
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
cmovae edx, dword [ebp - 0x34]
inc ecx
push ecx
push edx
push esi
call fcn.00492a90
add esp, 0xc
push 8
call fcn.00467811
add esp, 4
mov dword [eax], ebx
push 0
push eax
push 0x404130
push 0
push 0xbb8
mov dword [eax + 4], esi
call dword [sym.imp.WINMM.dll_timeSetEvent]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 3
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], eax
test esi, esi
je 0x4036a9
lock inc dword [esi + 4]
mov esi, dword [ecx + 4]
test esi, esi
je 0x4036d2
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4036d2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4036cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00404210
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
movzx eax, byte [esi]
mov dx, word [esi + 0x14]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.00408310
mov edx, dword [ebp - 0x18]
lea eax, [esi + 0x84]
mov ecx, dword [ebp - 0x1c]
add esp, 8
sub edx, ecx
push 0x10
push eax
push 0
push edx
push ecx
push dword [ebp - 0x48]
call dword [sym.imp.WS2_32.dll_sendto]
lea ecx, [ebp - 0x1c]
call fcn.00401750
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x403750
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00401700
mov dword [ebp - 4], 4
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40377c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40377c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40377c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00467552
mov esp, ebp
pop ebp
ret 8