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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d5a85
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x10105230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x58]
cmp eax, 2
je 0x10060186
cmp eax, 0x17
jne 0x100601cc
cmp byte [ebx + 0x14], 0
je 0x10060202
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x18], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x100601b0
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x1c]
mov edx, edi
push eax
mov byte [ebp - 4], 0
call fcn.1005fe30
mov edi, eax
add esp, 0x2c
test edi, edi
jne 0x100602b5
xor al, al
mov ecx, dword [ebx + 0x3c]
mov byte [ebp - 0x11], al
test ecx, ecx
je 0x100601ec
mov esi, dword [ecx]
lea eax, [ebx + 0x18]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x38
push 0x100e074e
push 0x58
call fcn.100954f9
mov edi, eax
add esp, 8
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x100601cc
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x10060243
mov eax, dword [ecx]
lea edx, [ebp - 0x50]
push edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x2c], eax
lea ecx, [edi + 0x20]
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.1005cb20
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x1c]
mov byte [edi + 0x48], 0
mov dword [edi + 0x4c], eax
mov dword [edi + 0x54], 0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100602ab
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2c], 0
test edi, edi
je 0x100601cc
jmp 0x100602b8
mov esi, dword [ebp - 0x24]
cmp dword [esi + 0x58], 2
lea eax, [edi + 0x4c]
mov ecx, dword [esi + 0xc]
push 0
push edi
jne 0x10060325
push 0x10
push dword [ebp - 0x20]
push 0
push 0
push 1
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, 0xffffffff
jne 0x10060329
cmp eax, 0x3e5
je 0x10060329
test edi, edi
je 0x100601cc
mov ecx, dword [edi + 0x44]
lea esi, [edi + 0x20]
test ecx, ecx
je 0x10060315
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
push 0x58
push edi
call fcn.1009517b
add esp, 8
jmp 0x100601cc
push 0x1c
jmp 0x100602c9
mov al, 1
jmp 0x100601ce