Function at 0x140048410
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x1400f8040]
xor rax, rsp
mov qword [rbp + 0x188], rax
xor r13d, r13d
mov dword [rbp + 0xa0], 0x50
mov dword [rbp + 0xa4], 0x40
lea rax, [0x1400493f0]
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0xb8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xd0], xmm1
lea rdi, str.ImGui_Example
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xe8], r13
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov esi, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], r13
mov rcx, qword [rbp + 0xb8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9d, 0x80000000
mov r8, rdi
mov rdx, qword [rbp + 0xe0]
mov ecx, 0x8000028
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, rax
lea r9d, [r13 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400e78a0]
movdqu xmmword [rbp + 0x130], xmm0
lea rdx, [rbp + 0x130]
mov rcx, r14
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp + 0x24], r13
mov qword [rbp + 0x38], 2
mov qword [rbp + 0x50], 2
mov qword [rbp + 0x10], r13
mov dword [rbp + 0x20], 0x1c
mov dword [rbp + 0x18], 0x3c
mov dword [rbp + 0x1c], esi
mov dword [rbp + 0x34], 0x20
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x2c], rsi
mov qword [rbp + 0x48], rsi
mov dword [rbp + 0x170], 0xb000
mov dword [rbp + 0x174], 0xa000
lea rax, [0x14015a788]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x50], rax
lea rax, [0x14015a780]
mov qword [rsp + 0x48], rax
lea rax, [0x14015a778]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14004869a
call fcn.140049300
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x188]
xor rcx, rsp
call fcn.1400c06b0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140049380
mov edx, 0xa
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r15, qword [0x14015a728]
mov ecx, 0x5f58
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [0x14015a728]
test rcx, rcx
je 0x1400486da
inc dword [rcx + 0xf0]
mov qword [rbp], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x170], rcx
mov qword [rbp + 0xf0], rax
test rax, rax
je 0x140048702
xor edx, edx
mov rcx, rax
call fcn.140007df0
jmp 0x140048705
mov rax, r13
mov qword [0x14015a728], rax
call fcn.14000c180
test r15, r15
je 0x14004871f
mov qword [0x14015a728], r15
jmp 0x140048726
mov r15, qword [0x14015a728]
or dword [r15 + 8], 3
mov qword [r15 + 0x20], r13
xor ecx, ecx
call fcn.140022f10
mov rcx, r14
call fcn.14002ebc0
mov r12, qword [0x14015a788]
mov rsi, qword [0x14015a780]
mov rdi, qword [0x14015a728]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov rax, qword [0x14015a728]
test rax, rax
je 0x140048773
inc dword [rax + 0xf0]
test rbx, rbx
je 0x1400487a6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x1400487a9
mov rbx, r13
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp + 0xf0], r13
mov qword [rbp + 0x170], r13
mov qword [rbp], r13
mov rax, qword [rsi]
lea r8, [rbp + 0xf0]
lea rdx, [0x1400e5d18]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x140048838
mov rcx, qword [rbp + 0xf0]
mov rax, qword [rcx]
lea r8, [rbp + 0x170]
lea rdx, [0x1400e5d28]
call qword [rax + 0x30]
test eax, eax
jne 0x140048838
mov rcx, qword [rbp + 0x170]
mov rax, qword [rcx]
lea r8, [rbp]
lea rdx, [0x1400e5d38]
call qword [rax + 0x30]
test eax, eax
jne 0x140048838
mov qword [rbx], rsi
mov qword [rbx + 8], r12
mov rax, qword [rbp]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x14004884a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x170]
test rcx, rcx
je 0x14004885c
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 xmm11, xmm11
xor eax, eax
movups xmmword [rsp + 0x70], xmm11
movups xmmword [rbp - 0x80], xmm11
movups xmmword [rbp - 0x50], xmm11
movups xmmword [rbp - 0x40], xmm11
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x78], 2
mov esi, 1
mov dword [rbp - 0x74], esi
mov dword [rbp - 0x4c], 0x7f7fffff
movss xmm12, dword [0x1400e7668]
mov dword [rbp - 0x40], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x3c], ax
mov dword [rbp - 0x44], 0x204
movaps xmm10, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x10], xmm10
movaps xmm9, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x20], xmm9
movaps xmmword [rbp + 0x30], xmm11
movaps xmmword [rbp + 0x40], xmm11
movaps xmm8, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x50], xmm8
movaps xmm7, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x60], xmm7
movaps xmmword [rbp + 0x70], xmm11
movaps xmmword [rbp + 0x80], xmm11
movsd xmm6, qword [rbp - 0x10]
movsd qword [rbp + 0x90], xmm6
lea rax, [0x140129210]
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 0x305e8
mov dword [rbp + 0x24], 0x41600000
lea rdi, [0x1400e5828]
mov qword [rbp + 0x48], rdi
lea rdx, [rbp + 0x10]
mov rcx, qword [r15 + 0x38]
call fcn.140029320
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm11
movaps xmmword [rbp - 0x60], xmm11
movaps xmmword [rbp - 0x50], xmm8
movaps xmmword [rbp - 0x40], xmm7
movaps xmmword [rbp - 0x30], xmm11
movaps xmmword [rbp - 0x20], xmm11
movsd qword [rbp - 0x10], xmm6
lea rbx, [0x1400f8cc0]
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x3054c
mov dword [rbp - 0x7c], 0x41600000
mov qword [rbp - 0x58], rdi
lea rdx, [rsp + 0x70]
mov rcx, qword [r15 + 0x38]
call fcn.140029320
mov qword [0x14015a790], rax
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm11
movaps xmmword [rbp - 0x60], xmm11
movaps xmmword [rbp - 0x50], xmm8
movaps xmmword [rbp - 0x40], xmm7
movaps xmmword [rbp - 0x30], xmm11
movaps xmmword [rbp - 0x20], xmm11
movsd qword [rbp - 0x10], xmm6
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x3054c
mov dword [rbp - 0x7c], 0x413ccccd
mov qword [rbp - 0x58], rdi
lea rdx, [rsp + 0x70]
mov rcx, qword [r15 + 0x38]
call fcn.140029320
mov qword [0x14015a7f8], rax
movaps xmmword [rsp + 0x70], xmm10
movaps xmmword [rbp - 0x80], xmm9
movaps xmmword [rbp - 0x70], xmm11
movaps xmmword [rbp - 0x60], xmm11
movaps xmmword [rbp - 0x50], xmm8
movaps xmmword [rbp - 0x40], xmm7
movaps xmmword [rbp - 0x30], xmm11
movaps xmmword [rbp - 0x20], xmm11
movsd qword [rbp - 0x10], xmm6
lea rax, [0x140159800]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x5cc
mov dword [rbp - 0x7c], 0x41300000
mov qword [rbp - 0x58], rdi
lea rdx, [rsp + 0x70]
mov rcx, qword [r15 + 0x38]
call fcn.140029320
mov qword [rbp + 0x10], 0xffffffffffffffff
mov qword [rbp + 0x18], 0xffffffffffffffff
mov qword [rbp + 0x20], 0xffffffffffffffff
mov qword [rbp + 0x28], 0xffffffffffffffff
mov dword [rbp + 0x30], 0xffffffff
mov qword [rbp + 0x34], 0xfffffffffffffffd
mov dword [rbp + 0x3c], 0xffffffff
mov qword [rbp + 0x40], r13
cmp qword [0x14015a7d0], 0
jne 0x140048ad2
mov qword [rsp + 0x30], r13
lea rax, [0x14015a7d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x10]
mov r8d, 0x1c2
lea rdx, [0x1400f8740]
mov rcx, qword [0x14015a780]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x14015a7d8], 0
jne 0x140048b10
mov qword [rsp + 0x30], r13
lea rax, [0x14015a7d8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x10]
mov r8d, 0x1f0
lea rdx, [0x1400f83a0]
mov rcx, qword [0x14015a780]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x14015a818], 0
jne 0x140048b4e
mov qword [rsp + 0x30], r13
lea rax, [0x14015a818]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x10]
mov r8d, 0x254
lea rdx, [0x1400f8140]
mov rcx, qword [0x14015a780]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x14015a820], 0
jne 0x140048b8c
mov qword [rsp + 0x30], r13
lea rax, [0x14015a820]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x10]
mov r8d, 0x1e7
lea rdx, [0x1400f8910]
mov rcx, qword [0x14015a780]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x14015a808], 0
jne 0x140048bca
mov qword [rsp + 0x30], r13
lea rax, [0x14015a808]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x10]
mov r8d, 0x1be
lea rdx, [0x1400f8b00]
mov rcx, qword [0x14015a780]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x14015a7e8], 0
jne 0x140048c08
mov qword [rsp + 0x30], r13
lea rax, [0x14015a7e8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x10]
mov r8d, 0x1ae
lea rdx, [0x1400f8590]
mov rcx, qword [0x14015a780]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov r12d, r13d
xor bl, bl
movss xmm10, dword [0x1400e7734]
movss xmm8, dword [0x1400e7630]
movss xmm9, dword [0x1400e7724]
nop dword [rax + rax]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140048c4d
cmp byte [0x14015abf4], 0
sete byte [0x14015abf4]
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x140]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140048cbc
nop word [rax + rax]
lea rcx, [rbp + 0x140]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x140]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rbp + 0x148], 0x12
cmove ebx, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x140]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140048c70
test bl, bl
jne 0x14004918b
mov rax, qword [0x14015a728]
test rax, rax
je 0x140048cd1
mov rcx, qword [rax + 0x98]
jmp 0x140048cd4
mov rcx, r13
cmp qword [rcx + 0x48], 0
jne 0x140048ce0
call fcn.14002e560
call fcn.14002f570
call fcn.14000e700
inc r12d
cmp byte [0x14015abf4], 0
je 0x140048d03
call fcn.1400408d0
mov r8d, 0x80088
jmp 0x140048d09
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea rcx, [0x14015a723]
call fcn.140004e50
cmp byte [0x14015a871], 0
je 0x140048e2c
movd xmm2, dword [0x1400f80c0]
cvtdq2ps xmm2, xmm2
subss xmm2, dword [0x14015a898]
movss xmm0, dword [r15 + 0x18]
mulss xmm0, xmm10
mulss xmm2, xmm0
addss xmm2, dword [0x14015a898]
movss dword [0x14015a898], xmm2
mov rax, qword [0x14015a728]
mov rax, qword [rax + 0x48e8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.14000de10
mov rdi, rax
lea rcx, [0x1400f8118]
call fcn.14000a150
mov esi, eax
movss xmm7, dword [0x14015a898]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm8
movss dword [rbp], xmm6
movss dword [rbp + 4], xmm0
test esi, 0xff000000
je 0x140048e2c
comiss xmm8, xmm7
ja 0x140048e2c
subss xmm7, xmm8
mov dword [rsp + 0x28], 0x1ff
movss dword [rsp + 0x20], xmm9
xorps xmm3, xmm3
movaps xmm2, xmm7
lea rdx, [rbp]
mov rcx, rdi
call fcn.140025c90
movss dword [rsp + 0x28], xmm12
mov dword [rsp + 0x20], 1
mov r9d, esi
mov r8d, dword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
call fcn.140024240
mov dword [rdi + 0x78], r13d
cmp byte [0x14015a870], 0
je 0x140048f3e
movd xmm2, dword [0x1400f812c]
cvtdq2ps xmm2, xmm2
subss xmm2, dword [0x14015a89c]
movss xmm0, dword [r15 + 0x18]
mulss xmm0, xmm10
mulss xmm2, xmm0
addss xmm2, dword [0x14015a89c]
movss dword [0x14015a89c], xmm2
mov rax, qword [0x14015a728]
mov rax, qword [rax + 0x48e8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.14000de10
mov rdi, rax
lea rcx, [0x1400f8130]
call fcn.14000a150
mov esi, eax
movss xmm7, dword [0x14015a89c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm8
movss dword [rbp + 0x170], xmm6
movss dword [rbp + 0x174], xmm0
test esi, 0xff000000
je 0x140048f3e
comiss xmm8, xmm7
ja 0x140048f3e
subss xmm7, xmm8
mov dword [rsp + 0x28], 0x1ff
movss dword [rsp + 0x20], xmm9
xorps xmm3, xmm3
movaps xmm2, xmm7
lea rdx, [rbp + 0x170]
mov rcx, rdi
call fcn.140025c90
movss dword [rsp + 0x28], xmm12
mov dword [rsp + 0x20], 1
mov r9d, esi
mov r8d, dword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
call fcn.140024240
mov dword [rdi + 0x78], r13d
cmp r12d, 1
jne 0x140049102
lea ecx, [r12 + 7]
call fcn.1400c06d0
lea rcx, [0x140048130]
mov qword [rax], rcx
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1400523e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x110], rax
test rax, rax
je 0x1400492eb
lea ecx, [r12 + 7]
call fcn.1400c06d0
lea rcx, [0x140048140]
mov qword [rax], rcx
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0x108]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1400523e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x100], rax
test rax, rax
je 0x1400492d8
lea ecx, [r12 + 7]
call fcn.1400c06d0
lea rcx, [0x140048400]
mov qword [rax], rcx
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0x128]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1400523e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x120], rax
test rax, rax
je 0x1400492c5
cmp dword [rbp + 0x118], 0
je 0x1400492b9
movaps xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0xf0], xmm0
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400492b9
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x110], xmm0
cmp dword [rbp + 0x108], eax
je 0x1400492b9
movaps xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0xf0], xmm0
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400492b9
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x100], xmm0
cmp dword [rbp + 0x128], eax
je 0x1400492b9
movaps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0xf0], xmm0
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400492b9
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
cmp dword [rbp + 0x108], eax
jne 0x1400492b2
cmp dword [rbp + 0x118], eax
jne 0x1400492ab
call fcn.140010800
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov rcx, qword [0x14015a788]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14015a770]
mov esi, 1
mov edx, esi
call qword [rax + 0x108]
mov rcx, qword [0x14015a788]
mov rax, qword [rcx]
lea r8, [rbp + 0x178]
mov rdx, qword [0x14015a770]
call qword [rax + 0x190]
mov rax, qword [0x14015a728]
mov rcx, qword [rax + 0x48e8]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r13
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.14002db00
mov rcx, qword [0x14015a778]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, esi
call qword [rax + 0x40]
jmp 0x140048c30
mov rbx, qword [0x14015a728]
test rbx, rbx
je 0x1400491a0
mov rdi, qword [rbx + 0x98]
jmp 0x1400491a3
mov rdi, r13
call fcn.14002eaa0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400491b7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400491c5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400491d4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], r13
mov qword [rbx + 0x98], r13
and dword [rbx + 0xc], 0xfffffff7
mov rax, qword [0x14015a728]
test rax, rax
je 0x1400491f8
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14015a728]
test rax, rax
je 0x140049216
mov rdi, qword [rax + 0x90]
jmp 0x140049219
mov rdi, r13
lea rbx, [rax + 8]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140049233
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14015a728]
mov qword [rbx + 0x78], r13
mov qword [rbx + 0x88], r13
and dword [rbx + 4], 0xfffffff8
test rax, rax
je 0x14004924d
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14015a728]
mov qword [0x14015a728], rbx
call fcn.14000c540
mov qword [0x14015a728], r13
test rbx, rbx
je 0x140049298
mov rcx, rbx
call fcn.1400222b0
mov rax, qword [0x14015a728]
test rax, rax
je 0x14004928f
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140049300
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x140048633
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x128], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x108], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x118], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3