Function at 0x180046fa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x18007e010]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rsi, rcx
mov rbx, qword [0x18007f050]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18004727e
lea rcx, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18004727e
mov rax, qword [0x18007f050]
test rax, rax
je 0x18004700f
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x18004703c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x18004703e
xor edi, edi
mov qword [rbx + 0x98], rdi
movdqa xmm6, xmmword [0x180072450]
mov byte [rbp - 0x3f], 0
mov ecx, 0x11
call fcn.18006bdb8
movdqu xmmword [rbp - 0x4f], xmm6
movups xmmword [rax], xmm6
movzx ecx, byte [rbp - 0x3f]
mov byte [rax + 0x10], cl
mov qword [rbx + 0x88], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov rax, qword [rbp - 0x30]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp - 0x28]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x18007f050]
mov rax, qword [rax + 0x4860]
mov rcx, qword [rax]
mov qword [rcx + 0x28], rsi
mov byte [rdi + 0x2d], 1
mov ecx, dword [0x18007f010]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18007f3d0], ecx
jle 0x180047221
lea rcx, [0x18007f3d0]
call fcn.18006bae8
cmp dword [0x18007f3d0], 0xffffffff
jne 0x180047221
mov dword [rbp - 0x4f], 0x706e6978
mov dword [rbp - 0x4b], 0x5f317475
mov dword [rbp - 0x47], 0x6c642e34
mov word [rbp - 0x43], 0x6c
mov ecx, 0xe
call fcn.18006bdb8
movsd xmm0, qword [rbp - 0x4f]
movsd qword [rax], xmm0
mov ecx, dword [rbp - 0x47]
mov dword [rax + 8], ecx
movzx ecx, word [rbp - 0x43]
mov word [rax + 0xc], cx
mov qword [0x18007f358], rax
mov dword [rbp - 0x4f], 0x706e6978
mov dword [rbp - 0x4b], 0x5f317475
mov dword [rbp - 0x47], 0x6c642e33
mov word [rbp - 0x43], 0x6c
mov ecx, 0xe
call fcn.18006bdb8
movsd xmm0, qword [rbp - 0x4f]
movsd qword [rax], xmm0
mov ecx, dword [rbp - 0x47]
mov dword [rax + 8], ecx
movzx ecx, word [rbp - 0x43]
mov word [rax + 0xc], cx
mov qword [0x18007f360], rax
movdqa xmm6, xmmword [str.xinput9_1_0.dll]
mov ecx, 0x10
call fcn.18006bdb8
movdqu xmmword [rbp - 0x4f], xmm6
movups xmmword [rax], xmm6
mov qword [0x18007f368], rax
mov dword [rbp - 0x4f], 0x706e6978
mov dword [rbp - 0x4b], 0x5f317475
mov dword [rbp - 0x47], 0x6c642e32
mov word [rbp - 0x43], 0x6c
mov ecx, 0xe
call fcn.18006bdb8
movsd xmm0, qword [rbp - 0x4f]
movsd qword [rax], xmm0
mov ecx, dword [rbp - 0x47]
mov dword [rax + 8], ecx
movzx ecx, word [rbp - 0x43]
mov word [rax + 0xc], cx
mov qword [0x18007f370], rax
mov dword [rbp - 0x4f], 0x706e6978
mov dword [rbp - 0x4b], 0x5f317475
mov dword [rbp - 0x47], 0x6c642e31
mov word [rbp - 0x43], 0x6c
mov ecx, 0xe
call fcn.18006bdb8
movsd xmm0, qword [rbp - 0x4f]
movsd qword [rax], xmm0
mov edx, dword [rbp - 0x47]
mov dword [rax + 8], edx
movzx edx, word [rbp - 0x43]
mov word [rax + 0xc], dx
mov qword [0x18007f378], rax
lea rcx, [0x18007f3d0]
call fcn.18006ba7c
lea rbx, [0x18007f358]
lea r14, [0x18007f380]
nop
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18004724e
add rbx, 8
cmp rbx, r14
jl 0x180047230
mov al, 1
jmp 0x180047280
mov qword [rdi + 0x30], rsi
lea rdx, [0x180071448]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov al, 1
jmp 0x180047280
xor al, al
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.18006ba20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop rbp
ret