Function at 0x1401d50f0
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rdi
push r12
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor eax, eax
mov qword [rbp - 0x80], rdx
mov r15, rdx
mov dword [rsp + 0x38], eax
lea rdx, [rbp - 0x38]
mov dword [rbp - 0x38], eax
mov r12, r8
mov rdi, rcx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
je 0x1401d5183
mov ecx, ebx
call fcn.140368330
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1401d518a
mov rcx, qword [str.0cg_]
lea rax, str.0cg_
cmp rcx, rax
je 0x1401d5183
test byte [rcx + 0x1c], 1
je 0x1401d5183
cmp byte [rcx + 0x19], 4
jb 0x1401d5183
mov rcx, qword [rcx + 0x10]
lea r8, [0x1406073d0]
mov edx, 0xc
mov r9d, ebx
call fcn.140082b10
xor al, al
jmp 0x1401d5666
mov qword [rsp + 0x1d8], rsi
mov r9, rax
mov qword [rsp + 0x188], r13
mov r8d, ebx
xor edx, edx
mov qword [rsp + 0x180], r14
mov rcx, rdi
xor sil, sil
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1401d5640
mov rcx, qword [rsp + 0x50]
lea r9, [rbp - 0x34]
mov r14d, 0x4b0
lea r8, [rbp - 0x40]
lea rdx, str.VarFileInfoTranslation
mov dword [rsp + 0x30], r14d
mov r13d, 0x409
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1401d51ff
mov rax, qword [rbp - 0x40]
movzx r14d, word [rax + 2]
movzx r13d, word [rax]
mov dword [rsp + 0x30], r14d
lea rax, [0x1405fa9f8]
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x78]
lea rax, [0x140606e48]
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x70], rax
xor eax, eax
mov dword [rsp + 0x34], eax
nop dword [rax]
nop dword [rax + rax]
mov rdi, qword [rcx]
mov ebx, eax
nop word [rax + rax]
movzx r9d, r14w
lea rdx, str.StringFileInfo_04x_04x_ls
movzx r8d, r13w
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rdi
call fcn.1400e6c70
mov rcx, qword [rsp + 0x50]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x10]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x1401d52a9
mov eax, 0x409
cmp r13w, ax
jne 0x1401d528e
mov ecx, 0x4b0
cmp r14w, cx
je 0x1401d529d
mov r13d, eax
mov eax, 0x4b0
mov r14d, eax
mov dword [rsp + 0x30], eax
inc ebx
cmp ebx, 2
jl 0x1401d5240
jmp 0x1401d561c
cmp dword [rsp + 0x34], 0
mov rcx, qword [rbp - 0x48]
jne 0x1401d5438
mov edx, 0x2c
call fcn.14035b3bc
xor esi, esi
test rax, rax
je 0x1401d52cc
mov word [rax], si
mov rdx, qword [rbp - 0x48]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1401d52e0
test rax, rax
je 0x1401d530a
nop
cmp word [rdx + rax*2 - 2], 0x20
lea rcx, [rdx + rax*2]
jne 0x1401d530a
mov word [rcx - 2], si
mov rdx, qword [rbp - 0x48]
sub rax, 1
jne 0x1401d52f0
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401d5311
mov rcx, r15
call fcn.1400739a0
mov edi, esi
cmp qword [r15 + 0x18], 8
mov rbx, r15
jb 0x1401d5333
mov rbx, qword [r15]
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x1401d5619
lfence
movzx ecx, word [rbx + rax*2 - 2]
call fcn.140374034
test eax, eax
je 0x1401d5619
mov edx, 0x20
mov rcx, rbx
call fcn.14035b2dc
mov r8, rax
test rax, rax
je 0x1401d5619
sub r8, rbx
mov qword [rsp + 0x60], rsi
sar r8, 1
mov rdx, r15
cmp qword [r15 + 0x10], r8
mov qword [rsp + 0x70], rsi
cmovb r8, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 8
mov qword [rsp + 0x78], 7
jb 0x1401d539d
mov rdx, qword [r15]
lea rcx, [rsp + 0x60]
call fcn.1400739a0
or dword [rsp + 0x38], 1
lea rax, [rsp + 0x60]
cmp r15, rax
je 0x1401d53e1
mov rcx, r15
call fcn.140073b90
movups xmm1, xmmword [rsp + 0x70]
mov qword [rsp + 0x70], rsi
movups xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x78], 7
movups xmmword [r15], xmm0
movups xmmword [r15 + 0x10], xmm1
jmp 0x1401d5423
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1401d5423
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d541e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d5681
call fcn.140359090
inc edi
mov word [rsp + 0x60], si
cmp edi, 2
jl 0x1401d5326
jmp 0x1401d5619
lea rdx, str.0123456789
call fcn.1403776d0
mov rcx, qword [rbp - 0x48]
lea rbx, [rbp - 0x60]
test rax, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
cmovne rcx, rax
xor r14d, r14d
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x50], r14
lea edi, [r14 + 1]
nop
mov rcx, qword [rbx - 8]
lea rdx, [0x140606df4]
call fcn.1403776d0
mov qword [rbx], rax
test rax, rax
je 0x1401d549e
mov word [rax], r14w
inc edi
add rax, 2
mov qword [rbx], rax
add rbx, 8
cmp edi, 4
jb 0x1401d5470
mov qword [rsp + 0x40], r14
lea rsi, [rsp + 0x40]
mov dword [rsp + 0x48], r14d
lea rbx, [rbp - 0x68]
mov edi, r14d
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401d54d2
call fcn.140370624
mov dword [rsi], eax
inc edi
add rsi, 4
add rbx, 8
cmp edi, 3
jb 0x1401d54b4
mov eax, dword [rsp + 0x48]
dec eax
cmp eax, 0x62
ja 0x1401d54e5
mov r14d, 3
jmp 0x1401d5500
cmp dword [rsp + 0x44], r14d
jle 0x1401d54f4
mov r14d, 2
jmp 0x1401d5500
cmp dword [rsp + 0x40], 3
setle r14b
inc r14
xor ebx, ebx
mov esi, ebx
lea r15d, [rbx + 0x2e]
nop dword [rax + rax]
mov ecx, dword [rsp + rsi*4 + 0x40]
lea rdx, [rbp - 0x28]
mov r9d, 0xa
xorps xmm0, xmm0
xor eax, eax
mov r8d, r9d
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], eax
call fcn.140371fd0
test rsi, rsi
jle 0x1401d558f
mov rdx, qword [r12 + 0x18]
mov rcx, qword [r12 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1401d556f
lea r8, [rcx + 1]
mov rax, r12
mov qword [r12 + 0x10], r8
cmp rdx, 8
jb 0x1401d5563
mov rax, qword [r12]
mov word [rax + rcx*2], r15w
mov word [rax + r8*2], bx
jmp 0x1401d558f
lfence
lea r9, [0x1405fe284]
mov qword [rsp + 0x20], 1
mov edx, 1
mov rcx, r12
call fcn.1400735a0
lea rax, [rbp - 0x28]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1401d55a0
mov r8, qword [r12 + 0x18]
mov rcx, qword [r12 + 0x10]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1401d55f0
lea rdi, [rcx + rdx]
mov rbx, r12
mov qword [r12 + 0x10], rdi
cmp r8, 8
jb 0x1401d55d5
mov rbx, qword [r12]
lea r8, [rdx + rdx]
lea rdx, [rbp - 0x28]
lea rcx, [rbx + rcx*2]
call fcn.14035bc80
xor eax, eax
mov word [rbx + rdi*2], ax
xor ebx, ebx
jmp 0x1401d5604
lfence
lea r9, [rbp - 0x28]
mov qword [rsp + 0x20], rdx
mov rcx, r12
call fcn.1400735a0
inc rsi
cmp rsi, r14
jl 0x1401d5510
mov r15, qword [rbp - 0x80]
mov r14d, dword [rsp + 0x30]
mov sil, 1
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
inc eax
add rcx, 8
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x58], rcx
cmp eax, 2
jae 0x1401d5640
xor eax, eax
jmp 0x1401d5230
mov rcx, qword [rsp + 0x50]
call fcn.1403683a0
mov r13, qword [rsp + 0x188]
movzx eax, sil
mov rsi, qword [rsp + 0x1d8]
mov r14, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140359070
add rsp, 0x190
pop r15
pop r12
pop rdi
pop rbx
pop rbp
ret
call fcn.140368068
int3