Function at 0x1004cee0
Capabilities:
Check if file exists
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x100e41c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x101eec48]
push edi
test esi, esi
jne 0x1004cf2f
push 0xe89
push 0x100ca27c
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1009dd6d
mov esi, dword [0x101eec48]
add esp, 0xc
mov eax, dword [esi + 0x378c]
lea edi, [esi + 8]
test eax, eax
jns 0x1004cf70
je 0x1004cf50
cdq
sub eax, edx
lea edx, [edi + 0x3780]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1004cf5b
mov ecx, 8
lea edx, [edi + 0x3780]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1001d440
mov esi, dword [0x101eec48]
mov ecx, edi
mov dword [edi + 0x3780], 0
call fcn.10007dd0
test esi, esi
jne 0x1004cfa2
push 0xab1
push 0x100ca27c
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1009dd6d
mov esi, dword [0x101eec48]
add esp, 0xc
mov edx, 0x65
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100d1d44]
xor al, dl
mov byte [ebp + ecx - 0x130], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1d
jb 0x1004cfb0
movss xmm2, dword [0x100d6800]
lea eax, [ebp - 0x130]
push 0x100cf868
push ecx
mov ecx, dword [edi + 0x38]
push eax
mov byte [ebp - 0x113], 0
call fcn.100288e0
mov dword [0x101eef70], eax
mov edx, 0x65
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x100d1d44]
xor al, dl
mov byte [ebp + ecx - 0x130], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1d
jb 0x1004d000
movss xmm2, dword [0x100d680c]
lea eax, [ebp - 0x130]
push 0x100cf868
push ecx
mov ecx, dword [edi + 0x38]
push eax
mov byte [ebp - 0x113], 0
call fcn.100288e0
push 0x104
mov dword [0x101ef010], eax
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.10090bb0
add esp, 0xc
mov edx, 0xaa
xor ecx, ecx
mov al, byte [ecx + 0x100d1d64]
xor al, dl
mov byte [ebp + ecx - 0x128], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x12
jb 0x1004d061
lea eax, [ebp - 0x110]
mov byte [ebp - 0x116], 0
push eax
push 0x101e6d7e
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.1003a9e0
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1004d0c0
push 0
lea eax, [ebp - 0x110]
jmp 0x1004d0fd
mov edx, 0x65
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100d1d44]
xor al, dl
mov byte [ebp + ecx - 0x130], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1d
jb 0x1004d0d0
mov byte [ebp - 0x113], 0
lea eax, [ebp - 0x130]
push 0x100cf868
movss xmm2, dword [0x100d6818]
push ecx
mov ecx, dword [edi + 0x38]
push eax
call fcn.100288e0
movaps xmm0, xmmword [0x100d6f60]
mov dword [0x101eef94], eax
mov dword [esi + 0x37c0], 0x41200000
mov dword [esi + 0x37f4], 0x41400000
mov dword [esi + 0x381c], 0x41c80000
mov dword [esi + 0x3824], 0x41700000
mov dword [esi + 0x3828], 0x41100000
mov dword [esi + 0x382c], 0x41a00000
mov dword [esi + 0x3830], 0x41400000
mov dword [esi + 0x37e4], 0x40e00000
mov dword [esi + 0x37b0], 0x3f800000
mov dword [ebp - 0x138], 0x41700000
mov eax, dword [ebp - 0x138]
mov dword [esi + 0x37b8], eax
mov dword [ebp - 0x134], 0x41700000
mov eax, dword [ebp - 0x134]
mov dword [esi + 0x37bc], eax
mov dword [ebp - 0x138], 0x40a00000
mov eax, dword [ebp - 0x138]
mov dword [esi + 0x37ec], eax
mov dword [ebp - 0x134], 0x40a00000
mov eax, dword [ebp - 0x134]
mov dword [esi + 0x37f0], eax
mov dword [ebp - 0x138], 0x41400000
mov eax, dword [ebp - 0x138]
mov dword [esi + 0x37fc], eax
mov dword [ebp - 0x134], 0x41000000
mov eax, dword [ebp - 0x134]
mov dword [esi + 0x3800], eax
mov dword [ebp - 0x138], 0x41000000
mov eax, dword [ebp - 0x138]
mov dword [esi + 0x3804], eax
mov dword [ebp - 0x134], 0x40c00000
mov eax, dword [ebp - 0x134]
mov dword [esi + 0x3808], eax
movups xmmword [esi + 0x3878], xmm0
movaps xmm0, xmmword [0x100d6f60]
movups xmmword [esi + 0x3888], xmm0
movaps xmm0, xmmword [0x100d6da0]
movups xmmword [esi + 0x3898], xmm0
movaps xmm0, xmmword [0x100d6da0]
movups xmmword [esi + 0x38a8], xmm0
movaps xmm0, xmmword [0x100d6da0]
movups xmmword [esi + 0x38b8], xmm0
movaps xmm0, xmmword [0x100d6d30]
movups xmmword [esi + 0x38c8], xmm0
movaps xmm0, xmmword [0x100d6d30]
movups xmmword [esi + 0x38d8], xmm0
movaps xmm0, xmmword [0x100d6e80]
movups xmmword [esi + 0x38e8], xmm0
movaps xmm0, xmmword [0x100d6ee0]
movups xmmword [esi + 0x38f8], xmm0
movaps xmm0, xmmword [0x100d6e60]
movups xmmword [esi + 0x3908], xmm0
movaps xmm0, xmmword [0x100d6f00]
movups xmmword [esi + 0x3918], xmm0
movaps xmm0, xmmword [0x100d6f00]
movups xmmword [esi + 0x3928], xmm0
movaps xmm0, xmmword [0x100d6f00]
movups xmmword [esi + 0x3938], xmm0
movaps xmm0, xmmword [0x100d6f20]
movups xmmword [esi + 0x3948], xmm0
movaps xmm0, xmmword [0x100d6b90]
movups xmmword [esi + 0x3958], xmm0
movaps xmm0, xmmword [0x100d6c90]
movups xmmword [esi + 0x3968], xmm0
movaps xmm0, xmmword [0x100d6c80]
movups xmmword [esi + 0x3978], xmm0
movaps xmm0, xmmword [0x100d6ea0]
movups xmmword [esi + 0x3988], xmm0
movaps xmm0, xmmword [0x100d6db0]
movups xmmword [esi + 0x3998], xmm0
movaps xmm0, xmmword [0x100d6c30]
movups xmmword [esi + 0x39a8], xmm0
movaps xmm0, xmmword [0x100d6bc0]
movups xmmword [esi + 0x39b8], xmm0
movaps xmm0, xmmword [0x100d6e80]
movups xmmword [esi + 0x39c8], xmm0
mov ecx, dword [ebp - 4]
movaps xmm0, xmmword [0x100d6ee0]
xor ecx, ebp
movups xmmword [esi + 0x39d8], xmm0
pop edi
movaps xmm0, xmmword [0x100d6e60]
movups xmmword [esi + 0x39e8], xmm0
movaps xmm0, xmmword [0x100d6e80]
movups xmmword [esi + 0x39f8], xmm0
movaps xmm0, xmmword [0x100d6ee0]
movups xmmword [esi + 0x3a08], xmm0
movaps xmm0, xmmword [0x100d6e60]
movups xmmword [esi + 0x3a18], xmm0
movaps xmm0, xmmword [0x100d6e50]
movups xmmword [esi + 0x3a28], xmm0
movaps xmm0, xmmword [0x100d6c20]
movups xmmword [esi + 0x3a38], xmm0
movaps xmm0, xmmword [0x100d6da0]
movups xmmword [esi + 0x3a48], xmm0
movaps xmm0, xmmword [0x100d6bb0]
movups xmmword [esi + 0x3a58], xmm0
movaps xmm0, xmmword [0x100d6bd0]
movups xmmword [esi + 0x3a68], xmm0
movaps xmm0, xmmword [0x100d6cf0]
movups xmmword [esi + 0x3a78], xmm0
movaps xmm0, xmmword [0x100d6c10]
movups xmmword [esi + 0x3a88], xmm0
movaps xmm0, xmmword [0x100d6cc0]
movups xmmword [esi + 0x3a98], xmm0
movaps xmm0, xmmword [0x100d6d70]
movups xmmword [esi + 0x3aa8], xmm0
movaps xmm0, xmmword [0x100d6d10]
movups xmmword [esi + 0x3ab8], xmm0
movaps xmm0, xmmword [0x100d6da0]
movups xmmword [esi + 0x3ac8], xmm0
movaps xmm0, xmmword [0x100d6e50]
movups xmmword [esi + 0x3ad8], xmm0
movaps xmm0, xmmword [0x100d6e40]
movups xmmword [esi + 0x3ae8], xmm0
movaps xmm0, xmmword [0x100d6d60]
movups xmmword [esi + 0x3af8], xmm0
movaps xmm0, xmmword [0x100d6d40]
movups xmmword [esi + 0x3b08], xmm0
movaps xmm0, xmmword [0x100d6b00]
movups xmmword [esi + 0x3b68], xmm0
movaps xmm0, xmmword [0x100d6cf0]
movups xmmword [esi + 0x3b78], xmm0
movaps xmm0, xmmword [0x100d6c70]
movups xmmword [esi + 0x3b88], xmm0
movaps xmm0, xmmword [0x100d6bf0]
movups xmmword [esi + 0x3b98], xmm0
movaps xmm0, xmmword [0x100d6ac0]
movups xmmword [esi + 0x3ba8], xmm0
movaps xmm0, xmmword [0x100d6b10]
movups xmmword [esi + 0x3bb8], xmm0
pop esi
call fcn.1008d9f1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret