Function at 0x10035260
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x458
mov eax, dword [0x100abec0]
xor eax, esp
mov dword [esp + 0x454], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x400
mov dword [esp + 0x30], eax
mov edi, ecx
lea eax, [esp + 0x5c]
mov dword [esp + 0x14], edi
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10040670
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x129
push str.ComConnect::ReadFileFromClient
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push str._s_t__d__d___INFO____s:_d__start_Com_ReadFileFromClients_n
push eax
call fcn.10008b40
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100352f0
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.100407c0
add esp, 8
cmp dword [edi + 0x80], 0xffffffff
jne 0x1003537c
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10040670
push 0x12b
push str.ComConnect::ReadFileFromClient
call esi
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push str._s_t__d__d___ERROR____s:_d__ReadFileFromClient_mHandle_INVALID_HANDLE_VALUE_n
push eax
call fcn.10008b40
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035370
jmp 0x100358d9
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov ecx, edi
call fcn.10034f80
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp eax, 1
jge 0x1003540d
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10040670
push dword [esp + 0x18]
push 0x134
push str.ComConnect::ReadFileFromClient
call esi
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x70]
push str._s_t__d__d___ERROR____s:_d__ReadDataSize___d_n
push eax
call fcn.10008b40
lea ecx, [esp + 0x78]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035401
jmp 0x100358d9
push eax
call fcn.10048c9a
add esp, 4
mov dword [esp + 0x20], eax
xor esi, esi
mov dword [esp + 0x14], eax
push dword [esp + 0x18]
push esi
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x28], esi
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x1c]
push dword [esp + 0x18]
mov eax, dword [eax + 0x10]
call eax
add esi, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
test eax, eax
jle 0x1003584f
cmp esi, dword [esp + 0x18]
jge 0x1003557a
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10040670
push esi
push 0x146
push str.ComConnect::ReadFileFromClient
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x70]
push str._s_t__d__d___ERROR____s:_d__after_read_file_with_size__d_n
push eax
call fcn.10008b40
lea ecx, [esp + 0x78]
add esp, 0x20
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100354d0
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.100407c0
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 8]
cmp dword [esp + 0x14], ecx
jne 0x10035561
cmp eax, 0x1e
jl 0x10035561
mov esi, ecx
xor edi, edi
nop
movsx eax, byte [esi]
push eax
call fcn.10050490
add esp, 4
test eax, eax
je 0x10035555
inc edi
inc esi
cmp edi, 0xa
jl 0x10035500
xor eax, eax
nop dword [eax]
cmp byte [esi], 0x30
jne 0x10035555
inc eax
inc esi
cmp eax, 0xa
jl 0x10035520
xor edi, edi
nop
movsx eax, byte [esi]
push eax
call fcn.10050490
add esp, 4
test eax, eax
je 0x10035555
inc edi
inc esi
cmp edi, 0xa
jl 0x10035530
mov esi, dword [esp + 0xc]
sub dword [esp + 8], 0x1e
sub esi, 0x1e
jmp 0x10035559
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
add dword [esp + 0x14], eax
sub dword [esp + 0x1c], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call eax
jmp 0x1003585d
push 0x1009e4f8
push str.cncomm
call fcn.10074190
add esp, 8
test eax, eax
jne 0x100356fa
push str.pcomm
push str.cncomm
call fcn.10074190
add esp, 8
test eax, eax
je 0x100356fa
push 0x1009ff54
push str.getConfigSaved.xml
call fcn.10049ed6
add esp, 8
mov dword [esp + 8], eax
test eax, eax
jne 0x1003564e
push 0x400
push eax
lea eax, [esp + 0x60]
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10040670
push 0x167
push 0x100a0dc0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push str._s_t__d__d___ERROR____s:_d__File:_Can_Not_Open_To_Read__n
push eax
call fcn.10008b40
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035630
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.100407c0
add esp, 8
xor edi, edi
jmp 0x100356fe
push esi
call fcn.10048c9a
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100750b0
add esp, 0xc
push dword [esp + 8]
push esi
push 1
push edi
call fcn.1004efce
add esp, 0x10
cmp eax, esi
jae 0x100356ec
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10040670
push 0x16e
push 0x100a0dc0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push str._s_t__d__d___ERROR____s:_d__File:__Read_Failed_n
push eax
call fcn.10008b40
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100356e0
jmp 0x10035637
push dword [esp + 8]
call fcn.1004a0a5
add esp, 4
jmp 0x100356fe
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
or esi, 0xffffffff
xor ecx, ecx
test edx, edx
je 0x10035728
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x10095500]
cmp ecx, edx
jb 0x10035710
push 0x400
lea eax, [esp + 0x5c]
not esi
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10040670
push esi
push dword [esp + 0x28]
push 0x161
push str.ComConnect::ReadFileFromClient
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x74]
push str._s_t__d__d___INFO____s:_d__sendCrc___lu__recvCrc___lu_n
push eax
call fcn.10008b40
lea ecx, [esp + 0x7c]
add esp, 0x24
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035792
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.100407c0
add esp, 8
lea eax, [esp + 0x58]
push 0x400
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10040670
cmp esi, dword [esp + 0x24]
je 0x10035901
push 0x163
push str.ComConnect::ReadFileFromClient
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push str._s_t__d__d___ERROR____s:_d__CRC_check_error__retry..._n
push eax
call fcn.10008b40
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035816
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.100407c0
mov edi, dword [esp + 0x18]
add esp, 8
mov ecx, edi
mov eax, dword [edi]
push str.00DataErr0
call dword [eax + 4]
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call eax
mov esi, dword [esp + 0xc]
jmp 0x1003585d
mov eax, dword [edi]
mov ecx, edi
push str.00DataErr0
call dword [eax + 4]
xor esi, esi
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 0x14
jl 0x10035432
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10040670
push 0x171
push str.ComConnect::ReadFileFromClient
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push str._s_t__d__d___ERROR____s:_d__read_file_ERROR___n
push eax
call fcn.10008b40
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100358d2
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.100407c0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.10071677
mov esp, ebp
pop ebp
ret 4
push 0x16a
push str.ComConnect::ReadFileFromClient
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push str._s_t__d__d___INFO____s:_d__read_config_data_ok_n
push eax
call fcn.10008b40
lea edx, [esp + 0x74]
add esp, 0x1c
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10035937
sub edx, ecx
lea eax, [esp + 0x58]
push edx
push eax
call fcn.100407c0
mov ecx, dword [esp + 0x18]
add esp, 8
mov edx, dword [ecx]
push str.00DataOk00
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x45c]
mov dword [eax], edi
mov eax, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.10071677
mov esp, ebp
pop ebp
ret 4