Function at 0x100359f0
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 [0x100a94c0]
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.10056430
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10041020
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.10008e00
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035a80
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.10041170
add esp, 8
cmp dword [edi + 0x80], 0xffffffff
jne 0x10035b0c
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10041020
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.10008e00
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035b00
jmp 0x10036069
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov ecx, edi
call fcn.10035710
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp eax, 1
jge 0x10035b9d
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10041020
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.10008e00
lea ecx, [esp + 0x78]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035b91
jmp 0x10036069
push eax
call fcn.100653f0
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.10056430
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 0x10035fdf
cmp esi, dword [esp + 0x18]
jge 0x10035d0a
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10041020
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.10008e00
lea ecx, [esp + 0x78]
add esp, 0x20
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035c60
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.10041170
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 8]
cmp dword [esp + 0x14], ecx
jne 0x10035cf1
cmp eax, 0x1e
jl 0x10035cf1
mov esi, ecx
xor edi, edi
nop
movsx eax, byte [esi]
push eax
call fcn.1006d050
add esp, 4
test eax, eax
je 0x10035ce5
inc edi
inc esi
cmp edi, 0xa
jl 0x10035c90
xor eax, eax
nop dword [eax]
cmp byte [esi], 0x30
jne 0x10035ce5
inc eax
inc esi
cmp eax, 0xa
jl 0x10035cb0
xor edi, edi
nop
movsx eax, byte [esi]
push eax
call fcn.1006d050
add esp, 4
test eax, eax
je 0x10035ce5
inc edi
inc esi
cmp edi, 0xa
jl 0x10035cc0
mov esi, dword [esp + 0xc]
sub dword [esp + 8], 0x1e
sub esi, 0x1e
jmp 0x10035ce9
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 0x10035fed
push 0x1009c610
push str.cncomm
call fcn.100556c0
add esp, 8
test eax, eax
jne 0x10035e8a
push str.pcomm
push str.cncomm
call fcn.100556c0
add esp, 8
test eax, eax
je 0x10035e8a
push 0x1009e06c
push str.getConfigSaved.xml
call fcn.100666bf
add esp, 8
mov dword [esp + 8], eax
test eax, eax
jne 0x10035dde
push 0x400
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10056430
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10041020
push 0x167
push 0x1009eed8
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.10008e00
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035dc0
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.10041170
add esp, 8
xor edi, edi
jmp 0x10035e8e
push esi
call fcn.100653f0
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10056430
add esp, 0xc
push dword [esp + 8]
push esi
push 1
push edi
call fcn.1006bad1
add esp, 0x10
cmp eax, esi
jae 0x10035e7c
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10041020
push 0x16e
push 0x1009eed8
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.10008e00
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035e70
jmp 0x10035dc7
push dword [esp + 8]
call fcn.1006694b
add esp, 4
jmp 0x10035e8e
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
or esi, 0xffffffff
xor ecx, ecx
test edx, edx
je 0x10035eb8
nop dword [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x10093600]
cmp ecx, edx
jb 0x10035ea0
push 0x400
lea eax, [esp + 0x5c]
not esi
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10041020
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.10008e00
lea ecx, [esp + 0x7c]
add esp, 0x24
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035f22
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.10041170
add esp, 8
lea eax, [esp + 0x58]
push 0x400
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10041020
cmp esi, dword [esp + 0x24]
je 0x10036091
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.10008e00
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035fa6
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.10041170
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 0x10035fed
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 0x10035bc2
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.10041020
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.10008e00
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036062
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.10041170
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.10052d76
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.10008e00
lea edx, [esp + 0x74]
add esp, 0x1c
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100360c7
sub edx, ecx
lea eax, [esp + 0x58]
push edx
push eax
call fcn.10041170
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.10052d76
mov esp, ebp
pop ebp
ret 4