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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2d0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rbp + 0x188], rax
xor r12d, r12d
mov qword [rbp + 0x98], 1
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xa8], 1
mov qword [rbp + 0x80], 0x1c
mov dword [rbp + 0x88], r12d
mov dword [rbp + 0x78], 0x3c
mov dword [rbp + 0x7c], 1
mov qword [rbp + 0x70], r12
mov dword [rbp + 0x94], 0x20
mov rax, qword [0x1400692a8]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x8c], 8
mov dword [rbp + 0x180], 0xb000
mov dword [rbp + 0x184], 0xa000
lea rax, [0x140069250]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x50], rax
lea rax, [0x140069270]
mov qword [rsp + 0x48], rax
lea rax, [0x1400692b0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14004e9d7
xor eax, eax
jmp 0x14004f1d1
mov rax, qword [0x140069238]
test rax, rax
je 0x14004e9e9
inc dword [rax + 0xec]
mov ecx, 0x61d8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xd0], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0x48], rax
test rax, rax
je 0x14004ea1c
xor edx, edx
mov rcx, rax
call fcn.140001210
jmp 0x14004ea1f
mov rax, r12
cmp qword [0x140069238], 0
jne 0x14004ea30
mov qword [0x140069238], rax
mov rcx, rax
call fcn.140007360
mov rdi, qword [0x140069238]
mov dword [rdi + 0x37c0], 0x3f800000
mov qword [rdi + 0x37b8], r12
mov dword [rdi + 0x37b4], 0x40800000
mov dword [rdi + 0x37f8], 0x40400000
mov dword [rdi + 0x3800], r12d
mov dword [rdi + 0x3804], 0x3f800000
mov dword [rdi + 0x37ec], 0x40400000
mov dword [rdi + 0x3798], 0x3f000000
mov r15, qword [rdi + 0x50]
movups xmm0, xmmword [0x14005fc90]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x14005fca0]
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x14005fca8]
mov dword [rbp - 0x80], eax
movzx eax, byte [0x14005fcac]
mov byte [rbp - 0x7c], al
mov r8d, r12d
cmp dword [0x140068088], 2
jl 0x14004ec0d
movdqa xmm5, xmmword [0x140060460]
movdqa xmm4, xmmword [0x140060510]
movdqa xmm6, xmmword [0x140060490]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp + 0xd0], xmm0
lea rcx, [rsp + 0x6c]
mov edx, dword [rbp + 0xd0]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400604b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400604b0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x14004eb00
cmp r8d, 0x1d
jge 0x14004ec53
movsxd rax, r8d
lea r9, [rsp + 0x68]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x14004ec20
lea rdx, [0x14005a944]
lea rcx, [rsp + 0x68]
call fcn.140002650
mov rbx, rax
test rax, rax
je 0x14004ef00
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
cmp eax, 0xffffffff
je 0x14004eef7
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14004eef7
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14004eef7
xor r8d, r8d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14004eef7
cmp rsi, 0xffffffffffffffff
je 0x14004eef7
mov rax, qword [0x140069238]
test rax, rax
je 0x14004ece4
inc dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x14004eef7
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x14004ed3b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140069238]
test rax, rax
je 0x14004ed2d
dec dword [rax + 0xec]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14004ef00
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov byte [rbp - 0x64], 1
mov dword [rbp - 0x58], 3
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x1c], ax
movups xmm3, xmmword [rbp - 0x70]
movups xmmword [rbp + 0xf0], xmm3
movups xmm4, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x100], xmm4
movups xmmword [rbp + 0x110], xmm2
xorps xmm5, xmm5
movups xmmword [rbp + 0x120], xmm5
movups xmm6, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x130], xmm6
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbp + 0x140], xmm1
xorps xmm7, xmm7
movups xmmword [rbp + 0x150], xmm7
xorps xmm8, xmm8
movups xmmword [rbp + 0x160], xmm8
movsd xmm9, qword [rbp + 0x10]
movsd qword [rbp + 0x170], xmm9
mov rbx, rsi
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14004eeb4
lea rcx, [rsp + 0x68]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14004ee10
lea r9, [rsp + 0x68]
add r9, rax
lea rax, [rsp + 0x68]
cmp r9, rax
jbe 0x14004ee4c
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14004ee4c
cmp al, 0x5c
je 0x14004ee4c
mov r9, rcx
lea rax, [rsp + 0x68]
cmp rcx, rax
ja 0x14004ee30
movsd xmm0, qword [0x1400602f0]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x146]
call fcn.140002520
movsd xmm9, qword [rbp + 0x170]
movups xmm8, xmmword [rbp + 0x160]
movups xmm7, xmmword [rbp + 0x150]
movups xmm1, xmmword [rbp + 0x140]
movups xmm6, xmmword [rbp + 0x130]
movups xmm5, xmmword [rbp + 0x120]
movups xmm2, xmmword [rbp + 0x110]
movups xmm4, xmmword [rbp + 0x100]
movups xmm3, xmmword [rbp + 0xf0]
movups xmmword [rbp - 0x70], xmm3
movups xmmword [rbp - 0x60], xmm4
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm5
movups xmmword [rbp - 0x30], xmm6
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm7
movups xmmword [rbp], xmm8
movsd qword [rbp + 0x10], xmm9
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], ebx
mov dword [rbp - 0x5c], 0x41700000
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140023680
jmp 0x14004ef00
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov dword [rdi + 8], 0x20
mov rcx, qword [0x1400692b0]
mov rax, qword [rcx]
lea r9, [rbp + 0x60]
lea r8, [0x14005feb0]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x140069270]
mov rax, qword [rcx]
lea r9, [0x1400692b8]
xor r8d, r8d
mov rdx, qword [rbp + 0x60]
call qword [rax + 0x48]
mov rsi, qword [0x1400692a8]
mov rdi, qword [0x140069238]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14004f08c
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14004f08c
mov rax, qword [0x140069238]
test rax, rax
je 0x14004ef86
inc dword [rax + 0xec]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14004efb3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x40], rax
jmp 0x14004efb6
mov rbx, r12
mov qword [rdi + 0x90], rbx
lea rax, [0x14005f288]
mov qword [rdi + 0x80], rax
or dword [rdi + 0xc], 6
mov qword [rbx], rsi
mov byte [rbx + 0x2d], 1
mov rax, qword [rbp + 0xc0]
mov qword [rbx + 0x20], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x28], 9
mov rax, qword [0x140069238]
mov rcx, qword [rax + 0x4030]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
lea rax, str.xinput1_4.dll
mov qword [rbp + 0x20], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0x28], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0x30], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0x38], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0x40], rax
mov rdi, r12
mov rcx, qword [rbp + rdi*8 + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14004f060
inc rdi
cmp rdi, 5
jl 0x14004f042
jmp 0x14004f08c
mov qword [rbx + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
mov r14, qword [0x140069250]
mov rsi, qword [0x140069270]
mov rdi, qword [0x140069238]
test rdi, rdi
je 0x14004f0ac
inc dword [rdi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14004f0ed
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x14004f0f0
mov rbx, r12
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x48], r12
mov rax, qword [rsi]
lea r8, [rbp + 0x50]
lea rdx, [0x14005f258]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14004f16d
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
lea r8, [rbp + 0x58]
lea rdx, [0x14005f268]
call qword [rax + 0x30]
test eax, eax
jne 0x14004f16d
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
lea r8, [rbp + 0x48]
lea rdx, [0x14005f278]
call qword [rax + 0x30]
test eax, eax
jne 0x14004f16d
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x48]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14004f17c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14004f18b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, qword [0x1400692a8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.140057a70
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret