Function at 0x140005ef0
Capabilities:
Get file version info
Reference cloudflare dns server

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, rdx
mov r13, rcx
mov qword [rbp + 0x48], rcx
xor r12d, r12d
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140005f34
mov rcx, qword [rdx]
lea rdx, [rbp + 0x68]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov r14d, eax
test eax, eax
jne 0x140005f82
lea rdx, str.Error_getting_version_info_size._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011850
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
mov r8d, 7
lea rdx, str.1.0.0.1
mov rcx, r13
call fcn.140012700
jmp 0x140006048
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov rdx, r14
lea rcx, [rbp + 0x50]
call fcn.140016210
mov rcx, qword [rbp + 0x50]
lea rbx, [r14 + rcx]
mov r8, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x58], rbx
cmp qword [rsi + 0x18], 0xf
jbe 0x140005fba
mov rsi, qword [rsi]
mov r9, qword [rbp + 0x50]
mov r8d, r14d
mov edx, dword [rbp + 0x68]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x140006072
lea rdx, str.Error_getting_version_info._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011850
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
mov r8d, 7
lea rdx, str.1.0.0.1
mov rcx, r13
call fcn.140012700
nop
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x140006048
mov rdx, qword [rbp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006043
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006105
call fcn.14001adc0
mov rax, r13
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14001ada0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, [rbp + 0x6c]
lea r8, [rbp + 0x48]
lea rdx, [0x14001ed58]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x14000610c
lea rdx, str.Error_querying_version_info._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011850
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
mov r8d, 7
lea rdx, str.1.0.0.1
mov rcx, r13
call fcn.140012700
nop
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x140006048
mov rdx, qword [rbp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006043
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006043
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x48]
mov eax, dword [rcx + 8]
mov esi, eax
shr esi, 0x10
movzx edi, ax
mov eax, dword [rcx + 0xc]
mov ebx, eax
shr ebx, 0x10
movzx edx, ax
lea rcx, [rbp + 0x28]
call fcn.1400018e0
mov r15, rax
mov edx, ebx
lea rcx, [rbp + 8]
call fcn.1400018e0
mov r14, rax
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.1400018e0
mov rbx, rax
mov edx, esi
lea rcx, [rbp - 0x38]
call fcn.1400018e0
nop
mov r8d, 1
lea rdx, [0x14001e928]
mov rcx, rax
call fcn.14000bea0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rbp - 0x58]
lea rcx, [rsp + 0x48]
call fcn.140016560
nop
mov r8d, 1
lea rdx, [0x14001e928]
lea rcx, [rsp + 0x48]
call fcn.14000bea0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, r14
lea r8, [rbp - 0x78]
lea rcx, [rsp + 0x28]
call fcn.140016560
nop
mov r8d, 1
lea rdx, [0x14001e928]
lea rcx, [rsp + 0x28]
call fcn.14000bea0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, r15
lea r8, [rsp + 0x68]
mov rcx, r13
call fcn.140016560
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000626e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006268
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006268
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400062ae
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400062a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140006300
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400062fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140006340
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000633b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000633b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140006392
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000638c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000638c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x1400063d0
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400063cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400063cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14000641f
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000641a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000641a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x14000646e
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006469
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006469
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x1400064bd
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400064b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001adc0
movdqa xmm0, xmmword [0x140021170]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x140006048
mov rdx, qword [rbp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006043
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006043
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3