Function at 0x1401205b0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1e0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, r8
mov r15, rdx
mov r12, rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], r8
xor esi, esi
mov dword [rsp + 0x40], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], shutdown
mov byte [rcx], sil
lea r14, [rcx + 0x20]
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], shutdown
mov byte [r14], sil
lea r13, [rcx + 0x40]
mov qword [r13 + 0x10], rsi
mov qword [r13 + 0x18], shutdown
mov byte [r13], sil
mov qword [rcx + 0x60], rsi
lea rbx, [rcx + 0x68]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], shutdown
mov byte [rbx], sil
lea rcx, [rbp - 0x30]
call fcn.140245b10
lea rcx, [rbp - 0x30]
call fcn.140239778
mov qword [r12 + 0x60], rax
cmp r12, r15
je 0x14012068a
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14012067e
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, r12
call fcn.14005e050
cmp r14, rdi
je 0x1401206a8
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14012069c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, r14
call fcn.14005e050
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x20]
call fcn.140222790
mov r9, qword [r12 + 0x60]
lea r8, str._m__d__Y__r
mov edx, 0x64
lea rcx, [rbp - 0x20]
call fcn.14024a624
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rax, [rbp - 0x20]
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x1401206f2
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.14005e050
lea rax, [rsp + 0x58]
cmp rbx, rax
je 0x140120740
mov rcx, rbx
call fcn.140046190
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.140046190
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x14012098d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x140120799
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14003b630
mov rbx, qword [rsp + 0x50]
mov r8d, 0x104
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.140238660
test eax, eax
js 0x140120998
cmp eax, dword [rbx - 0xc]
jg 0x140120998
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], si
movdqa xmm6, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x78], xmm6
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x40], 3
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x34], esi
mov byte [rsp + 0x30], 0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x44], eax
test eax, eax
je 0x1401208e8
mov ecx, eax
call fcn.1402032f4
mov r13, rax
mov qword [rbp - 0x50], rsi
mov dword [rbp - 0x38], esi
mov r9, rax
mov r8d, dword [rsp + 0x44]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_version_l1_1_1.dll_GetFileVersionInfoW]
test eax, eax
je 0x140120883
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x50]
lea rdx, [0x140328454]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x140120883
mov rax, qword [rbp - 0x50]
movzx esi, word [rax + 0xa]
mov dword [rsp + 0x48], esi
movzx ecx, word [rax + 8]
mov dword [rsp + 0x3c], ecx
movzx ecx, word [rax + 0xe]
mov dword [rsp + 0x38], ecx
movzx eax, word [rax + 0xc]
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x30], 1
test r13, r13
je 0x140120890
mov rcx, r13
call fcn.140202ee8
cmp byte [rsp + 0x30], 0
je 0x1401208e3
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x3c]
mov r8d, esi
lea rdx, str._d._d._d._d
lea rcx, [rbp + 0x50]
call fcn.14012eb40
lea rax, [rbp + 0x50]
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x1401208c6
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14005e050
movdqu xmm6, xmmword [rbp - 0x78]
lea r13, [r12 + 0x40]
lea rax, [rsp + 0x78]
cmp r13, rax
je 0x14012091b
mov rcx, r13
call fcn.140046190
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [r13], xmm0
movups xmmword [r13 + 0x10], xmm6
movdqa xmm0, xmmword [0x1403a9ab0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
call fcn.140046190
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140120947
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
nop
mov rcx, r15
call fcn.140046190
nop
mov rcx, rdi
call fcn.140046190
mov rax, r12
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x238]
movaps xmm6, xmmword [rsp + 0x1d0]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140039950
nop
mov ecx, 0x80070057
call fcn.140039950
int3