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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.131455c0
lea eax, [ebp - 0x168]
mov edx, dword [0x1317c860]
call fcn.13145b70
xor eax, eax
push ebp
push 0x1317ccf2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x1317ccb6
mov eax, dword [ebp - 4]
test eax, eax
je 0x1317ca82
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x1317ca99
lea eax, [ebp - 4]
mov edx, 0x1317cd0c
call fcn.1314540c
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x170]
mov ecx, 0x1317cd18
mov edx, dword [ebp - 4]
call fcn.13145458
mov edx, dword [ebp - 0x170]
mov ecx, 0x3f
mov eax, ebx
call fcn.1317cdb0
test eax, eax
jne 0x1317cc69
cmp dword [ebp - 0x16c], 2
jne 0x1317cc28
mov esi, dword [ebp - 0x160]
mov eax, esi
and eax, 0x10
cmp eax, 0x10
je 0x1317cc54
lea eax, [ebp - 0xc]
call fcn.13145140
mov eax, esi
and eax, 1
dec eax
jne 0x1317cb0b
lea eax, [ebp - 0xc]
mov edx, 0x1317cd24
call fcn.1314540c
mov eax, esi
and eax, 2
cmp eax, 2
jne 0x1317cb22
lea eax, [ebp - 0xc]
mov edx, 0x1317cd30
call fcn.1314540c
mov eax, esi
and eax, 4
cmp eax, 4
jne 0x1317cb39
lea eax, [ebp - 0xc]
mov edx, 0x1317cd3c
call fcn.1314540c
mov eax, esi
and eax, 8
cmp eax, 8
jne 0x1317cb50
lea eax, [ebp - 0xc]
mov edx, 0x1317cd48
call fcn.1314540c
mov eax, esi
and eax, 0x20
cmp eax, 0x20
jne 0x1317cb67
lea eax, [ebp - 0xc]
mov edx, 0x1317cd54
call fcn.1314540c
and esi, 0x3f
cmp esi, 0x3f
jne 0x1317cb7c
lea eax, [ebp - 0xc]
mov edx, 0x1317cd60
call fcn.1314540c
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x1317cb88
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x174]
push eax
mov ecx, 1
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.13145638
mov eax, dword [ebp - 0x174]
mov edx, 0x1317cd6c
call fcn.13145568
jne 0x1317cbca
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1317cbbc
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 0xc]
mov ecx, 1
xchg edx, eax
call fcn.13145678
mov eax, dword [ebp - 0x15c]
mov edx, 0x1317cd78
call fcn.13145568
je 0x1317cc54
push 0x1317cd84
push dword [ebp - 0xc]
push 0x1317cd90
mov eax, dword [ebp - 0x164]
cdq
push edx
push eax
lea eax, [ebp - 0x178]
call fcn.1317c05c
push dword [ebp - 0x178]
push 0x1317cd90
push dword [ebp - 0x15c]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.131454d4
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.1314540c
jmp 0x1317cc54
mov eax, dword [ebp - 0x160]
and eax, 0x10
cmp eax, 0x10
jne 0x1317cc54
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x15c]
mov edx, 0x1317cd9c
call fcn.13145458
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.1314540c
lea edx, [ebp - 0x168]
mov eax, ebx
call fcn.1317ce10
test eax, eax
je 0x1317cacd
push 0
push 0x12
lea eax, [ebp - 0x17c]
call fcn.1317c05c
push dword [ebp - 0x17c]
push dword [ebp - 8]
push 0x1317cdac
lea eax, [ebp - 8]
mov edx, 3
call fcn.131454d4
lea eax, [ebp - 8]
call fcn.13145630
mov edx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x1317cca9
sub eax, 4
mov eax, dword [eax]
push 0
push eax
push edx
mov eax, dword [ebp + 8]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1317ccf9
lea eax, [ebp - 0x17c]
mov edx, 4
call fcn.13145164
lea eax, [ebp - 0x168]
mov edx, dword [0x1317c860]
call fcn.13145c40
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.13145164
ret