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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x68]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
ja case.default.0x40a830
mov ecx, dword [ebp - 0x28]
jmp dword [ecx*4 + 0x40aa0a]
mov dword [ebp - 8], 4
movsx edx, word [0x44819c]
add edx, 8
push edx
push str.C:UsersAdministratorDesktopTHIEF_2__1_THIEF_2_THIEFFileSocket.cpp
mov eax, dword [ebp - 8]
push eax
call sub.MFC42D.DLL_Ordinal_714
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
push 4
lea edx, [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.MSVCRTD.dll_memcpy
add esp, 0xc
jmp case.default.0x40a830
mov ecx, dword [ebp + 0x18]
add ecx, 4
mov dword [ebp - 8], ecx
movsx edx, word [0x44819c]
add edx, 0xf
push edx
push str.C:UsersAdministratorDesktopTHIEF_2__1_THIEF_2_THIEFFileSocket.cpp
mov eax, dword [ebp - 8]
push eax
call sub.MFC42D.DLL_Ordinal_714
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
push 4
lea edx, [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.MSVCRTD.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call sub.MSVCRTD.dll_memcpy
add esp, 0xc
jmp case.default.0x40a830
mov ecx, dword [ebp + 0x18]
add ecx, 8
mov dword [ebp - 8], ecx
movsx edx, word [0x44819c]
add edx, 0x17
push edx
push str.C:UsersAdministratorDesktopTHIEF_2__1_THIEF_2_THIEFFileSocket.cpp
mov eax, dword [ebp - 8]
push eax
call sub.MFC42D.DLL_Ordinal_714
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
push 4
lea edx, [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.MSVCRTD.dll_memcpy
add esp, 0xc
push 4
lea ecx, [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call sub.MSVCRTD.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 8
push edx
call sub.MSVCRTD.dll_memcpy
add esp, 0xc
jmp case.default.0x40a830
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov edx, 1
test edx, edx
je 0x40a9c4
mov esi, esp
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40a9c4
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
cmp eax, 0x2733
jne 0x40a9a8
mov esi, esp
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
jmp case.default.0x40a830
cmp dword [ebp + 0xc], 3
je 0x40a9c0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call sub.MFC42D.DLL_Ordinal_721
add esp, 4
xor eax, eax
jmp 0x40a9f7
cmp dword [ebp + 0x1c], 0
je 0x40a9da
push 0x14d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
call sub.MFC42D.DLL_Ordinal_3597
cmp dword [ebp + 0xc], 3
je 0x40a9f2
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.MFC42D.DLL_Ordinal_721
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x68
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 0x18