Function at 0x10030080
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 [0x100a2d20]
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.1006d400
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.1003b3d0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xfb
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.10007cc0
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030110
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.1003b520
add esp, 8
cmp dword [edi + 0x80], 0xffffffff
jne 0x1003019c
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.1003b3d0
push 0xfd
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.10007cc0
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030190
jmp 0x100306f9
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov ecx, edi
call fcn.1002fda0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
cmp eax, 1
jge 0x1003022d
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.1003b3d0
push dword [esp + 0x18]
push 0x106
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.10007cc0
lea ecx, [esp + 0x78]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030221
jmp 0x100306f9
push eax
call fcn.100439fa
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.1006d400
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 + 0xc]
call eax
add esi, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
test eax, eax
jle 0x1003066f
cmp esi, dword [esp + 0x18]
jge 0x1003039a
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.1003b3d0
push esi
push 0x118
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.10007cc0
lea ecx, [esp + 0x78]
add esp, 0x20
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100302f0
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.1003b520
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 8]
cmp dword [esp + 0x14], ecx
jne 0x10030381
cmp eax, 0x1e
jl 0x10030381
mov esi, ecx
xor edi, edi
nop
movsx eax, byte [esi]
push eax
call fcn.1004a2e0
add esp, 4
test eax, eax
je 0x10030375
inc edi
inc esi
cmp edi, 0xa
jl 0x10030320
xor eax, eax
nop dword [eax]
cmp byte [esi], 0x30
jne 0x10030375
inc eax
inc esi
cmp eax, 0xa
jl 0x10030340
xor edi, edi
nop
movsx eax, byte [esi]
push eax
call fcn.1004a2e0
add esp, 4
test eax, eax
je 0x10030375
inc edi
inc esi
cmp edi, 0xa
jl 0x10030350
mov esi, dword [esp + 0xc]
sub dword [esp + 8], 0x1e
sub esi, 0x1e
jmp 0x10030379
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 0x1003067d
push 0x100959b0
push str.cncomm
call fcn.1006c4e0
add esp, 8
test eax, eax
jne 0x1003051a
push str.pcomm
push str.cncomm
call fcn.1006c4e0
add esp, 8
test eax, eax
je 0x1003051a
push 0x1009739c
push str.getConfigSaved.xml
call fcn.10044b69
add esp, 8
mov dword [esp + 8], eax
test eax, eax
jne 0x1003046e
push 0x400
push eax
lea eax, [esp + 0x60]
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.1003b3d0
push 0x167
push 0x10098220
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.10007cc0
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030450
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.1003b520
add esp, 8
xor edi, edi
jmp 0x1003051e
push esi
call fcn.100439fa
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1006d400
add esp, 0xc
push dword [esp + 8]
push esi
push 1
push edi
call fcn.1004c00a
add esp, 0x10
cmp eax, esi
jae 0x1003050c
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.1003b3d0
push 0x16e
push 0x10098220
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.10007cc0
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030500
jmp 0x10030457
push dword [esp + 8]
call fcn.10044d38
add esp, 4
jmp 0x1003051e
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
or esi, 0xffffffff
xor ecx, ecx
test edx, edx
je 0x10030548
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 + 0x1008d210]
cmp ecx, edx
jb 0x10030530
push 0x400
lea eax, [esp + 0x5c]
not esi
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.1003b3d0
push esi
push dword [esp + 0x28]
push 0x133
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.10007cc0
lea ecx, [esp + 0x7c]
add esp, 0x24
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100305b2
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.1003b520
add esp, 8
lea eax, [esp + 0x58]
push 0x400
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.1003b3d0
cmp esi, dword [esp + 0x24]
je 0x10030721
push 0x135
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.10007cc0
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030636
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.1003b520
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 0x1003067d
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 0x10030252
push 0x400
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.1006d400
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
call fcn.1003b3d0
push 0x143
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.10007cc0
lea ecx, [esp + 0x74]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100306f2
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
call fcn.1003b520
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.100699c7
mov esp, ebp
pop ebp
ret 4
push 0x13c
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.10007cc0
lea edx, [esp + 0x74]
add esp, 0x1c
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10030757
sub edx, ecx
lea eax, [esp + 0x58]
push edx
push eax
call fcn.1003b520
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.100699c7
mov esp, ebp
pop ebp
ret 4