Function at 0x140009c10
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 - 0x220]
sub rsp, 0x320
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor ebx, ebx
mov dword [rbp - 0x30], 0xaac56b
mov r15, rcx
mov qword [rsp + 0x38], rbx
xor edx, edx
mov dword [rbp - 0x2c], 0x11d0cd44
lea rcx, [rsp + 0x48]
mov dword [rbp - 0x28], 0xc000c28c
lea r14d, [rbx + 0x20]
mov dword [rbp - 0x24], 0xee95c24f
mov r8d, r14d
mov edi, ebx
call fcn.14015dbb0
lea esi, [rbx + 0x58]
xor edx, edx
mov r8d, esi
lea rcx, [rsp + 0x70]
call fcn.14015dbb0
mov r8d, 0x104
lea rdx, [rbp]
mov r9, r15
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x38]
call fcn.14016a838
lea rax, [rbp]
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], rax
lea r12d, [rbx + 1]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rbx
lea r8, [rsp + 0x70]
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x30]
mov dword [rsp + 0x70], esi
or rcx, 0xffffffffffffffff
mov qword [rbp - 0x78], 2
mov dword [rbp - 0x70], r12d
mov dword [rbp - 0x60], r12d
mov dword [rbp - 0x48], 0x200
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
test eax, eax
jne 0x140009d72
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.WINTRUST.dll_WTHelperProvDataFromStateData]
test rax, rax
je 0x140009d72
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINTRUST.dll_WTHelperGetProvSignerFromChain]
test rax, rax
je 0x140009d72
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINTRUST.dll_WTHelperGetProvCertFromChain]
test rax, rax
je 0x140009d72
mov rcx, qword [rax + 8]
lea r8, [rbp - 0x20]
mov edx, dword [rcx + 0x10]
mov rcx, qword [rcx + 8]
call fcn.140066f20
lea rsi, [0x1401d6340]
lea r14d, [rbx + 2]
mov r8d, 0x20
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.14015dad0
test eax, eax
cmove edi, r12d
add rsi, 0x20
sub r14, r12
jne 0x140009d51
lea r8, [rsp + 0x70]
mov dword [rbp - 0x78], 2
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x60], 2
or rcx, 0xffffffffffffffff
call qword [sym.imp.WINTRUST.dll_WinVerifyTrust]
test edi, edi
je 0x140009e4e
lea r9, [0x1402040c0]
xor edx, edx
mov r8d, 0x10000
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x140009e0e
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [0x1401d583c]
lea rcx, [0x1402040c0]
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x140009e0e
mov r8, qword [rsp + 0x40]
movzx eax, word [r8 + 0xa]
movzx ecx, word [r8 + 8]
imul edx, eax, 0x64
add edx, ecx
movzx ecx, word [r8 + 0xe]
imul eax, edx, 0x64
add eax, ecx
movzx ecx, word [r8 + 0xc]
add ecx, r12d
cmp ecx, 4
jne 0x140009e0e
cmp eax, r12d
sete bl
mov eax, ebx
jmp 0x140009e50
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
lea rdx, str...meshcore_signcheck.c
lea rcx, str.BAD_ARCH_CHECK
mov dword [rsp + 0x20], eax
lea r8d, [r9 + 0x7b]
call fcn.14006e59c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.BAD_ARCH_CHECK
lea rcx, str.ILIBMSG:__s___d_._r_n
call fcn.140001090
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14015c600
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret