Function at 0x42652a
Capabilities:
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x485008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x104
mov dword [ebp - 0x214], edx
push ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x218], ecx
push eax
push 0
push dword [0x491210]
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov edx, 0x475fb4
lea ecx, [ebp - 0x118]
call fcn.004019b8
mov esi, str.datalayout_
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
lea edi, [eax + 1]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42658c
push dword [ebp - 0x218]
sub ecx, edx
lea eax, [ebp - 0x118]
mov edx, ebx
sub edx, ecx
add ecx, eax
call fcn.004014cb
pop ecx
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4265b6
sub ecx, edx
lea eax, [ebp - 0x118]
sub ebx, ecx
add ecx, eax
push 0x475fb8
mov edx, ebx
call fcn.004014cb
lea eax, [ebp - 0x118]
mov dword [esp], 0x475fc0
push eax
call fcn.0044a0f7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x426603
push str.Cant_open_a_layout_file
push 0
call fcn.00407cc3
pop ecx
pop ecx
jmp 0x4267c6
push esi
push 1
lea eax, [ebp - 0x10]
push 0xc
push eax
call fcn.00451a9d
push 6
lea eax, [ebp - 0x10]
push eax
push str.LFSLYT
call fcn.0044d630
add esp, 0x1c
test eax, eax
je 0x426637
push esi
call fcn.0044a2d1
mov dword [esp], str.Cant_open_a_layout_file___Invalid_header
jmp 0x4265f5
push 0xf8
xor edi, edi
lea eax, [ebp - 0x210]
push edi
push eax
xor ebx, ebx
call fcn.00447370
mov cl, byte [ebp - 0x20d]
add esp, 0xc
cmp dword [ebp - 0x214], ebx
mov byte [ebp - 0x20f], 0x36
setne al
inc al
mov byte [ebp - 0x20b], al
movzx eax, cl
lea ecx, [ebp - 0x208]
push esi
push 1
push 8
lea eax, [ecx + eax*8]
push eax
call fcn.00451a9d
mov cl, byte [ebp - 0x20d]
add esp, 0x10
mov dword [ebp - 0x224], eax
test eax, eax
jle 0x426708
and dword [ebp - 0x21c], 0
cmp dword [0x83ca68], 0
movzx eax, cl
mov dword [ebp - 0x220], eax
jle 0x4266ff
mov edx, 0x838be8
mov eax, dword [ebp + eax*8 - 0x208]
cmp eax, dword [edx]
jne 0x4266d3
mov eax, dword [ebp - 0x220]
mov eax, dword [ebp + eax*8 - 0x204]
cmp eax, dword [edx + 4]
je 0x4266f3
mov eax, dword [ebp - 0x21c]
add edx, 8
inc eax
mov dword [ebp - 0x21c], eax
cmp eax, dword [0x83ca68]
jge 0x4266ff
mov eax, dword [ebp - 0x220]
jmp 0x4266b6
cmp dword [ebp - 0x214], 0
jne 0x4266ff
inc edi
jmp 0x426708
inc cl
inc ebx
mov byte [ebp - 0x20d], cl
cmp cl, 0x1e
je 0x42671f
mov eax, dword [ebp - 0x224]
test eax, eax
jg 0x42666e
test cl, cl
je 0x426780
inc cl
shl cl, 3
push 0
movzx eax, cl
push eax
lea eax, [ebp - 0x210]
mov byte [ebp - 0x210], cl
push eax
push dword [0x49123c]
call dword [sym.imp.WS2_32.dll_send]
mov edx, 0x689c40
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edx, str.Cant_add_:_intersecting_object
cmp al, byte [edx + ecx]
mov edx, 0x689c40
jne 0x42676a
inc ecx
cmp ecx, 0x20
jne 0x42674a
push 0x1f4
jmp 0x42676c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x224]
xor cl, cl
mov byte [ebp - 0x20d], cl
test eax, eax
jg 0x42666e
push esi
call fcn.0044a2d1
pop ecx
push dword [ebp - 0x218]
test edi, edi
jne 0x4267b5
cmp dword [ebp - 0x214], edi
mov eax, str.Removed
mov ecx, str.Added
push ebx
cmove eax, ecx
push eax
push str._s__d_objects___s_
jmp 0x4267bc
push edi
push ebx
push str.Added__d_objects___d_are_intersecting___s_
push 0
call fcn.00407cc3
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445b7e
leave
ret