Function at 0x140009890
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov rsi, rcx
lea rax, [rsp + 0x30]
xor r14d, r14d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], r14
mov r9d, 0x20019
lea rdx, str.SoftwareClientsMail
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009b62
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.14000f120
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x44], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009b62
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x14003f2c4]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140009b62
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x208
call fcn.14000f120
lea r9, [rsp + 0x50]
mov edx, 0x104
lea r8, str.SoftwareClientsMail_s_shellopencommand
lea rcx, [rbp + 0x370]
call fcn.140005a20
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x370]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009b62
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 0x104
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009b62
lea rdx, [0x14003f2c4]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140009b62
mov qword [rsp + 0x8c8], rbx
lea rdx, [0x14003f6b8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x8d0], rdi
call qword [sym.imp.SHLWAPI.dll_StrCSpnW]
lea edx, [r14 + 0x22]
mov edi, eax
lea rcx, [rsp + 0x50]
call fcn.14000e6f4
lea rdx, [rsp + 0x50]
mov rcx, rax
sub rcx, rdx
sar rcx, 1
cmp edi, ecx
jbe 0x140009a9c
test rax, rax
je 0x140009a9c
lea rcx, [rsp + 0x50]
mov rbx, rax
sub rbx, rcx
mov edx, 0x22
sar rbx, 1
lea rcx, [rax + 2]
inc ebx
call fcn.14000e6f4
test rax, rax
jne 0x140009a60
lea rcx, [rsp + 0x50]
lea rcx, [rcx + rbx*2]
lea rdx, [0x14003f6b8]
call qword [sym.imp.SHLWAPI.dll_StrCSpnW]
lea edi, [rbx + rax]
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
lea rcx, [rbp + 0x580]
mov r8d, 0x208
call fcn.14000f120
mov r9d, edi
lea r8, [rsp + 0x50]
mov edx, 0x104
mov ebx, edi
lea rcx, [rbp + 0x160]
call fcn.140015be4
lea r8, [rsp + 0x52]
or r9, 0xffffffffffffffff
lea r8, [r8 + rbx*2]
mov edx, 0x104
lea rcx, [rbp + 0x580]
call fcn.140015be4
lea rdx, [rbp + 0x160]
mov rcx, rsi
call fcn.1400094d0
lea rdx, [rbp + 0x580]
mov rcx, rsi
call fcn.1400094d0
mov rdx, qword [rsi]
call fcn.140009310
lea r9, [rbp + 0x580]
mov dword [rsp + 0x28], 1
lea r8, [rbp + 0x160]
mov qword [rsp + 0x20], r14
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdi, qword [rsp + 0x8d0]
mov rbx, qword [rsp + 0x8c8]
jmp 0x140009c02
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x208
call fcn.14000f120
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x208
call fcn.14000f120
mov r8d, 0x104
lea rdx, [rbp + 0x160]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x160]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rax, str.QALauncher.exe
mov edx, 0x104
lea r9, [rbp + 0x160]
mov qword [rsp + 0x20], rax
lea r8, [0x14003f1e8]
lea rcx, [rbp + 0x370]
call fcn.140005a20
mov rcx, qword [rsi]
lea r9, str._m_microsoft.windowscommunicationsapps_8wekyb3d8bbwe_Microsoft.WindowsLive.Mail
lea r8, [rbp + 0x370]
mov dword [rsp + 0x28], 5
lea rdx, str.open
mov qword [rsp + 0x20], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.14000ba00
add rsp, 0x8a0
pop r14
pop rsi
pop rbp
ret