Function at 0x140054c30
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
mov dword [rbp - 0x20], 0xc3c7cbdf
mov ecx, edi
mov dword [rbp - 0x1c], 0xc4c1cfdf
mov dword [rbp - 0x18], 0x100b2b1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x77]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0xa
jb 0x140054c70
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x15], dil
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov dword [rbp - 0x20], 0xc3c7cbdf
mov rcx, rdi
mov qword [0x140108088], rax
mov dword [rbp - 0x1c], 0xc4c1cfdf
mov dword [rbp - 0x18], 0x100b2b1
nop
lea eax, [rcx - 0x77]
xor byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 0xa
jb 0x140054cb0
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x15], dil
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1401080c0], rax
call fcn.140054990
lea rdx, [0x140108080]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
js 0x140054f05
cvttss2si rax, dword [0x1401080a0]
mov rcx, qword [0x140108080]
lea rdx, [0x140108488]
mov r9, qword [0x140108480]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140108010]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x14010801c], rdi
mov qword [0x140108028], 1
mov qword [0x140108044], rdi
mov dword [0x14010804c], edi
lea r8d, [rdx + 1]
mov dword [0x140108018], 0x15
mov dword [0x140108010], eax
cvttss2si rax, dword [0x140108008]
mov dword [0x140108024], edi
mov dword [0x140108040], 0x50
mov dword [0x14010803c], 1
mov qword [0x140108030], r9
mov dword [0x140108038], 1
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x20], 0x20
mov dword [0x140108014], eax
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140005dd0
mov rbx, qword [0x140108480]
lea rcx, [0x140108468]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140054ea8
lea rcx, [0x140108460]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140054ea8
mov rcx, qword [0x140107910]
lea rax, str.imgui_impl_win32
mov qword [0x140108458], rbx
or dword [rcx + 0xc], 6
mov qword [rcx + 0xd8], rax
mov qword [rcx + 0x108], rbx
mov dword [rcx + 0x3c], 9
mov dword [rcx + 0x40], 0x25
mov dword [rcx + 0x44], 0x27
mov dword [rcx + 0x48], 0x26
mov dword [rcx + 0x4c], 0x28
mov dword [rcx + 0x50], 0x21
mov dword [rcx + 0x54], 0x22
mov dword [rcx + 0x58], 0x24
mov dword [rcx + 0x5c], 0x23
mov dword [rcx + 0x60], 0x2d
mov dword [rcx + 0x64], 0x2e
mov dword [rcx + 0x68], 8
mov dword [rcx + 0x6c], 0x20
mov dword [rcx + 0x70], 0xd
mov dword [rcx + 0x74], 0x1b
mov dword [rcx + 0x78], 0x41
mov dword [rcx + 0x7c], 0x43
mov dword [rcx + 0x80], 0x56
mov dword [rcx + 0x84], 0x58
mov dword [rcx + 0x88], 0x59
mov dword [rcx + 0x8c], 0x5a
jmp 0x140054eaf
mov rcx, qword [0x140107910]
mov rax, qword [0x140108488]
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0xe0], rdx
lea r8, [0x14004f100]
xor edx, edx
mov qword [rsp + 0x28], rdi
xor ecx, ecx
mov qword [0x140108448], rax
xor r9d, r9d
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x140108080]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rdi
lea r8, [0x14004f250]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140054410
call fcn.140054790
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14005df00
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret