Function at 0x1400a1840
Capabilities:
Get file version info

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rdx
mov rdi, rcx
mov r8d, dword [0x140138258]
mov rax, qword gs:[0x58]
mov ecx, 4
mov r9, qword [rax + r8*8]
mov eax, dword [rcx + r9]
cmp dword [0x140138868], eax
jg 0x1400a17db
mov r8, rbx
lea rdx, [0x140138848]
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp 0x1400a1840
lea rcx, [0x140138868]
call fcn.140096290
cmp dword [0x140138868], 0xffffffff
jne 0x1400a17bf
movdqa xmm0, xmmword [0x1400ed8a0]
movdqu xmmword [0x140138858], xmm0
xor eax, eax
mov word [0x140138848], ax
lea r8d, [rax + 0xb]
lea rdx, str._d._d._d._d
lea rcx, [0x140138848]
call fcn.140013240
lea rcx, [0x1400e5a00]
call fcn.1400960e0
nop
lea rcx, [0x140138868]
call fcn.140096230
jmp 0x1400a17bf
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r15, r8
mov r12, rdx
mov rdi, rcx
xor ebx, ebx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1400ed8a0]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], bx
xor r8d, r8d
lea rdx, [0x1400e8328]
lea rcx, [rsp + 0x40]
call fcn.140013240
nop
lea rax, [rsp + 0x40]
cmp r15, rax
je 0x1400a18de
mov rcx, r15
call fcn.140012b50
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [r15 + 0x10], xmm1
movdqa xmm0, xmmword [0x1400ed8a0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400a1920
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a191b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a1b00
call fcn.140095e90
movdqa xmm0, xmmword [0x1400ed8a0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
mov dword [rbp + 0x3e0], ebx
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400a1946
mov rcx, qword [rdi]
lea rdx, [rbp + 0x3e0]
call sub.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x1400a1acb
mov ecx, r14d
call fcn.140095ea0
mov rsi, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1400a197c
mov ebx, 0x8007000e
jmp 0x1400a1abc
cmp qword [rdi + 0x18], 8
jb 0x1400a1986
mov rdi, qword [rdi]
mov r9, rsi
mov r8d, r14d
mov edx, dword [rbp + 0x3e0]
mov rcx, rdi
call sub.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoW
test eax, eax
jne 0x1400a19bd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jg 0x1400a19af
mov ebx, eax
jmp 0x1400a1abc
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400a1abc
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1400a57c0
mov qword [rsp + 0x60], rbx
mov edx, 0x104
lea rcx, [rbp - 0x80]
lea r8, [0x1400eacc4]
lea rax, [rbp - 0x80]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1400a1a13
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400a1a13
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400a19f0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], bx
lea r9, [rbp + 0x3e8]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, rsi
call sub.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.1400a57c0
cmp qword [r12 + 0x18], 8
jb 0x1400a1a59
mov r12, qword [r12]
mov r9, qword [rsp + 0x60]
movzx eax, word [r9 + 0xc]
movzx ecx, word [r9 + 0xe]
movzx r10d, word [r9 + 8]
movzx r9d, word [r9 + 0xa]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r10d
mov r8, r12
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140071a30
lea rax, [rbp + 0x190]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a1aa1
lea rdx, [rbp + 0x190]
mov rcx, r15
call fcn.140013240
nop
test rsi, rsi
je 0x1400a1ae2
mov rcx, rsi
call fcn.140095e90
jmp 0x1400a1ae2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jg 0x1400a1ad9
mov ebx, eax
jmp 0x1400a1ae2
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400b1720
int3