Function at 0x18003a890
Capabilities:
Get file size
Log keystrokes via input method manager
Query or enumerate registry value
Read file on windows
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x840]
sub rsp, 0x940
mov rax, qword [0x180059178]
xor rax, rsp
mov qword [rbp + 0x830], rax
lea ebx, [r8 + 0x10]
mov qword [rbp - 0x50], r9
mov dword [rsp + 0x44], ebx
cmp r8d, ebx
movzx ebx, byte [rsp + 0x40]
mov rsi, rdx
mov r13d, r8d
mov qword [rsp + 0x48], rcx
mov rdx, rcx
jae case.0x18003ad76.0
mov r15d, dword [rsp + 0x68]
lea edi, [r8 - 0xdb]
mov r14d, dword [rsp + 0x68]
lea r9, [0x180000000]
mov r12, qword [rbp - 0x58]
xor r8d, r8d
mov eax, dword [rsp + 0x44]
movabs r10, 0x5f0067006e
mov dword [rsp + 0x50], edi
movabs r11, 0x72005f0074
cmp edi, 0x32
ja case.default.0x18003a940
movzx eax, byte [r9 + rdi + 0x3b228]
mov ecx, dword [r9 + rax*4 + 0x3b1e4]
add rcx, r9
jmp rcx
movsx eax, byte [rsi]
lea rdi, [rdx + 0x18]
mov qword [rsp + 0x30], r8
lea r9, [rsp + 0x60]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x78]
mov eax, 0x64
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x60], eax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x78], 1
mov edx, 0xee
mov qword [rsp + 0x20], rax
call fcn.18003b960
mov rcx, qword [rbp - 0x50]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov edx, 0xee
mov dword [rsp + 0x58], 1
movsx eax, byte [rcx]
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 0x60
call fcn.18003b960
mov edi, dword [rsp + 0x50]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
lea r9, [0x180000000]
movabs r10, 0x5f0067006e
movabs r11, 0x72005f0074
mov eax, dword [rsp + 0x44]
inc edi
inc r13d
mov dword [rsp + 0x50], edi
cmp r13d, eax
jb 0x18003a923
jmp case.0x18003ad76.0
mov eax, dword [0x180051778]
lea rcx, [rbp + 0x51e]
movups xmm0, xmmword [str.importFunct:_filename_is__s]
xor edx, edx
mov dword [rbp + 0x518], eax
movsd xmm1, qword [0x180051770]
mov r8d, SHSetFolderPathA
movzx eax, word [0x18005177c]
movaps xmmword [rbp + 0x500], xmm0
mov word [rbp + 0x51c], ax
movsd qword [rbp + 0x510], xmm1
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x610]
mov edx, 2
lea rax, [rbp + 0x500]
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18003aa80
mov eax, dword [rax]
mov dword [rcx], eax
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x54], eax
call fcn.18003d920
jmp 0x18003a9d7
xor ecx, ecx
lea r8d, [rcx + 0x73]
call fcn.180038ae0
jmp 0x18003a9d7
mov qword [rbp - 0x60], 0xffffffff80000001
jmp case.0x18003a940.16
cmp qword [rdx + 8], 0
jne case.0x18003a940.16
movzx eax, bl
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.1800461b0
mov rbx, qword [rsp + 0x990]
add rsp, 0x940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp dword [rsi], 4
jne case.0x18003a940.16
cmp qword [rdx + 8], 1
jne case.0x18003a940.16
mov r9, qword [rdx]
lea rcx, [rbp - 0x58]
mov edx, PathYetAnotherMakeUniqueName
mov rax, qword [r9 + 8]
mov qword [rbp - 0x58], r8
lea r8, [rsp + 0x78]
mov r9, qword [r9]
mov qword [rsp + 0x78], rax
call fcn.180039190
test al, al
jne case.0x18003ad76.0
jmp 0x18003a9d7
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x3d0
call sub.VCRUNTIME140.dll_memset
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x18003abad
mov rdx, qword [rsi]
mov r8d, dword [rsp + 0x54]
lea r9, [rsp + 0x6c]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor r8d, r8d
mov dword [rsp + 0x70], r8d
jmp 0x18003a9da
mov eax, 0x62
lea rdx, [0x1800508b0]
lea rcx, [rbp + 0x400]
mov word [rbp + 0x3ff], ax
lea r8d, [rax - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov eax, 0x76
lea rcx, [rbp + 0x3f0]
mov word [rbp + 0x401], ax
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18003ac11
movzx eax, word [0x18004ea88]
mov word [rcx], ax
mov rax, qword [rsp + 0x48]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x18003ac37
mov rcx, qword [rax]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp - 0x80], rax
jmp 0x18003a9d7
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x3f0]
mov qword [rsp + 0x20], 0
lea rdx, [rbp + 0x610]
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x40], 0x3d0
jmp 0x18003a9d7
mov eax, 0x68
lea rdx, [0x180051780]
lea rcx, [rbp + 0x3f0]
mov word [rbp + 0x3f9], ax
lea r8d, [rax - 0x66]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
movzx eax, word [0x180051784]
mov word [rbp + 0x3fc], ax
mov eax, 0x41
mov word [rbp + 0x3fe], ax
jmp 0x18003a9d7
mov dword [rsp + 0x6c], r8d
jmp case.0x18003a940.16
mov eax, dword [str.V498_]
lea rdx, [0x180051790]
mov dword [rbp + 0x3f0], eax
lea rcx, [rbp + 0x3f0]
movzx eax, word [0x18005178c]
mov r8d, 3
mov word [rbp + 0x3f4], ax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov eax, 0x67
mov word [rbp + 0x3f8], ax
jmp 0x18003a9d7
mov eax, dword [rsp + 0x54]
cmp eax, dword [rsp + 0x6c]
je 0x18003b07a
mov edi, 9
nop dword [rax]
cmp edi, 9
ja case.default.0x18003ad76
mov eax, edi
mov ecx, dword [r9 + rax*4 + 0x3b25c]
add rcx, r9
jmp rcx
mov eax, dword [0x180051794]
mov qword [rbp + 0x3e0], r11
mov dword [rbp + 0x3e6], 0x74
mov qword [rbp + 0x3d6], r10
mov dword [rbp + 0x3e8], 0x3f
mov dword [rbp + 0x3dc], eax
jmp case.default.0x18003ad76
mov dword [rbp + 0x3ea], 0x64
mov word [rbp + 0x390], r8w
jmp case.default.0x18003ad76
lea rdx, [rbp + 0x390]
lea rcx, [rbp + 0x3b8]
call sub.IMM32.dll_ImmInstallIMEW
lea rcx, [rbp + 0x720]
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesA]
xor bl, bl
lea r9, [0x180000000]
xor r8d, r8d
movabs r10, 0x5f0067006e
movabs r11, 0x72005f0074
jmp case.default.0x18003ad76
movsd xmm0, qword [str.acto]
movzx eax, word [0x1800517a8]
mov dword [rbp + 0x39e], 0x74
mov dword [rbp + 0x3a0], PathYetAnotherMakeUniqueName
movsd qword [rbp + 0x3a2], xmm0
mov word [rbp + 0x3aa], ax
jmp case.default.0x18003ad76
mov qword [rsi + 0x10], r8
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18003ae4f
mov rax, qword [rsi]
mov byte [rax], 0
lea rcx, [rbp + 0x512]
movups xmm0, xmmword [str.datastoreForma:_t]
movzx eax, word [0x1800517c0]
xor edx, edx
mov r8d, SHTestTokenMembership
mov word [rbp + 0x510], ax
movaps xmmword [rbp + 0x500], xmm0
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x720]
mov edx, 2
lea rax, [rbp + 0x500]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x18003aea0
mov eax, dword [rax]
lea r9, [0x180000000]
xor r8d, r8d
movabs r10, 0x5f0067006e
movabs r11, 0x72005f0074
jmp 0x18003b061
lea rax, [rbp + 0x390]
mov dword [rbp + 0x3aa], 0x72
sub rax, 2
nop dword [rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x18003af30
mov ecx, dword [0x1800517c4]
mov dword [rax], ecx
movzx ecx, word [0x1800517c8]
mov word [rax + 4], cx
jmp case.default.0x18003ad76
mov r8d, 2
lea rdx, [0x1800517cc]
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
movsd xmm0, qword [str.Objec]
lea r9, [0x180000000]
mov eax, dword [0x1800517e0]
xor r8d, r8d
movsd qword [rbp + 0x394], xmm0
movabs r10, 0x5f0067006e
mov dword [rbp + 0x39c], eax
movabs r11, 0x72005f0074
jmp case.default.0x18003ad76
mov r8d, 0xa
mov dword [rbp + 0x3b8], 0x5f
lea rdx, [rbp + 0x3bc]
mov dword [rbp + 0x3ba], 0x5a
lea ecx, [r8 - 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
mov eax, dword [0x1800517f0]
lea r9, [0x180000000]
movsd xmm0, qword [str.1conve]
xor r8d, r8d
mov dword [rbp + 0x3c6], eax
movabs r10, 0x5f0067006e
movzx eax, word [0x1800517f4]
movabs r11, 0x72005f0074
mov word [rbp + 0x3ca], ax
movsd qword [rbp + 0x3be], xmm0
jmp case.default.0x18003ad76
movsd xmm0, qword [str.rt_ul]
lea rcx, [rbp + 0x3b8]
mov eax, dword [0x180051800]
sub rcx, 2
movsd qword [rbp + 0x3ca], xmm0
mov dword [rbp + 0x3d2], eax
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18003b050
mov eax, dword [0x18004e6b4]
mov dword [rcx], eax
dec edi
lea eax, [rdi + 0xf0]
cmp eax, 0xef
ja 0x18003ad60
mov edi, dword [rsp + 0x50]
mov ecx, dword [rbp - 0x74]
lea rdx, [rbp - 0x40]
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
movzx eax, byte [rsp + 0x40]
xor r8d, r8d
cmp dword [rbp - 0x78], r8d
mov ecx, r8d
cmove ecx, eax
mov byte [rsp + 0x40], cl
jmp 0x18003a9da
mov r8, qword [rdx + 0xb8]
test r8, r8
je case.0x18003a940.16
xor r9d, r9d
mov ecx, 0x93
call fcn.180027e70
jmp 0x18003a9d7
cmp qword [rbp - 0x80], 0xffffffffffffffff
mov byte [rsp + 0x40], 1
mov dword [rbp - 0x74], 1
jne case.0x18003a940.16
mov edi, 0x9a
mov eax, edi
sub eax, 0x9a
je 0x18003b18b
sub eax, 1
je 0x18003b14d
sub eax, 1
je 0x18003b119
cmp eax, 1
jne 0x18003b194
mov r9d, dword [rbp - 0x6c]
xor r8d, r8d
mov edx, dword [rbp - 0x68]
mov rcx, r12
call sub.IMM32.dll_ImmGetCompositionStringW
xor al, al
jmp 0x18003ab22
lea rax, [rbp - 0x70]
mov dword [rbp - 0x6c], r8d
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x390]
lea rax, [rbp + 0x720]
xor r9d, r9d
mov edx, r15d
mov qword [rsp + 0x20], rax
mov ecx, r14d
call qword [sym.imp.SHLWAPI.dll_AssocQueryStringA]
xor r8d, r8d
jmp 0x18003b194
mov eax, dword [0x180051818]
mov r15d, ILFindLastID
movups xmm0, xmmword [str.scalar_or_vector_type]
mov dword [rbp + 0x3a0], eax
movzx eax, word [0x18005181c]
movups xmmword [rbp + 0x390], xmm0
mov word [rbp + 0x3a4], ax
mov dword [rbp - 0x68], 0x80
mov dword [rbp - 0x70], 0x104
jmp 0x18003b194
mov r14d, reloc.SHELL32.dll_ILFindLastID
mov r12, r8
inc edi
cmp edi, 0x9e
jb 0x18003b0e0
mov edi, dword [rsp + 0x50]
jmp 0x18003a9da
cmp byte [rsp + 0x40], 0
je 0x18003b1dc
mov eax, dword [rsp + 0x70]
lea rdx, [rbp + 0x610]
mov r9d, dword [rsp + 0x68]
mov rcx, qword [rbp - 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
lea r8, [rbp + 0x3f0]
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov al, 1
jmp 0x18003ab22