Function at 0x140003d00
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 [0x140056010]
xor rax, rsp
mov qword [rbp + 0xc8], rax
lea rdx, [0x140056ca8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140003d67
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ebx, ebx
mov qword [0x140056c6c], rbx
mov qword [0x140056c78], 1
mov qword [0x140056c94], rbx
mov dword [0x140056c9c], ebx
mov eax, dword [0x140056cec]
mov dword [0x140056c60], eax
mov eax, dword [0x140056cb8]
mov dword [0x140056c64], eax
mov dword [0x140056c68], 0x15
mov dword [0x140056c74], ebx
mov dword [0x140056c90], 0x50
mov dword [0x140056c8c], 1
mov r9, qword [0x140056e20]
mov qword [0x140056c80], r9
mov dword [0x140056c88], 1
mov rcx, qword [0x140056ca8]
mov rax, qword [rcx]
lea rdx, [0x140056e28]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140056c60]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [rbx + 1]
call qword [rax + 0x80]
mov rdi, qword [0x140056d60]
test rdi, rdi
je 0x140003e24
inc dword [rdi + 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 0x140003e54
xor edx, edx
mov rcx, rax
call fcn.14000df40
jmp 0x140003e57
mov rax, rbx
mov qword [0x140056d60], rax
call fcn.140014c50
mov r15, qword [0x140056d60]
test rdi, rdi
cmovne r15, rdi
mov qword [0x140056d60], r15
mov rdi, qword [0x140056e20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140003fcd
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140003fcd
mov rax, qword [0x140056d60]
test rax, rax
je 0x140003eb7
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 0x140003ee4
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 0x140003ee7
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 [0x140056d60]
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
nop
mov rcx, qword [rbp + rdi*8 + 0xa0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x140003fa1
inc rdi
cmp rdi, 5
jl 0x140003f80
jmp 0x140003fcd
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 [0x140056e28]
mov rdi, qword [0x140056d60]
test rdi, rdi
je 0x140003fe6
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 0x140004015
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 0x140004018
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 [0x14004e980]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x7b635153
mov dword [rsp + 0x74], 0x623b7872
mov word [rsp + 0x78], 0x7e63
xor eax, eax
mov byte [rsp + 0x7a], al
mov r14, qword [r15 + 0x50]
nop dword [rax]
movsxd rcx, ebx
lea eax, [rbx - 1]
xor byte [rsp + rcx + 0x60], al
inc ebx
cmp ebx, 0x1a
jb 0x140004070
mov byte [rsp + 0x7a], 0
lea rdx, [0x14004dc64]
lea rcx, [rsp + 0x60]
call fcn.14000f5f0
mov rbx, rax
test rax, rax
je 0x140004329
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140004320
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 0x140004320
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004320
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 0x140004320
cmp rdi, 0xffffffffffffffff
je 0x140004320
mov rax, qword [0x140056d60]
test rax, rax
je 0x140004115
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 0x140004320
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 0x14000416c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140056d60]
test rax, rax
je 0x14000415e
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004329
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm3, xmm3
xor eax, eax
movups xmmword [rbp - 0x80], xmm3
movups xmmword [rbp - 0x70], xmm3
movups xmmword [rbp - 0x30], xmm3
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], 1
movss xmm0, dword [0x14004e328]
movss xmm1, dword [0x14004e1a4]
mov eax, 0xffff
mov word [rbp - 0x2c], ax
movaps xmm5, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm5
movaps xmm6, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x30], xmm3
xorps xmm7, xmm7
movaps xmmword [rbp + 0x40], xmm7
xorps xmm2, xmm2
shufps xmm2, xmm2, 0xe1
movss xmm2, xmm0
shufps xmm2, xmm2, 0xe1
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp + 0x50], xmm2
movaps xmm4, xmmword [rbp - 0x30]
movss xmm4, xmm1
movaps xmmword [rbp - 0x30], xmm4
movaps xmmword [rbp + 0x60], xmm4
xorps xmm1, xmm1
movaps xmmword [rbp + 0x70], xmm1
xorps xmm8, xmm8
movaps xmmword [rbp + 0x80], xmm8
movsd xmm9, qword [rbp]
movsd qword [rbp + 0x90], xmm9
mov rbx, rdi
movdqa xmm0, xmm4
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x1400042cc
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140004240
lea r9, [rsp + 0x60]
add r9, rax
lea rax, [rsp + 0x60]
cmp r9, rax
jbe 0x14000427c
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14000427c
cmp al, 0x5c
je 0x14000427c
mov r9, rcx
lea rax, [rsp + 0x60]
cmp rcx, rax
ja 0x140004260
movsd xmm0, qword [0x14004e1e8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x66]
call fcn.14000f400
movsd xmm9, qword [rbp + 0x90]
movaps xmm8, xmmword [rbp + 0x80]
movaps xmm1, xmmword [rbp + 0x70]
movaps xmm4, xmmword [rbp + 0x60]
movaps xmm2, xmmword [rbp + 0x50]
movaps xmm7, xmmword [rbp + 0x40]
movaps xmm3, xmmword [rbp + 0x30]
movaps xmm6, xmmword [rbp + 0x20]
movaps xmm5, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm6
movaps xmmword [rbp - 0x60], xmm3
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp - 0x30], xmm4
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm8
movsd qword [rbp], xmm9
mov qword [rbp - 0x80], rsi
mov dword [rbp - 0x78], ebx
movss xmm0, dword [0x14004e284]
movss dword [rbp - 0x6c], xmm0
lea rax, [0x14004de9c]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140030730
jmp 0x140004329
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [0x140056ca8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.140045ed0
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