Function at 0x1000cf20
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c58b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x100b7080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100b7b48]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x8c], edi
cmp eax, dword [0x100b7b4c]
je 0x1000cf68
mov dword [0x100b7b4c], eax
mov esi, dword [0x100b7b54]
mov ecx, 0x100b7b54
push dword [esi + 4]
push 0x100b7b54
call fcn.1000e650
push 0
lea eax, [ebp - 0x30]
mov dword [esi + 4], esi
push eax
push 4
lea eax, [ebp - 0x60]
mov dword [esi], esi
push eax
mov dword [esi + 8], esi
push edi
mov dword [0x100b7b58], 0
mov dword [ebp - 0x60], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x60]
test eax, eax
jg 0x1000d174
cmp dword [0x100b7b70], 0xf
mov eax, 0x100b7b5c
movaps xmm0, xmmword [0x100af2a0]
cmova eax, dword [0x100b7b5c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x9c], 0x7f33617c
mov dword [ebp - 0x98], 0x29606076
mov dword [ebp - 0x94], 0x19603633
mov byte [ebp - 0x90], 0
nop dword [eax + eax]
mov al, byte [ebp - 0xac]
xor byte [ebp + ecx - 0xab], al
inc ecx
cmp ecx, 0x1b
jb 0x1000d030
sub esp, 0x18
mov byte [ebp - 0x90], 0
mov edx, esp
lea ecx, [ebp - 0xab]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d070
sub ecx, esi
lea eax, [ebp - 0xab]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x84]
push eax
call fcn.1000a3e0
add esp, 0x20
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x1000d0a3
mov eax, dword [eax]
push 0x163
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
push eax
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
push str.ERROR____s_n_s:__d_n_n
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10002570
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a3e0
mov byte [ebp - 4], 0
add esp, 0x28
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x1000d11a
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d110
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d595
push ecx
push edx
call fcn.100812a6
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1000d169
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d15f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d59a
push ecx
push edx
call fcn.100812a6
add esp, 8
mov eax, dword [ebp - 0x60]
test eax, eax
jle 0x1000d320
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push ecx
push eax
push dword [0x100b7b48]
lea eax, [ebp - 0x88]
mov ecx, 0x100b7b48
push eax
call fcn.1000dcc0
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push ecx
shl eax, 2
push eax
push dword [0x100b7b48]
push edi
call esi
lea eax, [ebp - 0x3c]
push eax
call fcn.1000e1c0
test al, al
jne 0x1000d29b
movaps xmm0, xmmword [0x100af6b0]
xor ecx, ecx
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x54005445
mov dword [ebp - 0x70], 0x454c4241
mov byte [ebp - 0x6c], al
nop word [eax + eax]
mov al, byte [ebp - 0x84]
xor byte [ebp + ecx - 0x83], al
inc ecx
cmp ecx, 0x17
jb 0x1000d1f0
push 0x16b
mov byte [ebp - 0x6c], 0
lea eax, [ebp - 0x83]
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
push eax
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
push str.ERROR____s_n_s:__d_n_n
mov dword [ecx + 0x14], 0
call fcn.10002570
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a3e0
add esp, 0x28
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1000d569
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d55f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d59f
jmp 0x1000d55f
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x60]
cmp dword [eax + ecx*4], 0x20
mov eax, dword [0x100b7b48]
jne 0x1000d2b1
cmp dword [eax], 6
je 0x1000d326
cmp eax, dword [0x100b7b4c]
je 0x1000d2be
mov dword [0x100b7b4c], eax
movaps xmm0, xmmword [0x100aef70]
xor ecx, ecx
movups xmmword [ebp - 0xc0], xmm0
mov byte [ebp - 0x90], 0
movaps xmm0, xmmword [0x100aeef0]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x100af600]
movups xmmword [ebp - 0xa0], xmm0
mov al, byte [ebp - 0xc0]
xor byte [ebp + ecx - 0xbf], al
inc ecx
cmp ecx, 0x2f
jb 0x1000d2f1
push 0x173
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0xbf]
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
jmp 0x1000d217
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x30]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
mov eax, 0xf
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x58], 0
xor edi, edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], edi
cmp dword [ebp - 0x14], edi
jle 0x1000d518
xor esi, esi
cmp dword [ebp - 0x60], esi
jle 0x1000d3aa
xor edi, edi
xor edx, edx
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
add ecx, dword [edi + eax]
mov eax, dword [0x100b7b48]
push ecx
push dword [eax + edx]
push dword [ebp - 0x8c]
call fcn.1000dfb0
mov edx, dword [ebp - 0x88]
lea edi, [edi + 4]
inc esi
add edx, 4
mov dword [ebp - 0x88], edx
cmp esi, dword [ebp - 0x60]
jl 0x1000d372
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x58]
push eax
call fcn.100069b0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xc8]
mov ecx, 0x100b7b54
push eax
call fcn.1000e910
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
cmp ecx, 0xf
jbe 0x1000d42b
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d421
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d5a4
push ecx
push edx
call fcn.100812a6
add esp, 8
cmp byte [ebp - 0xc4], 0
jne 0x1000d508
movaps xmm0, xmmword [0x100af260]
xor ecx, ecx
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x68762d38
mov dword [ebp - 0x70], 0x2d036872
mov word [ebp - 0x6c], 0x6631
mov byte [ebp - 0x6a], 0
mov al, byte [ebp - 0x84]
xor byte [ebp + ecx - 0x83], al
inc ecx
cmp ecx, 0x19
jb 0x1000d460
push 0x182
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
lea eax, [ebp - 0x83]
mov byte [ebp - 0x6a], 0
push eax
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
push str.ERROR____s_n_s:__d_n_n
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10002570
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a3e0
add esp, 0x28
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1000d508
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d4fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d595
push ecx
push edx
call fcn.100812a6
add esp, 8
inc edi
mov dword [ebp - 0x68], edi
cmp edi, dword [ebp - 0x14]
jl 0x1000d361
mov eax, dword [ebp - 0x44]
mov byte [ebp - 0x61], 1
cmp eax, 0xf
jbe 0x1000d54b
mov edx, dword [ebp - 0x58]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000d541
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d5a4
push ecx
push edx
call fcn.100812a6
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x1000d56d
push ecx
push edx
call fcn.100812a6
add esp, 8
mov byte [ebp - 0x61], 0
lea ecx, [ebp - 0x3c]
call fcn.1000cec0
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10081245
mov esp, ebp
pop ebp
ret 4
call fcn.1008643f
call fcn.1008643f
call fcn.1008643f
call fcn.1008643f
int3