Function at 0x1400040e8
Capabilities:
Create thread
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov rax, qword [0x140019158]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov eax, dword [0x1400155d8]
xor r12d, r12d
movups xmm0, xmmword [str.GetLanListFromRegistry]
mov dword [rsp + 0x78], eax
mov edi, r12d
movzx eax, word [0x1400155dc]
mov word [rsp + 0x7c], ax
mov al, byte [0x1400155de]
mov byte [rsp + 0x7e], al
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x40], r12d
mov rcx, qword [0x140019138]
lea r13, [0x140019138]
cmp rcx, r13
je 0x14000418e
test byte [rcx + 0x1c], 1
je 0x14000418e
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x49]
lea r8, [0x1400155e0]
call fcn.140001008
lea rcx, [0x14001af80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
call fcn.140003f40
lea rax, [rsp + 0x50]
mov r9d, 0x20019
lea rbx, str.SYSTEMCurrentControlSetServicesNfsClntNFS_LANS
mov qword [rsp + 0x20], rax
mov rdx, rbx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140004228
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004698
test byte [rcx + 0x1c], 2
je 0x140004698
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x28], eax
lea r8, [0x1400155e0]
mov edx, 0x4a
mov qword [rsp + 0x20], rbx
call fcn.140002a4c
jmp 0x140004698
mov r15d, r12d
mov dword [rsp + 0x40], 0x105
xor edx, edx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r12
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400045b6
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x1400042a3
test byte [rcx + 0x1c], 0x10
je 0x1400042a3
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x4b]
lea rax, [rbp - 0x80]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r8, [0x1400155e0]
call fcn.14000298c
cmp word [rbp - 0x80], r12w
je 0x140004473
mov rbx, qword [0x140019870]
jmp 0x1400042d7
mov rcx, qword [rbx + 8]
lea rdx, [rbp - 0x80]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140004473
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x1400042b7
lea rcx, [rbp - 0x80]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400042e4
inc eax
mov ecx, 0x40
mov r14d, eax
lea rdx, [rax*2 + 0x68]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140004575
lea rcx, [rax + 0x68]
mov edx, r14d
lea r8, [rbp - 0x80]
mov qword [rax + 8], rcx
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
lea rax, [rsp + 0x48]
mov qword [rbx + 0x28], r12
mov r9d, 0x20019
mov dword [rbx], 1
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140004523
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r14, [rbx + 0x10]
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov dword [rsp + 0x40], 4
lea rdx, str.Configure_Mode
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400044eb
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x1400043e6
test byte [rcx + 0x1c], 8
je 0x1400043e6
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x4f]
mov eax, dword [r14]
lea r9, [rsp + 0x68]
lea r8, [0x1400155e0]
mov dword [rsp + 0x20], eax
call fcn.14000143c
mov rcx, qword [0x140019138]
mov eax, dword [r14]
test eax, eax
jne 0x140004426
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.140002b24
test eax, eax
je 0x140004440
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004638
test byte [rcx + 0x1c], 2
je 0x140004638
mov edx, 0x50
mov dword [rsp + 0x20], eax
jmp 0x14000459c
cmp eax, 1
jne 0x1400044ce
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.140003068
test eax, eax
jne 0x1400044aa
lea rcx, [rbx + 0x40]
call fcn.14000f92c
test eax, eax
jne 0x140004486
test rdi, rdi
je 0x14000445a
mov qword [rdi + 0x38], rbx
mov qword [rbx + 0x30], rdi
mov rcx, qword [rsp + 0x48]
mov rdi, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x48], r12
inc r15d
mov dword [rsp + 0x40], 0x104
mov edx, r15d
jmp 0x140004235
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004638
test byte [rcx + 0x1c], 2
je 0x140004638
mov edx, 0x53
jmp 0x14000441d
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004638
test byte [rcx + 0x1c], 2
je 0x140004638
mov edx, 0x51
jmp 0x14000441d
cmp rcx, r13
je 0x140004638
test byte [rcx + 0x1c], 2
je 0x140004638
mov edx, 0x52
jmp 0x14000441d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004638
test byte [rcx + 0x1c], 2
je 0x140004638
mov dword [rsp + 0x28], eax
mov edx, 0x4e
lea rax, str.Configure_Mode
jmp 0x140004556
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004638
test byte [rcx + 0x1c], 2
je 0x140004638
mov dword [rsp + 0x28], eax
mov edx, 0x4d
mov rax, qword [rbx + 8]
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x68]
lea r8, [0x1400155e0]
mov qword [rsp + 0x20], rax
call fcn.140002a4c
jmp 0x140004638
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004638
test byte [rcx + 0x1c], 2
je 0x140004638
mov edx, 0x4c
mov dword [rsp + 0x20], 8
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x68]
lea r8, [0x1400155e0]
call fcn.14000143c
jmp 0x140004638
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x50], r12
test rdi, rdi
je 0x140004856
mov rbx, rdi
mov eax, r12d
mov rbx, qword [rbx + 0x30]
inc eax
test rbx, rbx
jne 0x1400045db
mov edx, eax
lea ecx, [rbx + 0x40]
shl rdx, 3
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
mov qword [0x140019868], rax
mov r15, rax
test rax, rax
jne 0x1400046cf
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004638
test byte [rcx + 0x1c], 2
je 0x140004638
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x54]
lea r9, [rsp + 0x68]
lea r8, [0x1400155e0]
call fcn.140001078
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000464e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x140004662
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
test rdi, rdi
je 0x140004682
mov rbx, qword [rdi + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov rdi, rbx
test rbx, rbx
jne 0x140004667
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140004698
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea rcx, [0x14001af80]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004895
test byte [rcx + 0x1c], 2
je 0x140004895
mov edx, 0x5b
jmp 0x140004880
mov rcx, qword [0x140019138]
mov rbx, rdi
mov r14d, r12d
cmp dword [rbx + 0x10], 1
jne 0x14000471d
cmp rcx, r13
je 0x1400047a9
test byte [rcx + 0x1c], 8
je 0x1400047a9
mov edx, 0x55
mov rax, qword [rbx + 8]
lea r9, [rsp + 0x68]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400155e0]
mov qword [rsp + 0x20], rax
call fcn.14000298c
jmp 0x1400047a2
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x14], 2
jne 0x140004739
cmp rcx, r13
je 0x1400047a9
test byte [rcx + 0x1c], 8
je 0x1400047a9
mov edx, 0x56
jmp 0x1400046fa
mov rax, qword [rax + 0x20]
lea r8, [fcn.140002310]
mov qword [r15], rax
mov r9, rbx
lea rax, [rsp + 0x58]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.msvcrt.dll__beginthreadex]
nop dword [rax + rax]
cmp rax, 0xffffffffffffffff
jne 0x14000479b
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x1400047a9
test byte [rcx + 0x1c], 2
je 0x1400047a9
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x58]
lea r9, [rsp + 0x68]
lea r8, [0x1400155e0]
call fcn.140001078
jmp 0x1400047a2
add r15, 8
inc r14d
mov rcx, qword [0x140019138]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x1400046dc
cmp rcx, r13
je 0x1400047de
test byte [rcx + 0x1c], 8
je 0x1400047de
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x58]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x20], r14d
lea r8, [0x1400155e0]
call fcn.14000143c
test r14d, r14d
je 0x14000482f
mov rdx, qword [0x140019868]
or r9d, 0xffffffff
mov r8d, 1
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
nop dword [rax + rax]
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x14000482f
test byte [rcx + 0x1c], 8
je 0x14000482f
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x68]
mov edx, 0x59
lea r8, [0x1400155e0]
call fcn.140001078
mov rax, qword [rdi + 0x30]
mov rcx, rdi
jmp 0x14000483f
mov rcx, rax
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x140004838
mov rax, qword [0x140019870]
mov qword [rcx + 0x30], rax
mov qword [0x140019870], rdi
lea rcx, [0x14001af80]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x140019138]
cmp rcx, r13
je 0x140004895
test byte [rcx + 0x1c], 1
je 0x140004895
mov edx, 0x5a
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x68]
lea r8, [0x1400155e0]
call fcn.140001078
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400131f0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret