Function at 0x1001bc00
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b451
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
push esi
push edi
push ecx
lea edi, [ebp - 0x204]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x100b5100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
je 0x1001bc6e
mov ecx, dword [ebp + 8]
call fcn.10004610
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1001bc6e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x200], 0xffffffff
jne 0x1001bc73
jmp 0x1001bf8b
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp + 8]
call fcn.1001b0b0
mov ecx, dword [ebp + 8]
call fcn.1001a580
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x1001bd0e
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
sub edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov esi, esp
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
push 1
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x200]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp esi, esp
call fcn.1003fe96
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x1001bd0e
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x18]
jb 0x1001bd0e
jmp 0x1001bf8b
cmp dword [ebp - 0x1c], 0xffffffff
je 0x1001bd19
jmp 0x1001bf7e
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.1003fe96
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2745
je 0x1001bd46
cmp dword [ebp - 0x20], 0x2746
je 0x1001bd46
cmp dword [ebp - 0x20], 0x2775
jne 0x1001bdbf
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.1000da30
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
push ecx
push str.CSocketClient::Write_____WSASend:
lea edx, [ebp - 0x6c]
push edx
call fcn.10019c70
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1f0]
push ecx
call fcn.1000e660
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.10003880
mov ecx, dword [ebp - 0x14]
call fcn.1001b270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10003880
jmp 0x1001bf8b
cmp dword [ebp - 0x20], 0x3e5
je 0x1001be59
cmp dword [ebp - 0x20], 0x2733
je 0x1001be59
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.1000da30
add esp, 8
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x88]
push ecx
push str.CSocketClient::Write_____WSASend:
lea edx, [ebp - 0xa4]
push edx
call fcn.10019c70
add esp, 0xc
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1f8]
push ecx
call fcn.1000e660
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.10003880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10003880
jmp 0x1001bf8b
push 0x104
push 0
lea edx, [ebp - 0x1ac]
push edx
call fcn.100451a0
add esp, 0xc
mov dword [ebp - 0x1ac], 1
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x200]
mov dword [ebp + ecx - 0x1a8], eax
mov esi, esp
push 0x100b5010
push 0
lea ecx, [ebp - 0x1ac]
push ecx
push 0
push 1
call dword [sym.imp.WS2_32.dll_select]
cmp esi, esp
call fcn.1003fe96
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x1001bf44
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x1cc]
push eax
call fcn.1000da30
add esp, 8
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1cc]
push ecx
push str.CSocketClient::Write_____WSASend:
lea edx, [ebp - 0x1e8]
push edx
call fcn.10019c70
add esp, 0xc
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x200]
push ecx
call fcn.1000e660
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e8]
call fcn.10003880
mov ecx, dword [ebp - 0x14]
call fcn.1001b270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10003880
jmp 0x1001bf8b
cmp dword [ebp - 0x1c], 0
jle 0x1001bf4c
jmp 0x1001bf7e
mov edx, dword [ebp - 0x14]
add edx, 0x238
mov dword [ebp - 0x204], edx
push 0
mov ecx, dword [ebp - 0x204]
call fcn.1001d340
movzx eax, al
test eax, eax
je 0x1001bf71
jmp 0x1001bf8b
mov ecx, 1
test ecx, ecx
jne 0x1001be91
mov edx, 1
test edx, edx
jne 0x1001bca2
push edx
mov ecx, ebp
push eax
lea edx, [0x1001bfc8]
call fcn.1003fe42
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003f9a0
add esp, 0x204
cmp ebp, esp
call fcn.1003fe96
mov esp, ebp
pop ebp
ret 4