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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000b4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x164
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x26585104
mov dword [ebp - 0x40], 0xf0484578
mov eax, dword [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x10
je 0x100089e4
mov ecx, 1
test ecx, ecx
je 0x100089c9
mov dword [ebp - 0x16c], 0
jmp 0x100089dc
push 0x1000ec04
call fcn.10004560
add esp, 4
mov dword [ebp - 0x16c], eax
or eax, 0xffffffff
jmp 0x10008cc1
push str.MySendData2
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBeginUltra]
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0x26585104
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 4
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
shr ecx, 4
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov esi, 0x10
div esi
xor eax, eax
cmp eax, edx
sbb edx, edx
neg edx
add ecx, edx
shl ecx, 4
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x168]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.10008cd4
add esp, 0x1c
test eax, eax
je 0x10008bb3
mov dword [ebp - 0x34], 0x10
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x20]
add eax, 4
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 8
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
add edx, 8
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x34]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0x14]
push eax
call sub.WSOCK32.dll_send
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x30]
jne 0x10008b92
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10008b92
cmp dword [ebp - 0x2c], 0
je 0x10008b92
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x20], 0
jmp 0x10008bdb
mov edx, 1
test edx, edx
je 0x10008bc8
mov dword [ebp - 0x170], 0
jmp 0x10008bdb
push 0x1000ec1c
call fcn.10004560
add esp, 4
mov dword [ebp - 0x170], eax
jmp 0x10008c42
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x10008c6e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x28], 0
je 0x10008c93
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x160]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x24], 0
je 0x10008cb8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp - 0x164]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x24], 0
call dword [sym.imp.VMProtectSDK32.dll_VMProtectEnd]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8