Function at 0x140002350
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x40], rax
movups xmm0, xmmword [str.Click_Simulator_Window_Class]
movzx eax, word [0x140006840]
xor esi, esi
movups xmm1, xmmword [0x140006818]
mov word [rbp + 0x38], ax
mov rbx, rcx
movups xmmword [rbp], xmm0
lea rax, [0x140002180]
mov qword [rbp - 0x78], rcx
movups xmm0, xmmword [0x140006828]
mov ecx, 0x1e1e1e
mov qword [rsp + 0x70], rsi
mov edi, r9d
mov qword [rbp - 0x80], rsi
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp - 0x58], rsi
movsd xmm0, qword [0x140006838]
movsd qword [rbp + 0x30], xmm0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
movups xmmword [rbp + 0x10], xmm1
mov qword [rsp + 0x78], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbp - 0x60], rax
lea rcx, [rsp + 0x70]
lea rax, [rbp]
mov qword [rbp - 0x50], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov qword [rsp + 0x58], rsi
lea r8, str.Click_Simulator
mov qword [rsp + 0x50], rbx
lea rdx, [rbp]
mov qword [rsp + 0x48], rsi
mov r9d, 0xc80000
mov qword [rsp + 0x40], rsi
xor ecx, ecx
mov dword [rsp + 0x38], 0x12c
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14000aa00], rax
test rax, rax
jne 0x140002474
xor eax, eax
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140004620
mov rbx, qword [rsp + 0x178]
add rsp, 0x150
pop rdi
pop rsi
pop rbp
ret
mov edx, edi
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [0x14000aa00]
lea r8, [0x140006868]
mov qword [rsp + 0x58], rsi
lea rdx, str.BUTTON
mov qword [rsp + 0x50], rbx
mov r9d, 0x50010001
mov qword [rsp + 0x48], 1
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0xc8
mov dword [rsp + 0x28], 0xa
mov dword [rsp + 0x20], 0xa
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rax, qword [0x14000aa00]
lea r8, [0x1400068b0]
mov qword [rsp + 0x58], rsi
lea rdx, str.BUTTON
mov qword [rsp + 0x50], rbx
mov r9d, 0x50010001
mov qword [rsp + 0x48], 4
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0xc8
mov dword [rsp + 0x28], 0xa
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [0x14000aa11], sil
lea rax, [0x1400067c8]
mov qword [rsp + 0x58], rsi
lea r8, [0x1400067e8]
mov qword [rsp + 0x50], rbx
lea rdx, str.BUTTON
mov qword [rsp + 0x48], 5
cmovne r8, rax
mov rax, qword [0x14000aa00]
mov r9d, 0x50010001
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0xc8
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsp + 0x58], rsi
lea r8, [0x1400068d0]
mov qword [rsp + 0x50], rbx
lea rdx, str.BUTTON
mov qword [rsp + 0x48], rsi
mov r9d, 0x50000001
mov qword [0x14000aa08], rax
xor ecx, ecx
mov rax, qword [0x14000aa00]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0xc8
mov dword [rsp + 0x28], 0x32
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14000aa18], rax
call fcn.140001cb0
call fcn.140001890
mov ecx, 8
call fcn.140004640
lea rcx, [0x140002090]
mov r9, rax
lea r8, [0x140004580]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14000277b
cmp dword [0x14000aa30], esi
jne 0x140002774
movaps xmm1, xmmword [rsp + 0x60]
xorps xmm0, xmm0
mov ecx, 8
movdqa xmmword [rsp + 0x60], xmm0
movups xmmword [0x14000aa28], xmm1
call fcn.140004640
lea rcx, [0x140002100]
mov r9, rax
lea r8, [0x140004580]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140002765
xorps xmm0, xmm0
lea rcx, [rbp - 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000270a
nop dword [rax]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400026e0
cmp dword [0x14000aa30], esi
je 0x140002759
movups xmm0, xmmword [0x14000aa28]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140002759
xorps xmm0, xmm0
movups xmmword [0x14000aa28], xmm0
cmp dword [rbp - 0x38], esi
je 0x140002759
movaps xmm0, xmmword [rbp - 0x40]
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140002453
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 0x38], esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rsp + 0x68], esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3