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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b184
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
je 0x10003f8a
mov ecx, dword [ebp + 8]
call fcn.10003040
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10003f8a
mov eax, dword [ebp - 0x18c]
cmp dword [eax + 0x1fc], 0xffffffff
jne 0x10003f8f
jmp 0x1000429b
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
call fcn.10004a40
mov ecx, dword [ebp + 8]
call fcn.100049a0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x10004024
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x1fc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x10004024
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jb 0x10004024
jmp 0x1000429b
cmp dword [ebp - 0x10], 0xffffffff
je 0x1000402f
jmp 0x1000428e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2745
je 0x10004057
cmp dword [ebp - 0x1c], 0x2746
je 0x10004057
cmp dword [ebp - 0x1c], 0x2775
jne 0x100040e2
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x138]
push eax
call fcn.10007883
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x138]
push ecx
push 0x10021428
lea edx, [ebp - 0x168]
push edx
call fcn.10002850
add esp, 0xc
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x194]
push ecx
call fcn.10007879
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.100022f0
mov ecx, dword [ebp - 0x18c]
call fcn.100035f5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.100022f0
jmp 0x1000429b
cmp dword [ebp - 0x1c], 0x3e5
je 0x1000417c
cmp dword [ebp - 0x1c], 0x2733
je 0x1000417c
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x148]
push eax
call fcn.10007883
add esp, 8
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x148]
push ecx
push 0x1002144c
lea edx, [ebp - 0x178]
push edx
call fcn.10002850
add esp, 0xc
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x19c]
push ecx
call fcn.10007879
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.100022f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.100022f0
jmp 0x1000429b
push 0x104
push 0
lea edx, [ebp - 0x128]
push edx
call fcn.1000d4e0
add esp, 0xc
mov dword [ebp - 0x128], 1
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 0x1fc]
mov dword [ebp - 0x124], ecx
push 0x100212c0
push 0
lea edx, [ebp - 0x128]
push edx
push 0
push 1
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1000425b
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.10007883
add esp, 8
mov dword [ebp - 4], 4
lea edx, [ebp - 0x158]
push edx
push str.CSocketClient::Write_____WSASend:
lea eax, [ebp - 0x188]
push eax
call fcn.10002850
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1a4]
push edx
call fcn.10007879
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x188]
call fcn.100022f0
mov ecx, dword [ebp - 0x18c]
call fcn.100035f5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.100022f0
jmp 0x1000429b
cmp dword [ebp - 0x10], 0
jle 0x10004263
jmp 0x1000428e
push 0
mov ecx, dword [ebp - 0x18c]
add ecx, 0x234
call fcn.1000b767
and eax, 0xff
test eax, eax
je 0x10004281
jmp 0x1000429b
mov eax, 1
test eax, eax
jne 0x100041ae
mov ecx, 1
test ecx, ecx
jne 0x10003fbe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4