Function at 0x18037da20
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 [0x1804cc010]
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 [0x1803e7600]
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 0x18037daf7
lea rdx, [0x1803cc418]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037daf7
test r14, r14
je 0x18037daf7
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 0x18037daf7
cmp qword [rbp - 0x29], rdi
jne 0x18037dafa
movzx edi, bl
and ebx, 0xfffffffe
mov dword [rbp - 0x59], ebx
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x18037db43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18037db3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18037db3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x41], xmm0
xor eax, eax
mov word [rbp - 0x51], ax
test dil, dil
jne 0x18037dd68
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.180375240
test al, al
je 0x18037dce3
mov rdx, qword [rbp - 0x11]
test rdx, rdx
je 0x18037dce3
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037dbd2
lea rdx, [0x1803cc3f8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037dbce
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18037dbce
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 0x18037dc17
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 0x18037dc37
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 0x18037dd10
lea rdx, [0x1803cc418]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037dd10
test r14, r14
je 0x18037dd10
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 0x18037dd10
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x18037dd10
mov r9, r13
mov r8, r12
mov rcx, rsi
call fcn.180375240
movzx ebx, al
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037dd12
lea rdx, [0x1803cc3f8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037dd12
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18037dd12
call rax
mov qword [rbp - 0x29], rdi
jmp 0x18037dd12
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037dd10
lea rdx, [0x1803cc3f8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037dd10
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18037dd10
call rax
mov qword [rbp - 0x29], rdi
xor bl, bl
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x18037dd55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18037dd50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18037dd50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
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.1803868f0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret