Function at 0x140040880
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x270
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x14005a010]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov edx, 0xa
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14005ad28]
test rbx, rbx
je 0x1400408f6
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp], rax
lea rcx, [rsp + 0x40]
mov qword [rbp + 8], rcx
mov qword [rbp + 0xe0], rax
xor r15d, r15d
test rax, rax
je 0x140040929
xor edx, edx
mov rcx, rax
call fcn.14000c1a0
jmp 0x14004092c
mov rax, r15
mov qword [0x14005ad28], rax
call fcn.140010060
test rbx, rbx
je 0x140040946
mov qword [0x14005ad28], rbx
jmp 0x14004094d
mov rbx, qword [0x14005ad28]
mov rsi, qword [rbx + 0x38]
mov qword [rbp + 8], r15
lea r8, [rbp + 8]
lea r14, str.c:_windows_fonts_simhei.ttf
mov rcx, r14
call fcn.14000de60
mov rdi, rax
test rax, rax
jne 0x140040978
mov rax, r15
jmp 0x140040afb
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm2
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x3c], ax
movaps xmm3, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x50], xmm3
movaps xmm4, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x60], xmm4
movaps xmmword [rbp + 0x70], xmm2
xorps xmm5, xmm5
movaps xmmword [rbp + 0x80], xmm5
movaps xmm6, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x90], xmm6
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0xa0], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0xb0], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0xc0], xmm8
movsd xmm9, qword [rbp - 0x10]
movsd qword [rbp + 0xd0], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140040aa8
lea r9, [0x14005132b]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140040a49
cmp al, 0x5c
je 0x140040a49
mov r9, rcx
cmp rcx, r14
ja 0x140040a32
movsd xmm0, qword [0x1400514e8]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0xa6]
call fcn.14000dae0
movsd xmm9, qword [rbp + 0xd0]
movaps xmm8, xmmword [rbp + 0xc0]
movaps xmm7, xmmword [rbp + 0xb0]
movaps xmm1, xmmword [rbp + 0xa0]
movaps xmm6, xmmword [rbp + 0x90]
movaps xmm5, xmmword [rbp + 0x80]
movaps xmm2, xmmword [rbp + 0x70]
movaps xmm4, xmmword [rbp + 0x60]
movaps xmm3, xmmword [rbp + 0x50]
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rbp - 0x80], xmm4
movaps xmmword [rbp - 0x70], xmm2
movaps xmmword [rbp - 0x60], xmm5
movaps xmmword [rbp - 0x50], xmm6
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x30], xmm7
movaps xmmword [rbp - 0x20], xmm8
movsd qword [rbp - 0x10], xmm9
mov qword [rsp + 0x70], rdi
mov eax, dword [rbp + 8]
mov dword [rsp + 0x78], eax
mov dword [rbp - 0x7c], 0x41800000
lea rax, [0x140050770]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140030400
mov qword [0x14005ace8], rax
mov rcx, qword [rbx + 0x38]
call fcn.140030b50
or dword [rbx + 8], 3
xor ecx, ecx
call fcn.14002c0d0
mov rax, qword [0x14005ad28]
mov dword [rax + 0x37d8], 0x40c00000
mov dword [rax + 0x380c], 0x40c00000
mov dword [rax + 0x37e0], 0x3f800000
mov dword [rax + 0x37e4], 0x3f800000
mov rcx, qword [0x14005acd8]
call fcn.14000a100
mov r14, qword [0x14005ad60]
mov rsi, qword [0x14005ad68]
mov rdi, qword [0x14005ad28]
test rdi, rdi
je 0x140040b71
inc dword [rdi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140040bb2
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x140040bb5
mov rbx, r15
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0xe0], r15
mov qword [rbp + 8], r15
mov qword [rbp], r15
mov rax, qword [rsi]
lea r8, [rbp + 0xe0]
lea rdx, [0x14004a688]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140040c3b
mov rcx, qword [rbp + 0xe0]
mov rax, qword [rcx]
lea r8, [rbp + 8]
lea rdx, [0x14004a698]
call qword [rax + 0x30]
test eax, eax
jne 0x140040c3b
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea r8, [rbp]
lea rdx, [0x14004a6a8]
call qword [rax + 0x30]
test eax, eax
jne 0x140040c3b
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0xe0]
test rcx, rcx
je 0x140040c4d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140040c5c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
mov eax, dword [0x14005a2d8]
bts eax, 0x1c
mov dword [0x14005adb0], eax
mov edx, 0xffffffec
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, dword [0x14005a2d4]
cmp eax, r8d
je 0x140040cbe
mov edx, 0xffffffec
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x140007a70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x140007e80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop word [rax + rax]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov edx, 3
call qword [sym.imp.USER32.dll_GetWindow]
mov rbx, rax
mov edx, 0xfffffff0
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, dword [0x14005adb0]
cmp eax, r8d
je 0x140040d47
mov edx, 0xfffffff0
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, 0xffffffec
mov rcx, qword [0x14005acd8]
cmp byte [0x14005a24e], 0
je 0x140040d8e
mov dword [0x14005adb0], 0x94000000
call qword [sym.imp.USER32.dll_GetWindowLongW]
movsxd rcx, dword [0x14005a2dc]
cmp eax, ecx
je 0x140040df2
mov r8, rcx
mov edx, 0xffffffec
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
jmp 0x140040df2
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, dword [0x14005a2d4]
cmp eax, r8d
je 0x140040db2
mov edx, 0xffffffec
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [0x14005a2d8]
bts eax, 0x1c
mov dword [0x14005adb0], eax
mov edx, 0xffffffec
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, dword [0x14005a2d4]
cmp eax, r8d
je 0x140040df2
mov edx, 0xffffffec
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [0x14005acd8]
cmp rbx, rcx
je 0x140040e2c
mov dword [rsp + 0x30], 0x4003
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14005acd8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x18]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140040e82
nop word [rax + rax]
lea rcx, [rbp + 0x18]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x18]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x18]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140040e50
mov rax, qword [0x14005ad28]
test rax, rax
je 0x140040e97
mov rcx, qword [rax + 0x98]
jmp 0x140040e9a
mov rcx, r15
cmp qword [rcx + 0x48], 0
jne 0x140040ea6
call fcn.140009be0
call fcn.14000aa80
call fcn.1400117c0
cmp byte [0x14005a24e], 0
je 0x140040ebe
call fcn.1400410b0
cmp byte [0x14005acf0], 0
je 0x140040ecc
call fcn.140043030
mov eax, dword [0x14005acc8]
test eax, eax
je 0x140040ff7
mov ecx, dword [0x14005acc8]
sub ecx, 1
je 0x140040fc2
sub ecx, 1
je 0x140040f3c
sub ecx, 1
je 0x140040f2a
cmp ecx, 1
jne 0x140040ff7
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea r8d, [rcx + 0xc]
lea rdx, str.Teleport_Hack
lea rcx, [rsp + 0x48]
call fcn.140005b50
mov cl, 1
jmp 0x140040fed
mov r8d, 0xd
lea rdx, str.Teleport_Hack
jmp 0x140040fcf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
mov word [rbp + 0x120], ax
movss xmm3, dword [0x14005a050]
cvtps2pd xmm3, xmm3
movq r9, xmm3
lea r8, str.Speed_Hack__.2f
lea edx, [rax + 0x32]
lea rcx, [rbp + 0xf0]
call fcn.1400401b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140040fa3
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x48]
call fcn.140005b50
mov cl, 1
jmp 0x140040fed
mov r8d, 0xa
lea rdx, str.Speed_Hack
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x48]
call fcn.140005b50
xor ecx, ecx
lea rdx, [rsp + 0x48]
call fcn.1400078b0
call fcn.140013530
movdqa xmm0, xmmword [0x1400515a0]
movdqu xmmword [rbp + 8], xmm0
lea rdx, [rbp + 8]
mov rcx, qword [0x14005acd8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
call fcn.140013920
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov rcx, qword [0x14005ad60]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14005ad78]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x14005ad60]
mov rax, qword [rcx]
lea r8, [rbp + 0xe0]
mov rdx, qword [0x14005ad78]
call qword [rax + 0x190]
mov rax, qword [0x14005ad28]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r15
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140008f90
mov rcx, qword [0x14005ad70]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
jmp 0x140040d00