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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098c79
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x100bd078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [0x100c1e48]
mov dword [ebp - 0xb8], ebx
mov dword [0x100c1e4c], eax
mov dword [ebp - 4], 0
mov ecx, 0x100c1e54
mov eax, dword [0x100c1e54]
push dword [eax + 4]
call fcn.1000cf70
mov eax, dword [0x100c1e54]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
mov dword [eax + 4], eax
mov eax, dword [0x100c1e54]
mov dword [eax], eax
mov eax, dword [0x100c1e54]
mov dword [eax + 8], eax
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x5c]
mov dword [0x100c1e58], 0
push eax
push ebx
mov dword [ebp - 0x5c], 0
call esi
xor edi, edi
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], edi
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
test eax, eax
jg 0x1000d803
cmp dword [0x100c1e70], 0x10
mov eax, 0x100c1e5c
movaps xmm0, xmmword [0x100b1f90]
cmovae eax, dword [0x100c1e5c]
xor ecx, ecx
push 0x163
push str.c:usersmonsterdesktopdreamsoft_v1924dreamsoftN3Base_N3TableBase.hpp
push eax
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0x14580a17
mov dword [ebp - 0x8c], 0x420b0b1d
mov dword [ebp - 0x88], 0x720b5d58
mov byte [ebp - 0x84], 0
nop word [eax + eax]
mov al, byte [ebp - 0xa0]
xor byte [ebp + ecx - 0x9f], al
inc ecx
cmp ecx, 0x1b
jb 0x1000d6d0
sub esp, 0x18
mov byte [ebp - 0x84], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1000d715
mov eax, dword [edx]
jmp 0x1000d717
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x9f], 0
jne 0x1000d727
xor ecx, ecx
jmp 0x1000d73f
lea ecx, [ebp - 0x9f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d730
sub ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ecx
lea eax, [ebp - 0x9f]
mov ecx, edx
push eax
call fcn.10002880
lea eax, [ebp - 0x7c]
push eax
call fcn.10009ac0
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1000d766
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x1000d792
mov eax, dword [ecx]
jmp 0x1000d794
mov eax, ecx
push 0x13
push str.ERROR____s_n_s:__d_n_n
mov byte [eax], 0
call fcn.10002880
lea eax, [ebp - 0x28]
push eax
call fcn.10009ac0
mov byte [ebp - 4], 1
add esp, 0x28
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x1000d7c8
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.10002760
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000d7f8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002760
mov eax, dword [ebp - 0x5c]
test eax, eax
jle 0x1000d8a6
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push ecx
push eax
push dword [0x100c1e48]
lea eax, [ebp - 0x80]
mov ecx, 0x100c1e48
push eax
call fcn.1000dcd0
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x5c]
shl eax, 2
push eax
push dword [0x100c1e48]
push ebx
call esi
lea eax, [ebp - 0x3c]
push eax
call fcn.1000e280
mov edi, dword [ebp - 0x3c]
test al, al
jne 0x1000d88b
movaps xmm0, xmmword [0x100b1550]
xor ecx, ecx
push 0x16b
push str.c:usersmonsterdesktopdreamsoft_v1924dreamsoftN3Base_N3TableBase.hpp
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0x540011
mov dword [ebp - 0x68], 0x11181615
mov byte [ebp - 0x64], 0
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x17
jb 0x1000d872
mov byte [ebp - 0x64], 0
lea eax, [ebp - 0x7b]
jmp 0x1000dac0
mov eax, dword [ebp - 0x5c]
cmp dword [edi + eax*4], 0x1c
mov eax, dword [0x100c1e48]
jne 0x1000da5e
cmp dword [eax], 6
jne 0x1000da5e
push 0
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push ebx
call esi
mov eax, 0xf
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x54], 0
xor ebx, ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x30], ebx
jle 0x1000da33
nop word [eax + eax]
xor esi, esi
cmp dword [ebp - 0x5c], esi
jle 0x1000d910
mov ebx, dword [ebp - 0xb8]
nop dword [eax]
mov eax, dword [edi + esi*4]
lea ecx, [ebp - 0x58]
add eax, ecx
push eax
mov eax, dword [0x100c1e48]
push dword [eax + esi*4]
push ebx
call fcn.1000df00
inc esi
cmp esi, dword [ebp - 0x5c]
jl 0x1000d8f0
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0xa4]
lea eax, [ebp - 0x58]
push eax
call fcn.1000e490
add esp, 4
push eax
mov ecx, 0x100c1e54
mov byte [ebp - 4], 4
call fcn.1000e9a0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xc0]
mov ecx, 0x100c1e54
push eax
call fcn.1000e9f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x88]
cmp eax, 0x10
jb 0x1000d973
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.10002760
cmp byte [ebp - 0xbc], 0
jne 0x1000da23
movaps xmm0, xmmword [str.j__Y__v_b]
xor ecx, ecx
push 0x182
push str.c:usersmonsterdesktopdreamsoft_v1924dreamsoftN3Base_N3TableBase.hpp
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0x4a540f1a
mov dword [ebp - 0x68], 0xf214a50
mov word [ebp - 0x64], 0x4413
mov byte [ebp - 0x62], 0
nop
mov al, byte [ebp - 0x7c]
xor byte [ebp + ecx - 0x7b], al
inc ecx
cmp ecx, 0x19
jb 0x1000d9b0
lea eax, [ebp - 0x7b]
mov byte [ebp - 0x62], 0
push eax
sub esp, 0x18
mov ecx, esp
push 0x13
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.ERROR____s_n_s:__d_n_n
mov byte [ecx], 0
call fcn.10002880
lea eax, [ebp - 0x28]
push eax
call fcn.10009ac0
add esp, 0x28
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000da23
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002760
inc ebx
mov dword [ebp - 0x60], ebx
cmp ebx, dword [ebp - 0x30]
jl 0x1000d8e0
mov eax, dword [ebp - 0x40]
mov bl, 1
cmp eax, 0x10
jb 0x1000da47
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.10002760
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
jmp 0x1000db01
movaps xmm0, xmmword [0x100b1cc0]
xor ecx, ecx
movups xmmword [ebp - 0xb4], xmm0
push 0x173
movaps xmm0, xmmword [0x100b1c50]
movups xmmword [ebp - 0xa4], xmm0
mov dword [0x100c1e4c], eax
movaps xmm0, xmmword [0x100b21a0]
push str.c:usersmonsterdesktopdreamsoft_v1924dreamsoftN3Base_N3TableBase.hpp
movups xmmword [ebp - 0x94], xmm0
mov byte [ebp - 0x84], 0
mov al, byte [ebp - 0xb4]
xor byte [ebp + ecx - 0xb3], al
inc ecx
cmp ecx, 0x2f
jb 0x1000daa0
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0xb3]
push eax
sub esp, 0x18
mov ecx, esp
push str.ERROR____s_n_s:__d_n_n
call fcn.10002980
lea eax, [ebp - 0x28]
push eax
call fcn.10009ac0
add esp, 0x28
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x28]
call fcn.10002340
xor bl, bl
test edi, edi
je 0x1000db14
mov ecx, dword [ebp - 0x34]
sub ecx, edi
sar ecx, 2
push ecx
push edi
call fcn.1000cee0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067c75
mov esp, ebp
pop ebp
ret 4