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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.004114c0
push ebx
push esi
push edi
lea edi, [ebp - 0x206c]
mov ecx, 0x81b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
push 0x440088
mov eax, dword [ebp + 8]
push eax
call fcn.00410ee0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401600
mov byte [ebp - 0x1008], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1007]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00411390
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
and eax, 0x10
test eax, eax
jne 0x4015d8
mov ecx, dword [ebp - 8]
push ecx
push 1
push 1
lea edx, [ebp - 0x1008]
push edx
call fcn.004111c0
add esp, 0x10
mov dword [ebp - 0x100c], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x100c]
mov dword [ebp - 4], eax
jmp 0x4015a0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00410b50
add esp, 4
mov dword [ebp - 0x1010], eax
cmp dword [ebp - 0x1010], 0
je 0x401600
push 0x440078
call fcn.00411140
add esp, 4
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push 2
push str.____d__s__d____n
push 0x4461e0
call fcn.00410cf0
add esp, 0x14
push 0x4461e0
call fcn.004110c0
add esp, 4
mov dword [ebp - 0x1014], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 0x1014]
push ecx
push 0x4461e0
mov edx, dword [0x4461c4]
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004109f0
push 0x440088
mov eax, dword [ebp + 8]
push eax
call fcn.00410ee0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401932
mov dword [ebp - 0x1018], 0x1000
push 4
push 0
lea ecx, [ebp - 0x1018]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00410f60
add esp, 0x10
test eax, eax
je 0x4016a3
push 0x44004c
call fcn.00411140
add esp, 4
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1020], 0
mov byte [ebp - 0x2020], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x201f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1000
push 0
lea eax, [ebp - 0x2020]
push eax
call fcn.00410f00
add esp, 0xc
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00411390
add esp, 0xc
mov esi, esp
push 0x4461c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp esi, esp
call fcn.004109f0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
and eax, 0x10
test eax, eax
jne 0x401905
cmp dword [0x5d61e0], 0
jle 0x401900
mov dword [0x5d61e0], 0
mov dword [0x5d61e8], 0
mov ecx, dword [ebp - 8]
push ecx
push 0x1000
push 1
lea edx, [ebp - 0x2020]
push edx
call fcn.004111c0
add esp, 0x10
mov dword [ebp - 0x1020], eax
push 0x1000
push 0
push 0x4461e0
call fcn.00410f00
add esp, 0xc
mov eax, dword [ebp - 0x101c]
push eax
mov ecx, dword [ebp - 0x1020]
push ecx
push str.___3__d__d_
push 0x4461e0
call fcn.00410cf0
add esp, 0x10
mov dword [ebp - 0x2024], 0
mov dword [ebp - 0x2028], 0
jmp 0x4017b5
mov edx, dword [ebp - 0x2028]
add edx, 1
mov dword [ebp - 0x2028], edx
cmp dword [ebp - 0x2028], 0x40
jge 0x4017e0
mov eax, dword [ebp - 0x2028]
movsx ecx, byte [eax + 0x4461e0]
cmp ecx, 0x2b
jne 0x4017de
mov edx, dword [ebp - 0x2028]
mov dword [ebp - 0x2024], edx
jmp 0x4017e0
jmp 0x4017a6
mov eax, dword [ebp - 0x2024]
mov dword [ebp - 0x202c], eax
mov dword [ebp - 0x2028], 0
jmp 0x401807
mov ecx, dword [ebp - 0x2028]
add ecx, 1
mov dword [ebp - 0x2028], ecx
mov edx, dword [ebp - 0x2028]
cmp edx, dword [ebp - 0x1020]
jae 0x40183f
mov eax, dword [ebp - 0x202c]
mov ecx, dword [ebp - 0x2028]
mov dl, byte [ebp + ecx - 0x2020]
mov byte [eax + 0x4461e0], dl
mov eax, dword [ebp - 0x202c]
add eax, 1
mov dword [ebp - 0x202c], eax
jmp 0x4017f8
mov ecx, dword [ebp - 0x202c]
mov byte [ecx + 0x4461e0], 0x3c
mov edx, dword [ebp - 0x202c]
add edx, 1
mov dword [ebp - 0x202c], edx
mov eax, dword [ebp - 0x202c]
mov byte [eax + 0x4461e0], 0x29
mov ecx, dword [ebp - 0x202c]
add ecx, 1
mov dword [ebp - 0x202c], ecx
mov edx, dword [ebp - 0x202c]
mov byte [edx + 0x4461e0], 0x5d
mov eax, dword [ebp - 0x202c]
add eax, 1
mov dword [ebp - 0x202c], eax
mov ecx, dword [ebp - 0x202c]
mov byte [ecx + 0x4461e0], 0xa
mov edx, dword [ebp - 0x202c]
add edx, 1
mov dword [ebp - 0x202c], edx
mov eax, dword [ebp - 0x2024]
mov ecx, dword [ebp - 0x1020]
lea edx, [ecx + eax + 3]
mov dword [ebp - 0x1020], edx
mov esi, esp
push 0
mov eax, dword [ebp - 0x1020]
push eax
push 0x4461e0
mov ecx, dword [0x4461c4]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call fcn.004109f0
cmp eax, 0xffffffff
je 0x401900
mov edx, dword [ebp - 0x101c]
add edx, dword [ebp - 0x1020]
mov dword [ebp - 0x101c], edx
jmp 0x40170a
mov esi, esp
push 0x4461c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, esp
call fcn.004109f0
push 0x440030
call fcn.00411140
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.00410b50
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x206c
cmp ebp, esp
call fcn.004109f0
mov esp, ebp
pop ebp
ret