Function at 0x140009560
Capabilities:
Encode data using xor
Read file on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x200
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
lea rdx, [0x14004b7c8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400095c7
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ebx, ebx
mov qword [0x14004b7dc], rbx
mov qword [0x14004b7e8], 1
mov qword [0x14004b804], rbx
mov eax, dword [0x14004b828]
mov dword [0x14004b7d0], eax
mov dword [0x14004b7d4], eax
mov dword [0x14004b7d8], 0x15
mov dword [0x14004b7e4], ebx
mov dword [0x14004b800], 0x50
mov dword [0x14004b7fc], 1
mov r9, qword [0x14004b958]
mov qword [0x14004b7f0], r9
mov dword [0x14004b7f8], 1
mov dword [0x14004b80c], 0x80000000
mov rcx, qword [0x14004b7c8]
mov rax, qword [rcx]
lea rdx, [0x14004b950]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14004b7d0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
mov r8d, 1
call qword [rax + 0x80]
mov rdi, qword [0x14004b898]
test rdi, rdi
je 0x140009684
inc dword [rdi + 0xf4]
mov ecx, 0x5ec0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x20], rax
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
test rax, rax
je 0x1400096b1
xor edx, edx
mov rcx, rax
call fcn.140011630
jmp 0x1400096b4
mov rax, rbx
mov qword [0x14004b898], rax
call fcn.140014540
test rdi, rdi
je 0x1400096ce
mov qword [0x14004b898], rdi
jmp 0x1400096d5
mov rdi, qword [0x14004b898]
mov rsi, qword [0x14004b958]
lea rcx, [0x14004b9b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140009801
lea rcx, [0x14004b9a8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140009801
mov qword [0x14004b9a0], rsi
mov rcx, qword [0x14004b898]
or dword [rcx + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rcx + 0x88], rax
mov qword [rcx + 0xd0], rsi
mov dword [rcx + 0x900], 9
mov dword [rcx + 0x904], 0x25
mov dword [rcx + 0x908], 0x27
mov dword [rcx + 0x90c], 0x26
mov dword [rcx + 0x910], 0x28
mov dword [rcx + 0x914], 0x21
mov dword [rcx + 0x918], 0x22
mov dword [rcx + 0x91c], 0x24
mov dword [rcx + 0x920], 0x23
mov dword [rcx + 0x924], 0x2d
mov dword [rcx + 0x928], 0x2e
mov dword [rcx + 0x92c], 8
mov dword [rcx + 0x930], 0x20
mov dword [rcx + 0x934], 0xd
mov dword [rcx + 0x938], 0x1b
mov dword [rcx + 0x988], 0x41
mov dword [rcx + 0x990], 0x43
mov dword [rcx + 0x9dc], 0x56
mov dword [rcx + 0x9e4], 0x58
mov dword [rcx + 0x9e8], 0x59
mov dword [rcx + 0x9ec], 0x5a
jmp 0x140009808
mov rcx, qword [0x14004b898]
mov rax, qword [0x14004b950]
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0x90], rdx
mov qword [0x14004b990], rax
xor ecx, ecx
call fcn.14002ff80
mov rax, qword [0x14004b898]
mov dword [rax + 0x37f4], ebx
mov dword [rax + 0x3800], 0x3f000000
movdqa xmm0, xmmword [0x140044d20]
movdqu xmmword [rbp - 8], xmm0
mov dword [rbp + 8], 0x7c757463
mov dword [rbp + 0xc], 0x63387c61
mov word [rbp + 0x10], 0x7f6c
xor eax, eax
mov byte [rbp + 0x12], al
mov r15, qword [rdi + 0x58]
movdqa xmm2, xmmword [0x140044760]
movdqa xmm3, xmmword [0x140044790]
nop dword [rax]
movsxd rcx, ebx
movd xmm1, ebx
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd xmm0, dword [rbp + rcx - 8]
xorps xmm1, xmm0
movd dword [rbp + rcx - 8], xmm1
lea eax, [rbx + 4]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd xmm0, dword [rbp + rcx - 4]
xorps xmm1, xmm0
movd dword [rbp + rcx - 4], xmm1
lea eax, [rbx + 8]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd xmm0, dword [rbp + rcx]
xorps xmm1, xmm0
movd dword [rbp + rcx], xmm1
lea eax, [rbx + 0xc]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd xmm0, dword [rbp + rcx + 4]
xorps xmm1, xmm0
movd dword [rbp + rcx + 4], xmm1
add ebx, 0x10
cmp ebx, 0x10
jb 0x140009880
cmp ebx, 0x1a
jae 0x14000994e
nop dword [rax]
movsxd rax, ebx
xor byte [rbp + rax - 8], bl
inc ebx
cmp ebx, 0x1a
jb 0x140009940
mov byte [rbp + 0x12], 0
lea rdx, [0x14004411c]
lea rcx, [rbp - 8]
call fcn.1400129b0
mov rbx, rax
test rax, rax
je 0x140009bec
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140009be3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009be3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009be3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009be3
cmp rdi, 0xffffffffffffffff
je 0x140009be3
mov rax, qword [0x14004b898]
test rax, rax
je 0x1400099e2
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140009be3
mov r9, rbx
mov r8, rdi
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, rdi
je 0x140009a39
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14004b898]
test rax, rax
je 0x140009a2b
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009bec
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
mov qword [rbp - 0x30], rax
mov byte [rsp + 0x5c], 1
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x6c], 0x7f7fffff
mov dword [rbp - 0x60], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x5c], ax
movups xmm3, xmmword [rsp + 0x50]
movups xmmword [rbp + 0x20], xmm3
movups xmm4, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x30], xmm4
movups xmmword [rbp + 0x40], xmm2
xorps xmm5, xmm5
movups xmmword [rbp + 0x50], xmm5
movups xmm6, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x60], xmm6
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x70], xmm1
xorps xmm7, xmm7
movups xmmword [rbp + 0x80], xmm7
xorps xmm8, xmm8
movups xmmword [rbp + 0x90], xmm8
movsd xmm9, qword [rbp - 0x30]
movsd qword [rbp + 0xa0], xmm9
mov rbx, rdi
mov r14, rsi
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140009b8e
lea rcx, [rbp - 8]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140009b00
lea r9, [rbp - 8]
add r9, rax
lea rax, [rbp - 8]
cmp r9, rax
jbe 0x140009b3b
nop dword [rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140009b3b
cmp al, 0x5c
je 0x140009b3b
mov r9, rcx
lea rax, [rbp - 8]
cmp rcx, rax
ja 0x140009b20
movsd xmm0, qword [0x140044608]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x76]
call fcn.140012880
movsd xmm9, qword [rbp + 0xa0]
movups xmm8, xmmword [rbp + 0x90]
movups xmm7, xmmword [rbp + 0x80]
movups xmm1, xmmword [rbp + 0x70]
movups xmm6, xmmword [rbp + 0x60]
movups xmm5, xmmword [rbp + 0x50]
movups xmm2, xmmword [rbp + 0x40]
movups xmm4, xmmword [rbp + 0x30]
movups xmm3, xmmword [rbp + 0x20]
movups xmmword [rsp + 0x50], xmm3
movups xmmword [rsp + 0x60], xmm4
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm5
movups xmmword [rbp - 0x70], xmm6
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm7
movups xmmword [rbp - 0x40], xmm8
movsd qword [rbp - 0x30], xmm9
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x64], 0x41400000
lea rax, [0x140044374]
mov qword [rbp - 0x78], rax
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140034180
jmp 0x140009bec
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x14004b7c8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14003c2a0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
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