Function at 0x1400187e0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400ae088]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r13, rcx
mov qword [rsp + 0x50], rcx
xor edx, edx
mov r8d, 0x190
lea rcx, [rbp - 0x60]
call fcn.140026290
mov r8d, 0x190
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
xor esi, esi
mov dword [rsp + 0x34], esi
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x60]
call sub.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoSizeW
mov ebx, eax
test eax, eax
jne 0x14001887d
lea rdx, str.None_VerSion_Supprot
mov rcx, r13
call fcn.1400185a0
jmp 0x140018ab1
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140023a30
mov rdi, rax
mov qword [rsp + 0x48], rax
mov r9, rax
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoW
mov dword [rsp + 0x30], esi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW
movdqa xmm6, xmmword [0x1400903c0]
movdqu xmmword [rbp - 0x70], xmm6
mov word [rbp - 0x80], si
mov r12d, esi
test dword [rsp + 0x30], 0xfffffffc
jbe 0x140018a96
mov r15d, 0xa
movabs rbx, 0x7ffffffffffffffe
xor edx, edx
mov r8d, 0x190
lea rcx, [rbp + 0x130]
call fcn.140026290
mov ecx, r12d
mov rax, qword [rsp + 0x50]
movzx edx, word [rax + rcx*4 + 2]
movzx r9d, word [rax + rcx*4]
mov dword [rsp + 0x20], edx
lea r8, str.StringFileInfo_04x_04xFileVersion
mov edx, 0xc8
lea rcx, [rbp + 0x130]
call fcn.140007940
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], esi
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x130]
mov rcx, rdi
call sub.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x140018983
cmp rdi, 7
ja 0x1400189c3
mov qword [rsp + 0x70], rdi
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140025e20
mov word [rsp + rbx + 0x60], si
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x60]
jmp 0x140018a1e
cmp rdi, rbx
ja 0x140018aef
mov rsi, rdi
or rsi, 7
cmp rsi, rbx
jbe 0x1400189dd
mov rsi, rbx
jmp 0x1400189e5
cmp rsi, 0xa
cmovb rsi, r15
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x60]
call fcn.140019550
mov r15, rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, r14
mov rcx, rax
call fcn.140025e20
xor eax, eax
mov word [rbx + r15], ax
mov qword [rsp + 0x60], r15
lea rdx, [rsp + 0x60]
cmp rsi, 8
cmovae rdx, r15
mov r8, rdi
lea rcx, [rbp - 0x80]
call fcn.1400195c0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140018a76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018a71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018ae9
call fcn.1400230c4
inc r12d
mov eax, dword [rsp + 0x30]
shr eax, 2
mov rdi, qword [rsp + 0x48]
cmp r12d, eax
jae 0x140018a91
xor esi, esi
jmp 0x1400188f0
movdqu xmm6, xmmword [rbp - 0x70]
mov edx, 2
mov rcx, rdi
call fcn.1400230c4
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [r13], xmm0
movups xmmword [r13 + 0x10], xmm6
mov rax, r13
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140023950
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400319e4
nop
call fcn.140019530
int3