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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ac8
lea eax, [ebp - 0x164]
mov edx, dword [0x4057c8]
call fcn.00403d04
xor eax, eax
push ebp
push 0x406bc0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x406b84
mov eax, dword [ebp - 4]
call fcn.004038d8
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x40697a
lea eax, [ebp - 4]
mov edx, 0x406bd8
call fcn.004038e0
lea eax, [ebp - 0x168]
mov ecx, 0x406be4
mov edx, dword [ebp - 4]
call fcn.00403924
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x164]
mov edx, 0x3f
call fcn.00406880
test eax, eax
jne 0x406b84
mov ebx, dword [ebp - 0x15c]
mov eax, ebx
and eax, 0x10
cmp eax, 0x10
jne 0x406a1e
lea edx, [ebp - 0x16c]
mov eax, 0xb
call fcn.00405874
push dword [ebp - 0x16c]
push 0x406bf0
push dword [ebp - 0x158]
push 0x406c00
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403998
cmp esi, 1
jne 0x406b71
push 0
mov eax, dword [ebp - 8]
call fcn.004038d8
push eax
lea eax, [ebp - 8]
call fcn.00403b30
push eax
mov eax, dword [0x40a728]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
jmp 0x406b71
lea eax, [ebp - 0xc]
call fcn.00403764
mov eax, ebx
and eax, 1
dec eax
jne 0x406a3b
lea eax, [ebp - 0xc]
mov edx, 0x406c0c
call fcn.004038e0
mov eax, ebx
and eax, 2
cmp eax, 2
jne 0x406a52
lea eax, [ebp - 0xc]
mov edx, 0x406c20
call fcn.004038e0
mov eax, ebx
and eax, 4
cmp eax, 4
jne 0x406a69
lea eax, [ebp - 0xc]
mov edx, 0x406c30
call fcn.004038e0
mov eax, ebx
and eax, 8
cmp eax, 8
jne 0x406a80
lea eax, [ebp - 0xc]
mov edx, 0x406c44
call fcn.004038e0
mov eax, ebx
and eax, 0x20
cmp eax, 0x20
jne 0x406a97
lea eax, [ebp - 0xc]
mov edx, 0x406c58
call fcn.004038e0
and ebx, 0x3f
cmp ebx, 0x3f
jne 0x406aac
lea eax, [ebp - 0xc]
mov edx, 0x406c6c
call fcn.004038e0
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004038d8
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0xc]
call fcn.00403b38
mov eax, dword [ebp - 0x170]
mov edx, 0x406c80
call fcn.00403a24
jne 0x406af3
mov eax, dword [ebp - 0xc]
call fcn.004038d8
mov edx, eax
lea eax, [ebp - 0xc]
mov ecx, 1
call fcn.00403b78
lea edx, [ebp - 0x174]
mov eax, 0xb
call fcn.00405874
push dword [ebp - 0x174]
push 0x406c8c
push dword [ebp - 0xc]
push 0x406c8c
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 0x160]
call fcn.00405874
push dword [ebp - 0x178]
push 0x406c8c
push dword [ebp - 0x158]
push 0x406c00
lea eax, [ebp - 8]
mov edx, 8
call fcn.00403998
cmp esi, 2
jne 0x406b71
push 0
mov eax, dword [ebp - 8]
call fcn.004038d8
push eax
lea eax, [ebp - 8]
call fcn.00403b30
push eax
mov eax, dword [0x40a728]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
lea eax, [ebp - 0x164]
call fcn.004068d0
test eax, eax
je 0x4069ab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406bc7
lea eax, [ebp - 0x178]
mov edx, 5
call fcn.00403788
lea eax, [ebp - 0x164]
mov edx, dword [0x4057c8]
call fcn.00403dc8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403788
ret