Function at 0x140024f10
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14, rcx
mov ecx, 8
call fcn.140034260
lea rcx, [0x140023f60]
xor r15d, r15d
mov r9, rax
lea r8, [0x140030040]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14002540d
call fcn.140031840
test al, al
je 0x140024f87
call fcn.140031c00
xorps xmm0, xmm0
mov qword [rsp + 0x198], rbx
xor r8d, r8d
mov qword [rsp + 0x1a8], rdi
lea rdx, [0x140039b06]
mov dword [rbp], r15d
lea rcx, [rbp + 0x10]
mov dword [rbp + 4], 0xffffffff
movups xmmword [rbp + 0x10], xmm0
mov word [rbp + 8], r15w
mov byte [rbp + 0xa], r15b
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], r15
call fcn.14002be90
lea rcx, [rbp]
call fcn.140024220
test eax, eax
je 0x14002504a
xorps xmm0, xmm0
mov qword [rsp + 0x70], r15
mov r8d, 0x12
mov qword [rsp + 0x78], r15
lea rdx, str.error_parsing_args
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.14002be90
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140025040
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002503b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025388
call fcn.1400345ac
mov ebx, 1
jmp 0x140025356
movsxd rax, dword [rbp]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x1a0], rsi
call fcn.14002b060
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetThreadDpiAwarenessContext]
mov ecx, 0x4c
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4d
mov esi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4e
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4f
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, 0x7f00
mov dword [0x14004ba50], esi
mov dword [0x14004ba5c], eax
xor ecx, ecx
lea rax, [0x140024030]
mov dword [0x14004ba54], edi
mov qword [rbp - 0x78], rax
mov dword [0x14004ba58], ebx
mov dword [rbp - 0x80], r15d
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r14
call qword [sym.imp.USER32.dll_LoadIconW]
xor edx, edx
xor ecx, ecx
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x14003b820]
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x58], rax
lea rax, [0x14003a9d8]
mov qword [rbp - 0x40], rax
movdqa xmmword [rbp - 0x50], xmm0
call qword [sym.imp.USER32.dll_RegisterClassW]
mov rsi, qword [rsp + 0x1a0]
xor r8d, r8d
test ax, ax
jne 0x14002513e
lea r9d, [r8 + 0x10]
xor ecx, ecx
lea rdx, str.Cannot_register_class_
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, eax
jmp 0x140025356
mov eax, dword [0x14004ba5c]
lea rdx, str.Melter
mov qword [rsp + 0x58], r15
mov r9d, 0x80000000
mov qword [rsp + 0x50], r14
xor ecx, ecx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], eax
mov eax, dword [0x14004ba58]
mov dword [rsp + 0x30], eax
mov eax, dword [0x14004ba54]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14004ba50]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdi, rax
test rax, rax
jne 0x1400251b4
lea r9d, [rax + 0x10]
xor r8d, r8d
lea rdx, str.Cannot_create_window_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, eax
jmp 0x140025356
cmp byte [rbp + 9], r15b
jne 0x1400251c2
movzx eax, byte [rbp + 8]
test al, al
je 0x1400251e4
xor r9d, r9d
lea rdx, [0x140023f80]
mov r8, r14
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x14004ba60], rax
movzx eax, byte [rbp + 8]
cmp byte [rbp + 0xa], r15b
jne 0x1400251ee
test al, al
je 0x1400251f6
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowCursor]
lea rax, [rbp]
mov byte [rbp - 0x30], r15b
mov qword [rsp + 0x60], rax
mov ecx, 0x10
lea rax, [rbp - 0x30]
mov qword [rsp + 0x68], rax
call fcn.140034260
movups xmm0, xmmword [rsp + 0x60]
lea rcx, [rbp - 0x18]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140030070]
xor ecx, ecx
mov dword [rsp + 0x20], r15d
xor edx, edx
movups xmmword [rax], xmm0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x1400253fd
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
mov ebx, 1
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rcx, [rbp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14002529e
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [rbp - 0x30], r15b
je 0x1400252ad
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [rbp + 0xa], r15b
jne 0x1400252b9
cmp byte [rbp + 8], r15b
je 0x1400252c3
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [rbp + 0x38], 0x12
jne 0x140025270
cmp dword [rbp - 0x18], r15d
je 0x1400253f4
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x18], eax
je 0x1400253e8
movaps xmm0, xmmword [rbp - 0x20]
lea rcx, [rsp + 0x60]
xor edx, edx
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400253dc
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
cmp dword [rbp - 8], r15d
je 0x1400253f4
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 8], eax
je 0x1400253e8
movaps xmm0, xmmword [rbp - 0x10]
lea rcx, [rsp + 0x60]
xor edx, edx
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1400253dc
xorps xmm0, xmm0
mov ebx, r15d
movdqa xmmword [rbp - 0x10], xmm0
cmp dword [rbp - 0x18], r15d
jne 0x1400253d5
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140025394
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002538f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002538f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400345ac
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], r15b
cmp dword [rbp - 8], r15d
jne 0x1400253d5
mov rdi, qword [rsp + 0x1a8]
mov eax, ebx
mov rbx, qword [rsp + 0x198]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140034120
add rsp, 0x170
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 0x18], r15d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp - 8], r15d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3