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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100859d8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.DoSendHook:_before
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.10022bb0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x50]
call fcn.100394f0
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x50]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004cc30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor edx, edx
mov ecx, ebx
call fcn.1004c230
push ecx
mov ecx, esp
push str.CAMEYO_RDPTUNNEL_TOKENID
call fcn.10022bb0
mov edx, 0x104
lea ecx, [ebp - 0x58]
call fcn.1003dc20
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push dword [ebp - 0x58]
push str._s
push eax
call fcn.1003a800
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
push dword [eax]
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edi, dword [ebp - 0x50]
mov edx, esi
add edi, 0xfffffff0
mov dword [ebp - 0x54], eax
lea ecx, [edi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004cc9c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1004ccdf
push eax
lea eax, [ebp - 0x54]
push str.Wrong_GUID_conversion:__x
push eax
call fcn.1003a800
add esp, 0xc
push 0
push str.FirstSend
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x54]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004ccdf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x58]
lea eax, [ebp - 0x50]
push ebx
push str.FirstSend_on_socket__d____adding_magic__session_ID__tokenId_s
push eax
call fcn.1003a800
add esp, 0x10
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x50]
call fcn.100394f0
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004cd20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2b
lea eax, [ebp - 0x3b]
push 0
push eax
call fcn.1006df00
mov eax, dword [str._CAMEYO_]
lea ecx, [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [0x100999a4]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x58]
call fcn.1002b5c0
mov edx, dword [ebp - 0x54]
mov ecx, esi
add edx, 0xfffffff0
mov eax, dword [eax]
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [ebp - 0x24], xmm0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004cd82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x2c
lea eax, [ebp - 0x3c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
push str.DoSendHook:_after
lea ecx, [ebp - 0x50]
call fcn.10022bb0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x50]
call fcn.100394f0
mov byte [ebp - 4], 2
mov ecx, esi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004cdca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1004cdea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1004ce0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006abfd
mov esp, ebp
pop ebp
ret