Function at 0x140044830
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
xor esi, esi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x1400442d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rdx, [0x1400e6aa0]
lea ecx, [rsi + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140044875
xor al, al
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov qword [0x1400e6a4c], rsi
mov qword [0x1400e6a58], 1
mov qword [0x1400e6a74], rsi
mov dword [0x1400e6a7c], esi
cvttss2si rax, dword [0x1400e6a20]
mov dword [0x1400e6a40], eax
cvttss2si rax, dword [0x1400e6ae4]
mov dword [0x1400e6a44], eax
mov dword [0x1400e6a48], 0x15
mov dword [0x1400e6a54], esi
mov dword [0x1400e6a70], 0x50
mov dword [0x1400e6a6c], 1
mov r9, qword [0x1400e6fb0]
mov qword [0x1400e6a60], r9
mov dword [0x1400e6a68], 1
mov rcx, qword [0x1400e6aa0]
mov rax, qword [rcx]
lea rdx, [0x1400e6fb8]
mov qword [rsp + 0x30], rdx
lea rdx, [0x1400e6a40]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [rdx + 1]
call qword [rax + 0x80]
mov rax, qword [0x1400e69f0]
test rax, rax
je 0x140044936
inc dword [rax + 0x3c8]
mov rdx, qword [0x1400e69e0]
mov ecx, 0x3bf0
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x90]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x140044979
mov rcx, rax
call fcn.140004760
mov rdi, rax
jmp 0x14004497c
mov rdi, rsi
mov rax, qword [0x1400e69f0]
test rax, rax
cmove rax, rdi
mov qword [0x1400e69f0], rax
mov dword [rsp + 0x4c], esi
mov qword [rsp + 0x68], rsi
lea rcx, str.Window
mov qword [rsp + 0x40], rcx
xor r8d, r8d
xor edx, edx
call fcn.140005b90
mov dword [rsp + 0x48], eax
lea rax, [0x140015d60]
mov qword [rsp + 0x50], rax
lea rax, [0x140015de0]
mov qword [rsp + 0x58], rax
lea rax, [0x140015ec0]
mov qword [rsp + 0x60], rax
lea rbx, [rdi + 0x2db0]
mov eax, dword [rbx]
mov ecx, dword [rbx + 4]
test eax, eax
jne 0x140044a27
mov eax, esi
test ecx, ecx
jne 0x1400449fb
lea edx, [rcx + 8]
mov rcx, rbx
call fcn.140016e60
mov eax, dword [rbx]
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x20], xmm0
jmp 0x140044a90
cmp eax, ecx
jne 0x140044a57
lea r8d, [rax + 1]
test ecx, ecx
je 0x140044a3e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140044a43
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, rbx
call fcn.140016e60
mov eax, dword [rbx]
test eax, eax
jle 0x140044a72
mov rdx, qword [rbx + 8]
cdqe
lea r8, [rax + rax*2]
shl r8, 4
lea rcx, [rdx + 0x30]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x20], xmm0
inc dword [rbx]
mov byte [rdi], 1
mov rbx, qword [0x1400e6fb0]
lea rcx, [0x1400e6f78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140044b8e
lea rcx, [0x1400e6f70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140044b8e
mov qword [0x1400e6f68], rbx
mov rcx, qword [0x1400e69f0]
or dword [rcx + 0xc], 6
lea rax, str.imgui_impl_win32
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 0x140044b95
mov rcx, qword [0x1400e69f0]
mov rax, qword [0x1400e6fb8]
mov byte [0x1400c2050], 0
lea rdx, str.imgui_impl_dx9
mov qword [rcx + 0xe0], rdx
mov qword [0x1400e6f58], rax
mov rcx, qword [0x1400e6aa0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140041bd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1400444d0
mov rcx, qword [0x1400e6a00]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400e6fb8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400e6aa0]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
lea rcx, str.s4cr3tleele
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov al, 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
xor ebx, ebx
mov dword [rbp - 9], 0xe2e0eafc
mov ecx, ebx
mov dword [rbp - 5], 0xe5feeefc
mov dword [rbp - 1], 0x1009392
nop dword [rax + rax]
lea eax, [rcx - 0x56]
xor byte [rbp + rcx - 9], al
inc rcx
cmp rcx, 0xa
jb 0x140044c60
lea rdx, [rbp - 9]
mov byte [rbp + 2], bl
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov edx, 0x7f00
mov dword [rbp + 7], 0x50
mov qword [0x1400e6b20], rax
xor ecx, ecx
lea rax, [0x140044390]
mov dword [rbp + 0xb], 3
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x27], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
mov edx, 0x7f00
movdqa xmmword [rbp + 0x37], xmm0
lea rax, [0x1400b7618]
xor ecx, ecx
mov qword [rbp + 0x47], rax
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rbp + 7]
mov qword [rbp + 0x4f], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x1400e6b20]
test rcx, rcx
je 0x140044e45
lea rdx, [0x1400e6b10]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400e6b20]
lea rdx, [rbp + 0x67]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x67]
lea r8, str.s4cr3tleele
movd xmm1, dword [0x1400e6b1c]
lea rdx, str.s4cr3tleele
movd xmm2, dword [0x1400e6b18]
mov r9d, 0x90000000
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
cvtdq2ps xmm1, xmm1
mov dword [0x1400e6b10], eax
mov eax, dword [rbp + 0x6b]
mov dword [0x1400e6b14], eax
cvtdq2ps xmm2, xmm2
movss dword [0x1400e6ae4], xmm1
subss xmm1, dword [0x1400b7a20]
movss dword [0x1400e6a20], xmm2
subss xmm2, dword [0x1400b7a20]
cvttss2si ecx, xmm1
cvttss2si eax, xmm2
mov dword [rsp + 0x38], ecx
mov ecx, 0x80028
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, rax
mov qword [0x1400e6fb0], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x1400e6fb0]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400b7bd0]
lea rdx, [rbp - 9]
mov rcx, qword [0x1400e6fb0]
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1400e6fb0]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400e6fb0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
jmp 0x140044830
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3