Function at 0x140003de0
Capabilities:
Contain obfuscated stackstrings
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 - 0x128]
sub rsp, 0x210
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rbp + 0xc8], rax
lea rdx, [0x140057c90]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140003e47
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ebx, ebx
mov qword [0x140057c4c], rbx
mov qword [0x140057c58], 1
mov qword [0x140057c74], rbx
mov dword [0x140057c7c], ebx
mov eax, dword [0x140057cd8]
mov dword [0x140057c40], eax
mov eax, dword [0x140057ca0]
mov dword [0x140057c44], eax
mov dword [0x140057c48], 0x15
mov dword [0x140057c54], ebx
mov dword [0x140057c70], 0x50
mov dword [0x140057c6c], 1
mov r9, qword [0x140057e00]
mov qword [0x140057c60], r9
mov dword [0x140057c68], 1
mov rcx, qword [0x140057c90]
mov rax, qword [rcx]
lea rdx, [0x140057e08]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140057c40]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [rbx + 1]
call qword [rax + 0x80]
mov r15, qword [0x140057d40]
test r15, r15
je 0x140003f05
inc dword [r15 + 0xec]
mov ecx, 0x5570
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140003f35
xor edx, edx
mov rcx, rax
call fcn.14000f3e0
jmp 0x140003f38
mov rax, rbx
mov qword [0x140057d40], rax
call fcn.140016120
test r15, r15
je 0x140003f52
mov qword [0x140057d40], r15
jmp 0x140003f59
mov r15, qword [0x140057d40]
mov rdi, qword [0x140057e00]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400040ad
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400040ad
mov rax, qword [0x140057d40]
test rax, rax
je 0x140003f98
inc dword [rax + 0xec]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003fc5
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
mov qword [rsi + 0x40], rax
jmp 0x140003fc8
mov rsi, rbx
mov qword [r15 + 0x90], rsi
lea rax, str.imgui_impl_win32
mov qword [r15 + 0x80], rax
or dword [r15 + 0xc], 6
mov qword [rsi], rdi
mov byte [rsi + 0x2d], 1
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
mov rax, qword [0x140057d40]
mov rcx, qword [rax + 0x4088]
mov rax, qword [rcx]
mov qword [rax + 0x28], rdi
lea rax, str.xinput1_4.dll
mov qword [rbp + 0xa0], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0xa8], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0xb0], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0xb8], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0xc0], rax
mov rdi, rbx
mov rcx, qword [rbp + rdi*8 + 0xa0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x140004081
inc rdi
cmp rdi, 5
jl 0x140004060
jmp 0x1400040ad
mov qword [rsi + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
mov rsi, qword [0x140057e08]
mov rdi, qword [0x140057d40]
test rdi, rdi
je 0x1400040c6
inc dword [rdi + 0xec]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400040f5
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x1400040f8
mov rax, rbx
mov qword [rdi + 0x98], rax
lea rcx, str.imgui_impl_dx9
mov qword [rdi + 0x88], rcx
or dword [rdi + 0xc], 8
mov qword [rax], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
movdqa xmm0, xmmword [0x14004f4e0]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x797d4f51
mov dword [rsp + 0x74], 0x603d7e70
mov word [rsp + 0x78], 0x7061
xor eax, eax
mov byte [rsp + 0x7a], al
mov r14, qword [r15 + 0x50]
nop dword [rax]
movsxd rcx, ebx
lea eax, [rbx - 3]
xor byte [rsp + rcx + 0x60], al
inc ebx
cmp ebx, 0x1a
jb 0x140004150
mov byte [rsp + 0x7a], 0
lea rdx, [0x14004ec84]
lea rcx, [rsp + 0x60]
call fcn.140010a90
mov rbx, rax
test rax, rax
je 0x1400043e3
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400043da
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 0x1400043da
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400043da
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 0x1400043da
cmp rdi, 0xffffffffffffffff
je 0x1400043da
mov rax, qword [0x140057d40]
test rax, rax
je 0x1400041f5
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400043da
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 0x14000424c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140057d40]
test rax, rax
je 0x14000423e
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400043e3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x40], xmm2
movups xmmword [rbp - 0x30], xmm2
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x2c], ax
movaps xmm3, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm3
movaps xmm4, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm4
movaps xmmword [rbp + 0x30], xmm2
xorps xmm5, xmm5
movaps xmmword [rbp + 0x40], xmm5
movaps xmm6, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x50], xmm6
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x60], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0x70], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x80], xmm8
movsd xmm9, qword [rbp]
movsd qword [rbp + 0x90], xmm9
mov rbx, rdi
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14000438c
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140004305
lea r9, [rsp + 0x60]
add r9, rax
lea rax, [rsp + 0x60]
cmp r9, rax
jbe 0x14000433c
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14000433c
cmp al, 0x5c
je 0x14000433c
mov r9, rcx
lea rax, [rsp + 0x60]
cmp rcx, rax
ja 0x140004320
movsd xmm0, qword [0x14004f200]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x66]
call fcn.1400108a0
movsd xmm9, qword [rbp + 0x90]
movaps xmm8, xmmword [rbp + 0x80]
movaps xmm7, xmmword [rbp + 0x70]
movaps xmm1, xmmword [rbp + 0x60]
movaps xmm6, xmmword [rbp + 0x50]
movaps xmm5, xmmword [rbp + 0x40]
movaps xmm2, xmmword [rbp + 0x30]
movaps xmm4, xmmword [rbp + 0x20]
movaps xmm3, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x80], xmm3
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm2
movaps xmmword [rbp - 0x50], xmm5
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm7
movaps xmmword [rbp - 0x10], xmm8
movsd qword [rbp], xmm9
mov qword [rbp - 0x80], rsi
mov dword [rbp - 0x78], ebx
mov dword [rbp - 0x6c], 0x41600000
lea rax, [0x14004eebc]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140031f50
jmp 0x1400043e3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x140057c90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.140047630
lea r11, [rsp + 0x210]
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