Function at 0x14003ed90
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140085010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r12d, r12d
mov dword [rsp + 0x58], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r12b
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp - 0x60]
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
dec eax
cmp eax, 0x102
ja 0x14003f1d4
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test eax, eax
je 0x14003f1d4
mov ecx, ebx
lea rdx, [0x14006cc90]
call fcn.14002fe10
mov r15, rax
test rax, rax
je 0x14003f1d4
mov r9, rax
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x14003f1cc
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x30]
lea rdx, [0x14006d208]
mov rcx, r15
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x14003f1cc
cmp dword [rsp + 0x58], r12d
je 0x14003f1cc
mov rbx, qword [rsp + 0x30]
cmp dword [rbx], 0xfeef04bd
jne 0x14003f1cc
xor eax, eax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x68], ax
movzx ecx, word [rbx + 0xa]
mov r9d, 0xa
mov r8d, r9d
lea rdx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
xor eax, eax
mov qword [rsp + 0x70], rax
mov word [rsp + 0x78], ax
movzx ecx, word [rbx + 8]
mov r9d, 0xa
mov r8d, r9d
lea rdx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
xor eax, eax
mov qword [rbp - 0x80], rax
mov word [rbp - 0x78], ax
movzx ecx, word [rbx + 0xe]
mov r9d, 0xa
mov r8d, r9d
lea rdx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
xor eax, eax
mov qword [rbp - 0x70], rax
mov word [rbp - 0x68], ax
movzx ecx, word [rbx + 0xc]
mov r9d, 0xa
mov r8d, r9d
lea rdx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa_s]
lea rax, [rsp + 0x60]
mov rsi, 0xffffffffffffffff
mov r14, rsi
inc r14
cmp byte [rax + r14], 0
jne 0x14003ef42
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x14003ef93
lea rax, [r14 + rcx]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, r14
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x14003efad
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140002f20
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14003efdc
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x2e
jmp 0x14003eff0
mov r9b, 0x2e
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.14002e530
lea rax, [rsp + 0x70]
mov r14, rsi
nop dword [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x14003f000
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x14003f051
lea rax, [r14 + rcx]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, r14
lea rdx, [rsp + 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x14003f06b
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140002f20
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14003f09a
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x2e
jmp 0x14003f0ae
mov r9b, 0x2e
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.14002e530
lea rax, [rbp - 0x80]
mov r14, rsi
inc r14
cmp byte [rax + r14], 0
jne 0x14003f0b5
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x14003f105
lea rax, [rcx + r14]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, r14
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x14003f11e
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140002f20
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x14003f14d
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x2e
jmp 0x14003f161
mov r9b, 0x2e
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.14002e530
lea rax, [rbp - 0x70]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14003f165
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14003f1b3
lea rax, [rcx + rsi]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14003f1cc
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140002f20
mov rcx, r15
call fcn.14002f890
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm1
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14002f870
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret