Function at 0x18037cd40
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 [0x1804ca010]
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 [0x1803e6740]
movdqu xmmword [rbp - 0x41], xmm1
mov word [rbp - 0x51], di
lea r8d, [rdi + 0x1f]
lea rdx, str.SoftwareRegisteredApplications
lea rcx, [rbp - 0x51]
call fcn.180004e70
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 0x18037ce17
lea rdx, [0x1803cb248]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037ce17
test r14, r14
je 0x18037ce17
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 0x18037ce17
cmp qword [rbp - 0x29], rdi
jne 0x18037ce1a
movzx edi, bl
and ebx, 0xfffffffe
mov dword [rbp - 0x59], ebx
mov rdx, qword [rbp - 0x39]
cmp rdx, 8
jb 0x18037ce63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18037ce5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18037ce5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6740]
movdqu xmmword [rbp - 0x41], xmm0
xor eax, eax
mov word [rbp - 0x51], ax
test dil, dil
jne 0x18037d088
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.180374560
test al, al
je 0x18037d003
mov rdx, qword [rbp - 0x11]
test rdx, rdx
je 0x18037d003
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037cef2
lea rdx, [0x1803cb400]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037ceee
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18037ceee
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 0x18037cf37
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 0x18037cf57
mov qword [rsp + 0x20], 0x11
lea r9, str.FileAssociations
xor r8d, r8d
lea edx, [r8 + 0x11]
lea rcx, [rbp - 0x21]
call fcn.180009e00
mov qword [rbp - 0x29], rdi
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037d030
lea rdx, [0x1803cb248]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037d030
test r14, r14
je 0x18037d030
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 0x18037d030
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x18037d030
mov r9, r13
mov r8, r12
mov rcx, rsi
call fcn.180374560
movzx ebx, al
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037d032
lea rdx, [0x1803cb400]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037d032
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18037d032
call rax
mov qword [rbp - 0x29], rdi
jmp 0x18037d032
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18037d030
lea rdx, [0x1803cb400]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18037d030
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x18037d030
call rax
mov qword [rbp - 0x29], rdi
xor bl, bl
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x18037d075
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18037d070
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18037d070
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
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.180385c10
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret