Function at 0x10006512
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2718
call fcn.10008390
mov eax, dword [0x1003f51c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
lea eax, [ebp - 0x2714]
push edi
xor edi, edi
mov ebx, 0x2710
push edi
push ebx
push eax
push dword [0x1003a15c]
call esi
test eax, eax
jle 0x10006778
lea edx, [ebp - 0x2714]
mov ecx, edi
movzx eax, byte [edx + ecx]
mov ebx, str.VALID
cmp al, byte [ebx + ecx]
mov ebx, 0x2710
jne 0x100067aa
inc ecx
cmp ecx, 6
jne 0x1000655a
push edi
push ebx
lea eax, [ebp - 0x2714]
push eax
push dword [0x1003a15c]
call esi
lea ecx, [ebp - 0x2714]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006591
sub ecx, edx
lea eax, [ebp - 0x2714]
push ecx
push eax
mov ecx, 0x1003f4d4
call fcn.10001536
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push ebx
lea eax, [ebp - 0x2714]
push eax
push dword [0x1003a15c]
call esi
lea ecx, [ebp - 0x2714]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100065ce
sub ecx, edx
lea eax, [ebp - 0x2714]
push ecx
push eax
mov ecx, 0x1003f4ec
call fcn.10001536
push 8
pop ecx
push 0x100406e0
push 0x10006ed3
xor eax, eax
mov edi, 0x10040718
push str._snprintf
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.msvcr90.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push eax
call fcn.10004996
add esp, 0xc
mov ebx, str.ws2_32.dll
push 0x100406e8
push 0x10007f01
push str.send
push ebx
call edi
push eax
call esi
push eax
call fcn.10004996
add esp, 0xc
push 0x100406f0
push 0x100059bd
push str.connect
push ebx
call edi
push eax
call esi
push eax
call fcn.10004996
push 8
pop esi
push 0x10040708
push 0x10007093
push 0x741cb0
mov dword [0x1004070c], esi
call fcn.10004996
push 0x10040710
push 0x1000704f
push 0xa510a0
mov dword [0x10040714], esi
call fcn.10004996
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x24
xor ebx, ebx
push 0x10e48ce8
push ebx
push ebx
push 0x10005503
push ebx
push ebx
call esi
push 0x10e48cec
push ebx
push ebx
push 0x100054f5
push ebx
push ebx
mov dword [0x10e48ccc], eax
call esi
push 0x10e48cf0
push ebx
push ebx
push 0x10006b0a
push ebx
push ebx
mov dword [0x10e48cd0], eax
call esi
push 0x10e48cf4
push ebx
push ebx
push 0x10007d3e
push ebx
push ebx
mov dword [0x10e48cd4], eax
call esi
push ebx
push ebx
push ebx
push 0x100068e1
push ebx
push ebx
mov dword [0x10e48cd8], eax
call esi
push 0x10e48cf8
push ebx
push eax
push 0x100070a3
push ebx
push ebx
call esi
push 0x10e48cfc
push ebx
push ebx
push 0x10006fdf
push ebx
push ebx
mov dword [0x10e48cdc], eax
call esi
push 0x10e48d00
push ebx
push ebx
push 0x10006913
push ebx
push ebx
mov dword [0x10e48ce0], eax
call esi
push ebx
push ebx
push ebx
push 0x100058d6
push ebx
push ebx
mov dword [0x10e48ce4], eax
call esi
call fcn.10007027
sub esp, 0x18
mov ecx, esp
push 0x1003f504
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.100033ec
push dword [0x1003f4b8]
call fcn.10006a09
add esp, 0x1c
jmp 0x10006799
jne 0x10006786
push str.connection_closed.
call fcn.100068ac
jmp 0x10006798
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.recv_failed_with_error:__d_n
call fcn.10004977
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000837d
mov esp, ebp
pop ebp
ret
push edi
push str.Error
push str.PleaseReinstallyourclienttherearesomeunauthorizedchangesmadetosomecriticalfilesfromourclient.
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 2
push dword [0x1003a15c]
call dword [sym.imp.WS2_32.dll_shutdown]
call fcn.10007a50
int3