Function at 0x7ff6989fe260
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, [0x7ff6989fe180]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateThread]
lea rdx, [0x7ff698b8dc60]
lea ecx, [rbp + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x7ff6989fe2a7
xor al, al
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [0x7ff698b8dc0c], rbp
mov qword [0x7ff698b8dc18], 1
mov qword [0x7ff698b8dc34], rbp
mov dword [0x7ff698b8dc3c], ebp
mov dword [0x7ff698b8dc28], 1
mov r9, qword [0x7ff698b8de98]
mov qword [0x7ff698b8dc20], r9
cvttss2si rax, dword [0x7ff698b8dbd8]
mov dword [0x7ff698b8dc00], eax
cvttss2si rax, dword [0x7ff698b8dcb8]
mov dword [0x7ff698b8dc04], eax
mov dword [0x7ff698b8dc08], 0x15
mov dword [0x7ff698b8dc14], ebp
mov dword [0x7ff698b8dc30], 0x50
mov dword [0x7ff698b8dc2c], 1
mov rcx, qword [0x7ff698b8dc60]
mov rax, qword [rcx]
lea rdx, [0x7ff698b8dea0]
mov qword [rsp + 0x30], rdx
lea rdx, [0x7ff698b8dc00]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [rdx + 1]
call qword [rax + 0x80]
mov rbx, qword [0x7ff698b8db90]
test rbx, rbx
je 0x7ff6989fe368
inc dword [rbx + 0xf4]
mov ecx, 0x5588
call qword [sym.imp.ucrtbase.dll_malloc]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x7ff6989fe3a4
xor edx, edx
mov rcx, rax
call fcn.7ff6989b4c20
jmp 0x7ff6989fe3a7
mov rax, rbp
mov qword [0x7ff698b8db90], rax
call fcn.7ff6989bc250
test rbx, rbx
je 0x7ff6989fe3c1
mov qword [0x7ff698b8db90], rbx
jmp 0x7ff6989fe3c8
mov rbx, qword [0x7ff698b8db90]
mov rsi, qword [0x7ff698b8de98]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x7ff6989fe51a
lea rcx, [rsp + 0xb0]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x7ff6989fe51a
mov rax, qword [0x7ff698b8db90]
test rax, rax
je 0x7ff6989fe40d
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.ucrtbase.dll_malloc]
mov rdi, rax
test rax, rax
je 0x7ff6989fe43a
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 0x7ff6989fe43d
mov rdi, rbp
mov qword [rbx + 0x98], rdi
lea rax, [0x7ff698a60f10]
mov qword [rbx + 0x88], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov byte [rdi + 0x2d], 1
mov rax, qword [rsp + 0xa8]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x7ff698b8db90]
mov rcx, qword [rax + 0x4090]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
lea rax, [0x7ff698a60f28]
mov qword [rsp + 0x40], rax
lea rax, [0x7ff698a60f38]
mov qword [rsp + 0x48], rax
lea rax, [0x7ff698a60f48]
mov qword [rsp + 0x50], rax
lea rax, [0x7ff698a60f58]
mov qword [rsp + 0x58], rax
lea rax, [0x7ff698a60f68]
mov qword [rsp + 0x60], rax
mov rbx, rbp
mov rcx, qword [rsp + rbx*8 + 0x40]
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x7ff6989fe4ee
inc rbx
cmp rbx, 5
jl 0x7ff6989fe4d0
jmp 0x7ff6989fe51a
mov qword [rdi + 0x30], rsi
lea rdx, [0x7ff698a60f78]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, [0x7ff698a60f90]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [0x7ff698b8dea0]
mov rbx, qword [0x7ff698b8db90]
test rbx, rbx
je 0x7ff6989fe533
inc dword [rbx + 0xf4]
mov ecx, 0x28
call qword [sym.imp.ucrtbase.dll_malloc]
test rax, rax
je 0x7ff6989fe562
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x7ff6989fe565
mov rax, rbp
mov qword [rbx + 0xa0], rax
lea rcx, [0x7ff698a60f00]
mov qword [rbx + 0x90], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [0x7ff698b8dc60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, 1
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret