Function at 0x18037f530
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0x98
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp - 1], rax
mov r12, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov r13, qword [rbp + 0x7f]
xor edi, edi
mov dword [rbp - 0x59], edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x41], xmm1
mov word [rbp - 0x51], di
lea r8d, [rdi + 0x1f]
lea rdx, str.SoftwareRegisteredApplications
lea rcx, [rbp - 0x51]
call fcn.180004ea0
nop
mov ebx, 1
mov dword [rbp - 0x59], ebx
mov qword [rbp - 0x29], rdi
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037f607
lea rdx, [0x1803cd3a8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037f607
test r14, r14
je 0x18037f607
mov rcx, qword [rsi]
mov r9d, dword [rcx]
or r9d, 0x20019
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 8
cmovae rdx, qword [rbp - 0x51]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, r14
call rax
test eax, eax
jne 0x18037f607
cmp qword [rbp - 0x29], rdi
jne 0x18037f60a
movzx edi, bl
and ebx, 0xfffffffe
mov dword [rbp - 0x59], ebx
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x18037f653
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18037f64e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18037f64e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x41], xmm0
xor eax, eax
mov word [rbp - 0x51], ax
test dil, dil
jne 0x18037f878
xor edi, edi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rdi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], 7
mov word [rbp - 0x21], di
lea r9, [rbp - 0x21]
mov r8, r15
mov rdx, qword [rbp - 0x29]
mov rcx, rsi
call fcn.180376d50
test al, al
je 0x18037f7f3
mov rdx, qword [rbp - 0x11]
test rdx, rdx
je 0x18037f7f3
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037f6e2
lea rdx, [0x1803cd398]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037f6de
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18037f6de
call rax
mov qword [rbp - 0x29], rdi
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rbp - 9]
mov rax, rcx
sub rax, rdx
cmp rax, 0x11
jb 0x18037f727
lea rdi, [rdx + 0x11]
mov qword [rbp - 0x11], rdi
lea rbx, [rbp - 0x21]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x21]
lea rcx, [rbx + rdx*2]
mov r8d, 0x22
lea rdx, str.FileAssociations
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rbx + rdi*2], ax
xor edi, edi
jmp 0x18037f747
mov qword [rsp + 0x20], 0x11
lea r9, str.FileAssociations
xor r8d, r8d
lea edx, [r8 + 0x11]
lea rcx, [rbp - 0x21]
call fcn.180009e30
mov qword [rbp - 0x29], rdi
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037f820
lea rdx, [0x1803cd3a8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037f820
test r14, r14
je 0x18037f820
mov rdx, qword [rsi]
mov r9d, dword [rdx]
or r9d, 0x20019
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rdx, qword [rbp - 0x21]
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, r14
call rax
test eax, eax
jne 0x18037f820
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x18037f820
mov r9, r13
mov r8, r12
mov rcx, rsi
call fcn.180376d50
movzx ebx, al
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037f822
lea rdx, [0x1803cd398]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037f822
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18037f822
call rax
mov qword [rbp - 0x29], rdi
jmp 0x18037f822
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037f820
lea rdx, [0x1803cd398]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037f820
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18037f820
call rax
mov qword [rbp - 0x29], rdi
xor bl, bl
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x18037f865
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18037f860
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18037f860
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], 7
mov word [rbp - 0x21], di
movzx eax, bl
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.180388400
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret