Function at 0x140007f80
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x40]
xor eax, eax
mov edx, eax
xor r9d, r9d
mov r8d, r9d
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageA]
cmp eax, 0
je 0x14000821e
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x2c], eax
sub eax, 0x12
je 0x140007ff3
jmp 0x140007fc5
mov eax, dword [rsp + 0x2c]
add eax, 0xffffff00
sub eax, 2
jb 0x140008002
jmp 0x140007fdc
mov eax, dword [rsp + 0x2c]
add eax, 0xfffffefc
sub eax, 2
jb 0x140008002
jmp 0x140008203
mov dword [0x14009a190], 0
jmp 0x140008219
mov rax, qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x58]
and rax, 0x20000000
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x58]
and rax, 0x40000000
cmp rax, 0
setne al
and al, 1
movzx eax, al
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x58]
and rax, 0xffffffff80000000
cmp rax, 0
sete al
and al, 1
movzx eax, al
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x30]
jne 0x140008063
jmp 0x140007f89
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x28], eax
sub eax, 0xd
je 0x1400081c5
jmp 0x140008079
mov eax, dword [rsp + 0x28]
sub eax, 0x1b
je 0x1400081a9
jmp 0x14000808b
mov eax, dword [rsp + 0x28]
sub eax, 0x20
je 0x140008197
jmp 0x14000809d
mov eax, dword [rsp + 0x28]
sub eax, 0x41
je 0x14000811f
jmp 0x1400080af
mov eax, dword [rsp + 0x28]
sub eax, 0x44
je 0x14000816f
jmp 0x1400080c1
mov eax, dword [rsp + 0x28]
sub eax, 0x53
je 0x140008147
jmp 0x1400080d3
mov eax, dword [rsp + 0x28]
sub eax, 0x57
je 0x1400080f7
jmp 0x1400080e5
mov eax, dword [rsp + 0x28]
sub eax, 0x73
je 0x1400081d7
jmp 0x1400081fe
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
add rcx, 0x24
add rcx, 0x20
call fcn.140008bc0
lea rcx, str.You_have_pressed_W_w._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400081fe
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
add rcx, 0x24
add rcx, 0x30
call fcn.140008bc0
lea rcx, str.You_have_pressed_A_a._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400081fe
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
add rcx, 0x24
add rcx, 0x28
call fcn.140008bc0
lea rcx, str.You_have_pressed_S_s._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400081fe
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
add rcx, 0x24
add rcx, 0x38
call fcn.140008bc0
lea rcx, str.You_have_pressed_D_d._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400081fe
lea rcx, str.You_have_pressed_spacebar._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400081fe
lea rcx, str.You_have_pressed_ESC_key._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [0x14009a190], 0
jmp 0x1400081fe
lea rcx, str.You_have_pressed_RETURN_key._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400081fe
cmp dword [rsp + 0x38], 0
je 0x1400081f9
mov dword [0x14009a190], 0
lea rcx, str.You_have_pressed_Alt__F4_key._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400081fe
jmp 0x140008203
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140007f89
add rsp, 0x78
ret