Function at 0x1400772a0
Capabilities:
Log keystrokes via polling
Read file on windows

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 - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x140096040]
xor rax, rsp
mov qword [rbp + 0x158], rax
mov rax, qword [0x1400979a8]
test rax, rax
je 0x140077305
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140077305
mov byte [rcx + 0x2e], 1
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.140065df0
test eax, eax
je 0x14007738b
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140097ac8], eax
jle 0x140077364
lea rcx, [0x140097ac8]
call fcn.140078a48
cmp dword [0x140097ac8], 0xffffffff
jne 0x140077364
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140097ad8], rax
lea rcx, [0x140097ac8]
call fcn.1400789dc
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x140097ad8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007738b
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140077410
mov edx, 3
lea ecx, [rdx + 3]
call fcn.140065df0
test eax, eax
je 0x14007740a
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x140097ad0], eax
jle 0x1400773e8
lea rcx, [0x140097ad0]
call fcn.140078a48
cmp dword [0x140097ad0], 0xffffffff
jne 0x1400773e8
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140097ab8], rax
lea rcx, [0x140097ad0]
call fcn.1400789dc
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x140097ab8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007740a
mov ecx, 2
call rax
jmp 0x140077410
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [rbp + 0x30], 0x50
mov dword [rbp + 0x34], 0x40
lea rax, [0x140077170]
mov qword [rbp + 0x38], rax
xor edi, edi
mov qword [rbp + 0x40], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x48], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
lea rbx, str.ImGui_Standalone
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], rdi
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rdi
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0x32
mov dword [rsp + 0x30], 0x32
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r12, rax
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x4c], rdi
mov qword [rbp - 0x38], 2
mov qword [rbp - 0x20], 2
mov qword [rbp - 0x60], rdi
mov dword [rbp - 0x50], 0x1c
mov dword [rbp - 0x58], 0x3c
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x3c], 0x20
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x44], 1
mov qword [rbp - 0x28], 1
mov dword [rbp + 0x138], 0xb000
mov dword [rbp + 0x13c], 0xa000
lea rax, [0x1400979c8]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x148]
mov qword [rsp + 0x50], rax
lea rax, [0x1400979b8]
mov qword [rsp + 0x48], rax
lea rax, [0x1400979d0]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x138]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140077589
call fcn.1400770f0
jmp 0x140077fef
call fcn.140077080
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r13, qword [0x1400979a8]
test r13, r13
je 0x1400775b5
inc dword [r13 + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x138], rcx
mov qword [rbp + 0x148], rax
test rax, rax
je 0x1400775e8
xor edx, edx
mov rcx, rax
call fcn.14002c240
jmp 0x1400775eb
mov rax, rdi
mov qword [0x1400979a8], rax
call fcn.140033dc0
test r13, r13
je 0x140077605
mov qword [0x1400979a8], r13
jmp 0x14007760c
mov r13, qword [0x1400979a8]
or dword [r13 + 8], 0x401
xor ecx, ecx
call fcn.140059550
mov rax, qword [0x1400979a8]
test dword [r13 + 8], 0x400
je 0x140077640
mov dword [rax + 0x3918], 0x40800000
mov dword [rax + 0x39fc], 0x3f800000
mov edx, 2
mov rcx, r12
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], rcx
mov dword [rbp + 0x110], 0x28
lea rdx, [rbp + 0x110]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov rax, qword [0x1400979a8]
mov qword [rax + 0x20], rdi
mov rcx, r12
call fcn.140063ef0
mov r14, qword [0x1400979c8]
mov rsi, qword [0x1400979b8]
mov rdi, qword [0x1400979a8]
test rdi, rdi
je 0x1400776b5
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
xor r12d, r12d
test rax, rax
je 0x1400776f9
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 0x1400776fc
mov rbx, r12
mov qword [rdi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
or dword [rdi + 0xc], 0x1008
mov qword [rbp + 0x148], r12
mov qword [rbp + 0x138], r12
mov qword [rbp - 0x78], r12
mov rax, qword [rsi]
lea r8, [rbp + 0x148]
lea rdx, [0x1400862c8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14007778e
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
lea r8, [rbp + 0x138]
lea rdx, [0x1400862d8]
call qword [rax + 0x30]
test eax, eax
jne 0x14007778e
mov rcx, qword [rbp + 0x138]
mov rax, qword [rcx]
lea r8, [rbp - 0x78]
lea rdx, [0x1400862f8]
call qword [rax + 0x30]
test eax, eax
jne 0x14007778e
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp - 0x78]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x1400777a0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x1400777b2
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]
test dword [rdi + 8], 0x400
je 0x14007781b
mov rax, qword [0x1400979a8]
lea rcx, [0x140063b50]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x140063ca0]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x140063d30]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x140063e20]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x140063ed0]
mov qword [rax + 0x38c0], rcx
mov rcx, qword [r13 + 0x50]
call fcn.14005ded0
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x60], xmm6
movups xmmword [rbp - 0x50], xmm6
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x20], xmm6
movups xmmword [rbp - 0x10], xmm6
mov qword [rbp + 0x20], rax
mov byte [rbp - 0x54], 1
mov dword [rbp - 0x48], 3
mov esi, 1
mov dword [rbp - 0x44], esi
mov dword [rbp - 0x1c], 0x7f7fffff
mov dword [rbp - 0x10], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0xc], ax
mov byte [rbp - 0x18], sil
mov byte [rbp - 0x40], sil
mov dword [rbp - 0x20], 0x412aaaab
mov r14, qword [r13 + 0x50]
lea rdx, [0x140085854]
lea r15, str.imgui_Fonts_fa_solid_900.ttf
mov rcx, r15
call fcn.14002dc40
mov rbx, rax
test rax, rax
je 0x140077acb
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140077abd
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140077abd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140077abd
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140077abd
cmp rdi, 0xffffffffffffffff
je 0x140077abd
mov rax, qword [0x1400979a8]
test rax, rax
je 0x140077912
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140077abd
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140077969
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400979a8]
test rax, rax
je 0x14007795b
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140077ac6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movaps xmm2, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x80], xmm2
movaps xmm3, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x90], xmm3
movaps xmm4, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0xa0], xmm4
movaps xmmword [rbp + 0xb0], xmm6
movaps xmm5, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0xc0], xmm5
movaps xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0xd0], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0xe0], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0xf0], xmm8
movsd xmm9, qword [rbp + 0x20]
movsd qword [rbp + 0x100], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140077a6f
lea r9, [0x1400866cc]
nop
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140077a07
cmp al, 0x5c
je 0x140077a07
mov r9, rcx
cmp rcx, r15
ja 0x1400779f0
movsd xmm0, qword [0x1400867b0]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0xd6]
call fcn.14002db10
movsd xmm9, qword [rbp + 0x100]
movaps xmm8, xmmword [rbp + 0xf0]
movaps xmm7, xmmword [rbp + 0xe0]
movaps xmm1, xmmword [rbp + 0xd0]
movaps xmm5, xmmword [rbp + 0xc0]
movaps xmm6, xmmword [rbp + 0xb0]
movaps xmm4, xmmword [rbp + 0xa0]
movaps xmm3, xmmword [rbp + 0x90]
movaps xmm2, xmmword [rbp + 0x80]
movaps xmmword [rbp - 0x60], xmm2
movaps xmmword [rbp - 0x50], xmm3
movaps xmmword [rbp - 0x40], xmm4
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x20], xmm5
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp], xmm7
movaps xmmword [rbp + 0x10], xmm8
movsd qword [rbp + 0x20], xmm9
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x58], edi
mov dword [rbp - 0x4c], 0x412aaaab
lea rax, [0x1400866d0]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.14005dc10
jmp 0x140077ac6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov esi, 1
xor r15b, r15b
lea rdi, [0x14007fb60]
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140077b2a
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx r15d, r15b
cmp dword [rbp - 0x58], 0x12
cmove r15d, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140077af0
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140077eb9
test r15b, r15b
jne 0x140077eb9
mov rax, qword [0x1400979a8]
test rax, rax
je 0x140077b5b
mov rcx, qword [rax + 0xa0]
jmp 0x140077b5e
mov rcx, r12
cmp qword [rcx + 0x48], 0
jne 0x140077b6a
call fcn.140063630
call fcn.140064d60
call fcn.140032ba0
call fcn.140022390
mov rbx, qword [0x1400979a8]
mov dword [rbp - 0x78], 3
movss xmm0, dword [rbx + 0x3918]
movss dword [rbp - 0x74], xmm0
lea rcx, [rbx + 0x4190]
lea rdx, [rbp - 0x78]
call fcn.140050fd0
mov dword [rbx + 0x3918], r12d
mov rbx, qword [0x1400979a8]
mov dword [rbp + 0x138], 4
movss xmm0, dword [rbx + 0x391c]
movss dword [rbp + 0x13c], xmm0
lea rcx, [rbx + 0x4190]
lea rdx, [rbp + 0x138]
call fcn.140050fd0
mov dword [rbx + 0x391c], r12d
mov rbx, qword [0x1400979a8]
mov dword [rsp + 0x70], 2
movups xmm0, xmmword [rbx + 0x39f0]
movups xmmword [rsp + 0x74], xmm0
lea rcx, [rbx + 0x4180]
lea rdx, [rsp + 0x70]
call fcn.1400510c0
mov dword [rbx + 0x39f0], 0x3dcccccd
mov dword [rbx + 0x39f4], 0x3dcccccd
mov dword [rbx + 0x39f8], 0x3dcccccd
mov dword [rbx + 0x39fc], 0x3f800000
call fcn.140076720
mov r8, qword [0x1400979a8]
movsxd rax, dword [r8 + 0x4190]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x4198]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea rax, [rax + rax*2]
mov r9d, dword [rdi + rax*4 + 8]
cmp dword [rdi + rax*4], 8
jne 0x140077ca0
mov eax, dword [rdi + rax*4 + 4]
cmp eax, 1
jne 0x140077c83
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r9 + r8 + 0x3908], eax
jmp 0x140077ca0
cmp eax, 2
jne 0x140077ca0
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r9 + r8 + 0x3908], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r9 + r8 + 0x390c], eax
movsxd rcx, dword [r8 + 0x4190]
lea eax, [rcx - 1]
mov dword [r8 + 0x4190], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x4198]
movsxd rax, dword [rdx + rcx*4]
lea r10, [rax + rax*2]
mov r9d, dword [rdi + r10*4 + 8]
cmp dword [rdi + r10*4], 8
jne 0x140077d09
mov eax, dword [rdi + r10*4 + 4]
cmp eax, 1
jne 0x140077cec
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x3908], eax
jmp 0x140077d09
cmp eax, 2
jne 0x140077d09
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x3908], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x390c], eax
dec dword [r8 + 0x4190]
movsxd rax, dword [r8 + 0x4180]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4188]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, 0x39d
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4180]
call fcn.1400357a0
call fcn.140035cc0
movaps xmm0, xmmword [0x140086a70]
movups xmmword [rbp + 0x148], xmm0
mov rcx, qword [0x1400979c8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400979c0]
mov edx, esi
call qword [rax + 0x108]
mov rcx, qword [0x1400979c8]
mov rax, qword [rcx]
lea r8, [rbp + 0x148]
mov rdx, qword [0x1400979c0]
call qword [rax + 0x190]
mov rax, qword [0x1400979a8]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r12
cmp byte [rax], 0
cmovne rcx, rax
call fcn.1400629c0
test dword [r13 + 8], 0x400
je 0x140077ea2
call fcn.140046d20
mov rbx, qword [0x1400979a8]
mov r14d, esi
mov eax, dword [rbx + 0x38d8]
cmp eax, 1
jle 0x140077e41
mov esi, 8
nop word [rax + rax]
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x140077e2a
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x140077e17
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x140077e2a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x38d8]
cmp r14d, eax
jl 0x140077df0
mov esi, 1
mov r14d, esi
cmp eax, 1
jle 0x140077e9f
mov esi, 8
nop
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x140077e8a
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x140077e77
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x140077e8a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x140077e50
mov esi, 1
xor r12d, r12d
mov rcx, qword [0x1400979d0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, esi
call qword [rax + 0x40]
jmp 0x140077ace
mov rdi, qword [0x1400979a8]
test rdi, rdi
je 0x140077ece
mov rbx, qword [rdi + 0xa0]
jmp 0x140077ed1
mov rbx, r12
call fcn.140047300
call fcn.140063a30
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140077eea
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140077ef8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140077f07
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], r12
mov qword [rdi + 0xa0], r12
mov rax, qword [0x1400979a8]
test rax, rax
je 0x140077f27
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400979a8]
test rbx, rbx
je 0x140077f45
mov rdi, qword [rbx + 0x98]
jmp 0x140077f48
mov rdi, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.140047300
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140077f74
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
mov rax, qword [0x1400979a8]
test rax, rax
je 0x140077f94
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400979a8]
mov qword [0x1400979a8], rbx
call fcn.140034120
mov qword [0x1400979a8], r12
test rbx, rbx
je 0x140077fdf
mov rcx, rbx
call fcn.140052000
mov rax, qword [0x1400979a8]
test rax, rax
je 0x140077fd6
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.1400770f0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.140078980
lea r11, [rsp + 0x2a0]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret