Function at 0x140001920
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x108]
sub rsp, 0x200
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x140045040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rax, qword [0x140045a18]
test rax, rax
je 0x140001977
inc dword [rax + 0x3b0]
mov ecx, 0x3fa8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r14d, r14d
test rax, rax
je 0x140001996
xor edx, edx
mov rcx, rax
call fcn.140007e90
jmp 0x140001999
mov rax, r14
cmp qword [0x140045a18], r14
jne 0x1400019a9
mov qword [0x140045a18], rax
mov rcx, rax
call fcn.14000de70
mov rbx, qword [0x140045a18]
mov qword [rbx + 0x20], r14
xor ecx, ecx
call fcn.140024610
mov rdi, qword [rbx + 0xa8]
movups xmm0, xmmword [0x140039918]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x140039928]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140039930]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x140039934]
mov byte [rsp + 0x4c], al
mov r8d, r14d
cmp dword [0x140045088], 2
jl 0x140001b4d
movdqa xmm5, xmmword [0x14003e500]
movdqa xmm4, xmmword [0x14003e600]
movdqa xmm6, xmmword [0x14003e530]
movdqa xmm0, xmmword [0x14003e570]
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rbp + 0x10]
nop word [rax + 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 [0x14003e550]
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 [0x14003e550]
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 0x140001a40
cmp r8d, 0x1d
jge 0x140001b93
movsxd rax, r8d
lea r9, [rsp + 0x30]
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, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x140001b60
mov qword [rbp + 8], r14
lea r8, [rbp + 8]
lea rcx, [rsp + 0x30]
call fcn.1400093f0
mov rbx, rax
test rax, rax
je 0x140001d4a
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
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140001cff
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r14b
jne 0x140001c70
lea r9, [rsp + 0x30]
add r9, rax
lea rax, [rsp + 0x30]
cmp r9, rax
jbe 0x140001cac
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140001cac
cmp al, 0x5c
je 0x140001cac
mov r9, rcx
lea rax, [rsp + 0x30]
cmp rcx, rax
ja 0x140001c90
movsd xmm0, qword [0x14003e3a8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x76]
call fcn.140009190
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], rbx
mov eax, dword [rbp + 8]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x64], 0x41aa0000
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140028bd0
mov rsi, qword [0x140045960]
mov rbx, qword [0x140045a18]
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140001f2a
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140001f2a
mov rax, qword [0x140045a18]
test rax, rax
je 0x140001d8e
inc dword [rax + 0x3b0]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140001dbb
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 0x140001dbe
mov rdi, r14
mov qword [rbx + 0xe8], rdi
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xd8], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov byte [rdi + 0x2d], 1
mov rax, qword [rbp + 8]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov qword [rbx + 0x120], rsi
mov dword [rbx + 0x3c], 9
mov dword [rbx + 0x40], 0x25
mov dword [rbx + 0x44], 0x27
mov dword [rbx + 0x48], 0x26
mov dword [rbx + 0x4c], 0x28
mov dword [rbx + 0x50], 0x21
mov dword [rbx + 0x54], 0x22
mov dword [rbx + 0x58], 0x24
mov dword [rbx + 0x5c], 0x23
mov dword [rbx + 0x60], 0x2d
mov dword [rbx + 0x64], 0x2e
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], 0x20
mov dword [rbx + 0x70], 0xd
mov dword [rbx + 0x74], 0x1b
mov dword [rbx + 0x78], 0xd
mov dword [rbx + 0x7c], 0x41
mov dword [rbx + 0x80], 0x43
mov dword [rbx + 0x84], 0x56
mov dword [rbx + 0x88], 0x58
mov dword [rbx + 0x8c], 0x59
mov dword [rbx + 0x90], 0x5a
lea rax, str.xinput1_4.dll
mov qword [rbp - 0x20], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x18], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x10], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 8], rax
lea rax, str.xinput1_1.dll
mov qword [rbp], rax
mov rbx, r14
nop
mov rcx, qword [rbp + rbx*8 - 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140001efe
inc rbx
cmp rbx, 5
jl 0x140001ee0
jmp 0x140001f2a
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
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 rdi, qword [0x140045968]
mov rbx, qword [0x140045a18]
test rbx, rbx
je 0x140001f43
inc dword [rbx + 0x3b0]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140001f72
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140001f75
mov rax, r14
mov qword [rbx + 0xf0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0xe0], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140036b40
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret