Function at 0x140050b70
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rbp + 0x40], rax
lea rax, [0x140051830]
mov dword [rbp - 0x50], 0x50
xor r12d, r12d
mov qword [rbp - 0x48], rax
xor ecx, ecx
mov qword [rbp - 0x40], r12
mov dword [rbp - 0x4c], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp - 8], r12
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm0
lea r14, str.hades
movdqa xmmword [rbp - 0x20], xmm1
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x10], r14
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x38]
mov r9d, 0x80000000
mov rdx, qword [rbp - 0x10]
mov r8, r14
mov qword [rsp + 0x58], r12
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [r12 + 0x20]
mov qword [0x140069ab0], rax
mov rbx, rax
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x140069aa8], rax
mov rcx, rax
test rax, rax
je 0x1400517c7
lea rdx, [0x140069aa0]
mov qword [0x140069a60], r12
mov qword [rsp + 0x30], rdx
lea rsi, [0x140069a60]
mov qword [0x140069a6c], r12
lea r8d, [r12 + 1]
mov dword [0x140069a74], r12d
mov r9, rbx
mov qword [0x140069a7c], r12
xor edx, edx
mov dword [0x140069a84], r12d
mov qword [0x140069a94], r12
mov dword [0x140069a88], 1
mov dword [0x140069a78], 1
mov dword [0x140069a68], r12d
mov dword [0x140069a8c], 1
mov dword [0x140069a90], 0x50
mov dword [0x140069a9c], 1
mov rax, qword [rax]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x1400517c0
mov rcx, qword [0x140069ab0]
xor edx, edx
mov qword [rsp + 0x1c0], rdi
mov qword [rsp + 0x1c8], r13
mov qword [rsp + 0x1d0], r15
movaps xmmword [rsp + 0x180], xmm6
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm8
movaps xmmword [rsp + 0x150], xmm9
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140069ab0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x140069a50]
test rax, rax
je 0x140050d5f
inc dword [rax + 0x3b0]
mov ecx, 0x40b0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140050d7b
xor edx, edx
mov rcx, rax
call fcn.140001880
jmp 0x140050d7e
mov rax, r12
cmp qword [0x140069a50], r12
jne 0x140050d8e
mov qword [0x140069a50], rax
mov rcx, rax
call fcn.140008d80
mov rax, qword [0x140069a50]
test rax, rax
jne 0x140050dc3
mov r8d, 0xda0
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x140069a50]
or dword [rax + 8], 0x400
lea r13, [rax + 8]
mov qword [r13 + 0x18], r12
test rax, rax
jne 0x140050df8
mov r8d, 0x997
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x140069a50]
test dword [r13], 0x400
je 0x140050e13
mov dword [rax + 0x1644], r12d
mov dword [rax + 0x1728], 0x3f800000
mov rdi, qword [0x140069ab0]
lea rcx, [0x140069b28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140051013
lea rcx, [0x140069b20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140051013
mov rbx, qword [0x140069a50]
test rbx, rbx
jne 0x140050e71
mov r8d, 0xda0
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140069a50]
or dword [rbx + 0xc], 0xc06
lea rax, str.imgui_impl_win32
mov qword [rbx + 0xe0], rax
mov qword [0x140069b18], rdi
cmp dword [rbx + 0x1ef0], r12d
jg 0x140050eb7
mov r8d, 0x6c7
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x140069b18]
mov rax, qword [rbx + 0x1ef8]
mov rcx, qword [rax]
mov qword [rcx + 0x50], rdi
mov qword [rcx + 0x48], rdi
test dword [rbx + 8], 0x400
je 0x140050ed7
call fcn.14003fc90
lea rax, str.xinput1_4.dll
mov dword [rbx + 0x3c], 9
mov qword [rsp + 0x78], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x80], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x78], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x70], rax
lea rax, str.xinput1_1.dll
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
mov rbx, r12
mov qword [rbp - 0x68], rax
nop dword [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x78]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x140050fde
inc rbx
cmp rbx, 5
jl 0x140050fc0
jmp 0x140051013
lea rdx, str.XInputGetCapabilities
mov qword [0x140069b00], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [0x140069b08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140069b10], rax
mov rbx, qword [0x140069a50]
mov rdi, qword [0x140069aa0]
test rbx, rbx
jne 0x140051047
mov r8d, 0xda0
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140069a50]
or dword [rbx + 0xc], 0x1008
lea rax, str.imgui_impl_dx9
mov qword [rbx + 0xe8], rax
mov rcx, rdi
mov rax, qword [rdi]
mov qword [0x140069ae8], rdi
call qword [rax + 8]
test dword [rbx + 8], 0x400
je 0x1400510e8
mov rax, qword [0x140069a50]
test rax, rax
jne 0x1400510a2
mov r8d, 0xda6
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x140069a50]
lea rcx, [fcn.14003dc80]
mov qword [rax + 0x15f0], rcx
lea rcx, [fcn.14003ddc0]
mov qword [rax + 0x15f8], rcx
lea rcx, [0x14003de60]
mov qword [rax + 0x1600], rcx
lea rcx, [0x14003dee0]
mov qword [rax + 0x1608], rcx
lea rcx, [0x14003e030]
mov qword [rax + 0x1610], rcx
mov qword [rsp + 0x28], r12
lea r8, [0x1400010c0]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], r12
lea r8, [0x140001320]
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movss xmm8, dword [0x1400610d4]
xorps xmm0, xmm0
movss xmm6, dword [0x1400611e8]
xorps xmm7, xmm7
movss xmm9, dword [0x140061118]
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140051187
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x14005164c
cmp qword [0x140069ad8], r12
jne 0x140051195
call fcn.14003d9e0
call fcn.14003e880
call fcn.140007bd0
cmp dword [0x140069b38], r12d
jne 0x140051235
xor ecx, ecx
call fcn.140031e90
movss xmm0, dword [0x140069050]
ucomiss xmm0, xmm7
jp 0x140051226
jne 0x140051226
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm1, dword [rbp - 0x58]
movd xmm0, dword [rbp - 0x54]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [0x140069048], xmm1
subss xmm1, dword [0x140069058]
movss dword [0x14006904c], xmm0
subss xmm0, dword [0x14006905c]
mulss xmm1, xmm8
mulss xmm0, xmm8
movss dword [0x140069050], xmm1
movss dword [0x140069054], xmm0
mov dword [0x140069b38], 1
jmp 0x1400513d4
cmp byte [0x140069060], r12b
je 0x1400513d4
mov rcx, qword [0x140069a50]
lea rdx, [0x140069060]
movss xmm1, dword [0x140069054]
mov r8d, 0x12a
movss xmm0, dword [0x140069050]
unpcklps xmm0, xmm1
movaps xmm1, xmm7
mov eax, dword [rcx + 0x1dc0]
movsd qword [rcx + 0x1dd4], xmm0
or eax, 1
mov dword [rcx + 0x1dc0], eax
or eax, 0x42
mov dword [rcx + 0x1dc4], 2
mov byte [rcx + 0x1dfc], 1
unpcklps xmm1, xmm7
movsd qword [rcx + 0x1ddc], xmm1
movss xmm0, dword [0x140069058]
movss xmm1, dword [0x14006905c]
movss dword [rcx + 0x1de4], xmm0
movss dword [rcx + 0x1de8], xmm1
mov dword [rcx + 0x1dc0], eax
mov dword [rcx + 0x1dc8], 1
mov dword [rcx + 0x1e20], 0x3f800000
mov rcx, r14
call fcn.14000e6f0
lea rdx, [0x140069a30]
lea rcx, str.Enable
call fcn.140044040
lea rax, [rbp]
mov dword [rbp], 0x19
lea r9, [rbp + 8]
mov qword [rsp + 0x20], rax
mov dword [rbp + 8], 1
call fcn.140045a90
mov rcx, qword [0x140069a50]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
cmp byte [rax + 0xd4], r12b
jne 0x140051355
movaps xmm1, xmm6
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x60]
call fcn.1400133b0
mov rcx, qword [0x140069a50]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
cmp byte [rax + 0xd4], r12b
jne 0x14005138c
movaps xmm1, xmm6
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x68]
call fcn.1400133b0
mov rcx, qword [0x140069a50]
mov rax, qword [rcx + 0x1d18]
mov byte [rax + 0xd1], 1
mov rax, qword [rcx + 0x1d18]
cmp byte [rax + 0xd4], r12b
jne 0x1400513bc
movaps xmm1, xmm6
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x70]
call fcn.1400133b0
lea rdx, [0x140069a31]
lea rcx, str.Only_click_in_MC
call fcn.140044040
call fcn.140011990
call fcn.14000a420
mov rcx, qword [0x140069aa0]
mov r9d, 3
mov dword [rsp + 0x30], r12d
xor r8d, r8d
movss dword [rsp + 0x28], xmm9
xor edx, edx
mov dword [rsp + 0x20], r12d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140069aa0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14005147b
call fcn.14000a900
mov rbx, qword [0x140069a50]
cmp dword [rbx + 0x1ef0], r12d
jg 0x140051448
mov r8d, 0x6c7
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1ef8]
mov rcx, qword [rax]
mov rax, r12
add rcx, 0xa8
cmp byte [rcx], r12b
cmovne rax, rcx
mov rcx, rax
call fcn.14003d160
mov rcx, qword [0x140069aa0]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r13], 0x400
je 0x1400515cd
call fcn.14001d1c0
mov rbx, qword [0x140069a50]
test rbx, rbx
jne 0x1400514bb
mov r8d, 0xda6
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___or_ImGui::SetCurrentContext____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140069a50]
mov eax, dword [rbx + 0x1628]
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x14005153f
nop dword [rax]
test rsi, rsi
js 0x1400514da
cmp r14d, eax
jl 0x1400514f4
mov r8d, 0x6c7
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rax + rsi*8]
test dword [rdi + 4], 0x400
jne 0x14005152e
mov rax, qword [rbx + 0x15c0]
test rax, rax
je 0x14005151b
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1608]
test rax, rax
je 0x14005152e
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x1400514d0
mov esi, 1
mov r14d, esi
cmp eax, esi
jle 0x1400515bf
nop dword [rax + rax]
test rsi, rsi
js 0x14005155a
cmp r14d, eax
jl 0x140051574
mov r8d, 0x6c7
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1630]
mov rdi, qword [rax + rsi*8]
test dword [rdi + 4], 0x400
jne 0x1400515ae
mov rax, qword [rbx + 0x15c8]
test rax, rax
je 0x14005159b
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x1610]
test rax, rax
je 0x1400515ae
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x1628]
inc r14d
inc rsi
cmp r14d, eax
jl 0x140051550
lea r14, str.hades
lea rsi, [0x140069a60]
mov rcx, qword [0x140069aa0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r12
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140051643
mov rcx, qword [0x140069aa0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140051643
call fcn.14003daf0
mov rcx, qword [0x140069aa0]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x14005163e
mov r8d, 0x34
lea rdx, str.C:UsersmadeqDownloadsBottle_clicker_v1.0_srcMain.h
lea rcx, [0x140053848]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.14003d9e0
cmp byte [0x140069060], r12b
je 0x140051658
cmp dword [rbp + 0x18], 0x12
jne 0x140051150
jmp 0x14005165f
mov dword [rbp + 0x18], 0x12
call fcn.14001d9e0
call fcn.14003daf0
mov rcx, qword [0x140069ae8]
movaps xmm9, xmmword [rsp + 0x150]
movaps xmm8, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x180]
mov r15, qword [rsp + 0x1d0]
mov r13, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x1c0]
test rcx, rcx
je 0x1400516bc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069ae8], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x140069b00]
test rcx, rcx
je 0x1400516e6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [0x140069a50]
mov rcx, rbx
mov qword [0x140069b00], r12
mov qword [0x140069b08], r12
mov qword [0x140069b10], r12
mov qword [0x140069b18], r12
mov qword [0x140069b20], r12
mov qword [0x140069b28], r12
mov dword [0x140069414], 9
mov byte [0x140069af8], r12b
mov byte [0x140069410], 1
call fcn.140009120
cmp qword [0x140069a50], rbx
jne 0x140051747
mov qword [0x140069a50], r12
test rbx, rbx
je 0x14005176f
mov rcx, rbx
call fcn.14002a160
mov rax, qword [0x140069a50]
test rax, rax
je 0x140051766
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140069aa0]
test rcx, rcx
je 0x140051788
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069aa0], r12
mov rcx, qword [0x140069aa8]
test rcx, rcx
je 0x1400517a1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140069aa8], r12
mov rcx, qword [0x140069ab0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
jmp 0x14005180f
mov rcx, qword [0x140069aa8]
mov rdx, qword [0x140069aa0]
test rdx, rdx
je 0x1400517ea
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140069aa8]
mov qword [0x140069aa0], r12
test rcx, rcx
je 0x1400517fc
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [0x140069aa8], r12
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140051940
add rsp, 0x190
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret