Function at 0x140068074
Capabilities:
Contain obfuscated stackstrings
Get keyboard layout
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8a0
mov rax, qword [0x140104138]
xor rax, rsp
mov qword [rsp + 0x890], rax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
xor edx, edx
movzx ecx, ax
call fcn.140068fb4
xor edi, edi
lea rcx, [0x140000000]
lea r14d, [rdi + 0x13]
cmp eax, r14d
jae 0x1400680d3
cdqe
movzx ebp, word [rcx + rax*2 + 0x73f8]
jmp 0x1400680d5
mov ebp, edi
lea rcx, [0x14010ffb0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8d, 0x18
mov r9b, 0x89
lea ebx, [r8 - 0xc]
mov dl, 1
mov byte [rsp + 0x20], 0x11
mov ecx, ebx
call fcn.1400689f8
or r12d, 0xffffffff
lea eax, [rbx + 0xb]
cmp ebp, 0x3a4
jne 0x140068125
cmp dword [0x140110948], edi
jne 0x140068119
mov eax, r12d
jmp 0x140068125
lea rcx, [0x14000cac0]
call fcn.14006c690
mov r9b, 0x8a
movzx r8d, ax
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], 0x11
call fcn.1400689f8
cmp ebp, 0x3b5
jne 0x14006815f
cmp dword [0x140110948], edi
jne 0x140068150
mov bx, r12w
jmp 0x14006815f
lea rcx, [0x14000cad4]
call fcn.14006c690
mov bx, ax
mov r13d, 0xe
mov r9b, 0x89
movzx r8d, bx
mov dl, 1
mov ecx, r13d
mov byte [rsp + 0x20], 0x31
call fcn.1400689f8
mov r9b, 0x8a
movzx r8d, bx
xor edx, edx
mov ecx, r13d
mov byte [rsp + 0x20], 0x31
call fcn.1400689f8
lea esi, [r13 + 0xe]
cmp ebp, 0x3b6
jne 0x1400681b9
cmp dword [0x140110948], edi
jne 0x1400681aa
mov esi, r12d
jmp 0x1400681b9
lea rcx, [0x14000cae0]
call fcn.14006c690
mov si, ax
mov ebx, 0xf
mov r9b, 0x89
movzx r8d, si
mov dl, 1
mov ecx, ebx
mov byte [rsp + 0x20], 0x36
call fcn.1400689f8
mov r9b, 0x8a
movzx r8d, si
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], 0x36
call fcn.1400689f8
mov ebx, 0x1f
cmp ebp, 0x3a8
jne 0x140068211
cmp dword [0x140110948], edi
jne 0x140068202
mov ebx, r12d
jmp 0x140068211
lea rcx, [0x14000caec]
call fcn.14006c690
mov bx, ax
mov r12d, 0xd
mov r9b, 0x89
movzx r8d, bx
mov dl, 1
mov ecx, r12d
mov byte [rsp + 0x20], 0x36
call fcn.1400689f8
mov r9b, 0x8a
movzx r8d, bx
xor edx, edx
mov ecx, r12d
mov byte [rsp + 0x20], 0x36
call fcn.1400689f8
lea r14d, [r12 + 0x17]
lea r15d, [r12 + 0x13]
lea r12d, [r14 - 0x1a]
mov ebx, edi
mov r8d, r14d
mov r9b, 8
mov dl, 1
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
xor r8d, r8d
mov r9b, r12b
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
inc ebx
cmp ebx, 8
jle 0x140068253
mov ebx, 0x28
mov r9b, 8
mov dl, 1
mov ecx, r12d
mov r8d, ebx
mov byte [rsp + 0x20], dil
call fcn.1400689f8
mov r8d, ebx
mov r9b, r12b
xor edx, edx
mov ecx, r12d
mov byte [rsp + 0x20], dil
call fcn.1400689f8
cmp dword [0x14011058c], 2
lea r14d, [rbx - 0x15]
jne 0x1400682ca
cmp dword [0x140110584], 5
lea eax, [rbx - 0x27]
jae 0x1400682cc
mov eax, edi
neg al
mov edi, 0xb
mov r9b, 8
sbb r8w, r8w
mov dl, 1
mov ecx, edi
and r8w, 0xffef
mov byte [rsp + 0x20], r15b
add r8w, 0x24
call fcn.1400689f8
lea r8d, [rdi - 6]
mov r9b, r13b
xor edx, edx
mov ecx, edi
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
lea r12d, [rdi + 0x16]
lea ebx, [rdi + 0x18]
mov r8d, r12d
mov ecx, ebx
mov r9b, 0x88
mov dl, 1
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, r12d
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, r12d
mov r9b, 0x88
mov dl, 1
mov ecx, r14d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, r12d
mov r9b, 0x8a
xor edx, edx
mov ecx, r14d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
lea ebx, [rdi + 0x13]
lea r13d, [rdi + 0xe]
mov r8d, ebx
mov ecx, r13d
mov r9b, 0x88
mov dl, 1
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, ebx
mov r9b, 0x8a
xor edx, edx
mov ecx, r13d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
lea r14d, [rdi + 0x1b]
lea r12d, [rdi + 0x12]
mov r8d, r14d
mov ecx, r12d
mov r9b, 0x88
mov dl, 1
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, r14d
mov r9b, 0x8a
xor edx, edx
mov ecx, r12d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
lea r14d, [rdi + 0x11]
mov r8d, edi
mov r9b, 0x88
mov dl, 1
mov ecx, r14d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, edi
mov byte [rsp + 0x20], r15b
mov r9b, 0x8a
xor edx, edx
mov ecx, r14d
call fcn.1400689f8
lea r14d, [rdi + 6]
lea edi, [rbx - 8]
mov ecx, edi
mov r8d, r14d
mov r9b, 0x88
mov dl, 1
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, r14d
mov r9b, 0x8a
xor edx, edx
mov ecx, edi
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov byte [rsp + 0x20], r15b
lea r15d, [rbx - 3]
lea edi, [rbx - 0xe]
mov ecx, r15d
mov r9b, 0x88
mov r8d, edi
mov dl, 1
call fcn.1400689f8
mov r8d, edi
mov r9b, 0x8a
xor edx, edx
mov ecx, r15d
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea edi, [rbx - 0xf]
mov r9b, 0x88
mov dl, 1
mov ecx, ebx
mov r8d, edi
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
mov r8d, edi
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea r14d, [rbx + 9]
lea ebx, [rdi + 8]
mov r8d, r14d
mov r9b, 0x88
mov dl, 1
mov ecx, ebx
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
mov r8d, r14d
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea ebx, [rdi + 9]
mov r8d, r12d
mov r9b, 0x88
mov dl, 1
mov ecx, ebx
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
mov r8d, r12d
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
mov r11d, 0xffff
lea ebx, [rdi - 6]
lea r12d, [r13 - 5]
mov r9b, 0x88
mov dl, 1
mov r8d, ebx
mov ecx, r12d
mov word [0x14011000c], r11w
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
mov r8d, ebx
mov r9b, 0x8a
xor edx, edx
mov ecx, r12d
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea ebx, [rdi + 6]
mov ecx, ebx
mov r8d, r13d
mov r9b, 0x88
mov dl, 1
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
mov r8d, r13d
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea ebx, [rdi - 1]
mov r9b, 0x88
lea edi, [rbx + 0xc]
mov dl, 1
mov r8d, ebx
mov ecx, edi
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea r13d, [r15 + 5]
mov r8d, ebx
mov r9b, 0x8a
xor edx, edx
mov ecx, edi
mov byte [rsp + 0x20], r13b
call fcn.1400689f8
lea ebx, [rdi - 0xd]
lea ecx, [rdi + 5]
mov r8d, ebx
mov r9b, 0x88
mov dl, 1
mov byte [rsp + 0x20], r13b
call fcn.1400689f8
lea ecx, [rdi + 5]
mov r8d, ebx
mov r9b, 0x8a
xor edx, edx
mov byte [rsp + 0x20], r13b
call fcn.1400689f8
lea ebx, [rdi - 0x12]
mov r9b, 0x87
mov dl, 1
mov ecx, r13d
mov r8d, ebx
mov byte [rsp + 0x20], r13b
call fcn.1400689f8
mov r8d, ebx
mov r9b, 0x8a
xor edx, edx
mov ecx, r13d
mov byte [rsp + 0x20], r13b
call fcn.1400689f8
mov byte [rsp + 0x20], r13b
lea r13d, [r15 + 6]
lea ebx, [rdi - 8]
mov r9b, 0x8b
mov ecx, r13d
mov r8d, ebx
mov dl, 1
call fcn.1400689f8
mov r8d, ebx
mov r9b, 0x8a
xor edx, edx
mov ecx, r13d
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea r8d, [r15 - 0x1a]
lea ebx, [rdi + 8]
mov dl, r8b
mov ecx, ebx
mov r9b, 0x88
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea r8d, [r15 - 0x1a]
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea ebx, [rdi + 0xb]
mov ecx, ebx
mov r8d, edi
mov r9b, 0x88
mov dl, 1
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
mov r8d, edi
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
lea r13d, [r15 + 0xb]
mov r8d, r15d
mov r9b, 0x88
mov dl, 1
mov ecx, r13d
mov byte [rsp + 0x20], 0x20
call fcn.1400689f8
mov r8d, r15d
lea r15d, [r8 + 5]
mov r9b, 0x8a
xor edx, edx
mov ecx, r13d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
lea r13d, [r14 - 0x1d]
mov r9b, 0x88
mov dl, 1
mov ecx, r14d
mov r8d, r13d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, r13d
mov r9b, 0x8a
xor edx, edx
mov ecx, r14d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, edi
mov r9b, 0x88
mov dl, 1
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, edi
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
lea edi, [rbx - 0x1e]
lea ebx, [rdi + 0x23]
mov r8d, edi
mov r9b, 0x8b
mov dl, 1
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, edi
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
lea edi, [rbx - 0x14]
mov r9b, 0x8b
lea ebx, [rdi + 0x15]
mov dl, 1
mov r8d, edi
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, edi
mov byte [rsp + 0x20], r15b
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
call fcn.1400689f8
lea ebx, [rdi + 0x17]
mov r8d, r12d
mov r9b, 0x8b
mov dl, 1
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, r12d
mov r9b, 0x8a
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
lea edi, [rbx - 0x18]
lea ebx, [rdi + 0x19]
mov r8d, edi
mov r9b, 0x8c
mov dl, 1
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r8d, edi
mov r9b, 0x8c
xor edx, edx
mov ecx, ebx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
xor r12d, r12d
mov di, r15w
cmp ebp, 0x3a8
jne 0x1400687c3
cmp dword [0x140110948], r12d
jne 0x1400687b4
or r13d, 0xffffffff
mov edi, r13d
jmp 0x1400687c7
lea rcx, [0x14000caf8]
call fcn.14006c690
mov di, ax
or r13d, 0xffffffff
mov r14d, 0x33
mov r9b, 0x89
movzx r8d, di
mov dl, 1
mov ecx, r14d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r9b, 0x8a
movzx r8d, di
xor edx, edx
mov ecx, r14d
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
lea ebx, [r14 - 0x2f]
mov r9b, 0xa
lea ecx, [rbx + 0x30]
xor edx, edx
mov r8d, ebx
mov byte [rsp + 0x20], 0x10
call fcn.1400689f8
lea ecx, [rbx + 0x31]
mov r8d, ebx
mov r9b, 0xa
xor edx, edx
mov byte [rsp + 0x20], 0x10
call fcn.1400689f8
cmp dword [0x14011058c], 2
mov ebx, r12d
jne 0x1400688f0
lea rax, [rsp + 0x38]
lea r9d, [r14 - 0x32]
lea rdx, [0x14000cb10]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x1400688f0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x850]
lea rdx, [0x14000cba8]
xor r8d, r8d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x40], 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x1400688db
cmp dword [rsp + 0x30], 1
jne 0x1400688db
cmp dword [0x140110948], r12d
jne 0x1400688c3
mov di, r13w
jmp 0x1400688d3
lea rcx, [rsp + 0x850]
call fcn.14006c690
mov di, ax
mov si, di
mov ebx, 1
mov rcx, qword [rsp + 0x38]
cmp rcx, r12
je 0x1400688eb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, r12d
jne 0x140068922
cmp dword [0x140110948], r12d
jne 0x1400688ff
mov di, r13w
jmp 0x14006891f
lea rax, [0x14000cbf0]
cmp ebp, 0x3a8
lea rcx, [0x14000cbb8]
cmove rcx, rax
call fcn.14006c690
mov di, ax
mov si, di
mov ebp, 0x2f
movzx ebx, si
cmp ebp, 0x30
mov r9b, 0x89
cmove bx, di
mov dl, 1
mov ecx, ebp
movzx r8d, bx
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
mov r9b, 0x8a
movzx r8d, bx
xor edx, edx
mov ecx, ebp
mov byte [rsp + 0x20], r15b
call fcn.1400689f8
inc ebp
cmp ebp, r14d
jl 0x140068927
lea rdx, [rsp + 0x50]
mov ecx, 0x100
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov r9, r12
movsxd r10, eax
cmp r10, r12
jle 0x1400689b3
lea r11, [0x140000000]
movzx ecx, word [rsp + r9*8 + 0x50]
xor edx, edx
call fcn.140068fb4
cmp eax, r12d
jl 0x1400689ab
cmp eax, 0x2f
jge 0x1400689ab
movsxd rdx, eax
mov rax, qword [rsp + r9*8 + 0x50]
mov qword [r11 + rdx*8 + 0x110400], rax
inc r9
cmp r9, r10
jl 0x140068984
lea rcx, [0x14010ffb0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1400ec080
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret