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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100817b1
mov eax, dword fs:[0]
push eax
mov eax, 0x11f04
call fcn.1002db00
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x11f10]
mov ecx, 0x47c1
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x1009f774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 1
push 3
lea ecx, [ebp - 0xfe14]
call fcn.10010e60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.1000d490
mov byte [ebp - 4], 1
push 2
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.10025480
lea eax, [ebp - 0x11edc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10025550
mov ecx, eax
call fcn.10016090
mov dword [ebp - 0xfd4c], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x11ebc], esp
push 0
push 0
call fcn.10015f60
mov ecx, dword [ebp + 8]
call fcn.10025390
push 0x30
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x24]
push ecx
lea ecx, [ebp - 0x11f04]
call fcn.1000d530
mov dword [ebp - 0x11f0c], eax
mov edx, dword [ebp - 0x11f0c]
mov dword [ebp - 0x11f10], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x11f10]
push eax
lea ecx, [ebp - 0xfe3c]
call fcn.1000d6a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11f04]
call fcn.10002220
mov esi, esp
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x24]
push ecx
lea ecx, [ebp - 0xfe3c]
call fcn.10002310
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x350]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.1002ba00
mov dword [ebp - 0xfd64], eax
mov eax, dword [ebp - 0xfd64]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.100216c0
movzx ecx, al
test ecx, ecx
je 0x1002148f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.10002220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe14]
call fcn.10005f90
jmp 0x10021627
mov dword [ebp - 0xfe48], 0
jmp 0x100214aa
mov eax, dword [ebp - 0xfe48]
add eax, 1
mov dword [ebp - 0xfe48], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xfd4c]
xor edx, edx
div dword [ecx + 0x28]
cmp dword [ebp - 0xfe48], eax
jae 0x10021565
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
xor edx, edx
push edx
push ecx
lea eax, [ebp - 0xfd40]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000eba0
mov esi, esp
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
push ecx
lea edx, [ebp - 0xfd40]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x350]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.1002ba00
mov dword [ebp - 0xfd64], eax
mov eax, dword [ebp - 0xfd64]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.100216c0
movzx ecx, al
test ecx, ecx
je 0x10021548
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.10002220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe14]
call fcn.10005f90
jmp 0x10021627
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x28]
push ecx
push 0
lea edx, [ebp - 0xfd40]
push edx
call fcn.10030670
add esp, 0xc
jmp 0x1002149b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xfd4c]
xor edx, edx
div dword [ecx + 0x28]
mov dword [ebp - 0xfd58], edx
cmp dword [ebp - 0xfd58], 0
je 0x10021606
mov eax, dword [ebp - 0xfd58]
cdq
push edx
push eax
lea eax, [ebp - 0x11df0]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000eba0
mov esi, esp
push 0
mov eax, dword [ebp - 0xfd58]
push eax
lea ecx, [ebp - 0x11df0]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x350]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.1002ba00
mov dword [ebp - 0xfd64], eax
mov eax, dword [ebp - 0xfd64]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.100216c0
movzx ecx, al
test ecx, ecx
je 0x10021606
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.10002220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe14]
call fcn.10005f90
jmp 0x10021627
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfe3c]
call fcn.10002220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfe14]
call fcn.10005f90
push edx
mov ecx, ebp
push eax
lea edx, [0x10021664]
call fcn.1002ba30
pop eax
pop edx
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.1002c4c0
add esp, 0x11f10
cmp ebp, esp
call fcn.1002ba00
mov esp, ebp
pop ebp
ret 4