Function at 0x10000a3c8
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor r13d, r13d
mov rbp, rcx
xor ecx, ecx
mov dword [rax + 0x10], r13d
mov dword [rax + 0x18], r13d
mov qword [rax + 0x20], r13
mov qword [rax - 0x50], r13
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, 0x104
mov edx, ebx
mov eax, r13d
lea r15d, [r13 + 1]
lea r14d, [r13 + 7]
neg eax
mov r9d, r15d
mov ecx, r14d
sbb eax, eax
and eax, ebx
add edx, eax
mov dword [rsp + 0x98], edx
mov r8d, edx
xor edx, edx
call fcn.100005ec4
mov rdi, rax
cmp rax, r13
je 0x10000a682
mov r8d, dword [rsp + 0x98]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, r13d
je 0x10000a698
mov edx, dword [rsp + 0x98]
lea ecx, [rdx - 1]
cmp eax, ecx
jae 0x10000a40e
xor edx, edx
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x98], eax
cmp eax, r13d
jne 0x10000a4a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, r13d
jne 0x10000a698
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, r13d
jne 0x10000a698
mov ecx, 0x57
jmp 0x10000a692
add eax, 0xa
mov ecx, eax
mov dword [rsp + 0x98], eax
call fcn.10000852c
mov rbx, rax
mov qword [rsp + 0x30], rax
cmp rax, r13
je 0x10000a698
mov r8d, dword [rsp + 0x98]
mov r9, rax
xor edx, edx
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, r13d
jne 0x10000a4ec
lea rcx, [rsp + 0x30]
call fcn.100008450
jmp 0x10000a698
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x38]
lea rdx, [0x100001710]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
cmp eax, r13d
je 0x10000a4dd
xor edx, edx
mov r9d, r15d
mov ecx, r14d
lea r8d, [rdx + 0x40]
call fcn.100005ec4
test dword [rsp + 0xa0], 0xfffffffc
mov qword [rsp + 0xa8], r13
mov r12, rax
mov edi, r13d
jbe 0x10000a4dd
mov rsi, r13
mov rdx, qword [rsp + 0x38]
lea r8, [0x100001750]
movzx ecx, word [rsi + rdx + 2]
movzx r9d, word [rsi + rdx]
mov edx, 0x40
mov dword [rsp + 0x20], ecx
mov rcx, r12
call fcn.1000017e8
lea r9, [rsp + 0x98]
lea r8, [rsp + 0xa8]
mov rdx, r12
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
cmp eax, r13d
jne 0x10000a5a5
mov eax, dword [rsp + 0xa0]
add edi, r15d
mov rcx, r13
shr eax, 2
add rsi, 4
mov qword [rsp + 0xa8], rcx
cmp edi, eax
jb 0x10000a53c
jmp 0x10000a5ad
mov rcx, qword [rsp + 0xa8]
cmp rcx, r13
je 0x10000a4dd
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
ja 0x10000a5e4
lea rcx, [rsp + 0x30]
call fcn.100008450
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, r13d
jne 0x10000a698
mov ecx, 0x42b
jmp 0x10000a692
mov rcx, qword [rsp + 0xa8]
lea rdx, [0x1000017a0]
xor r9d, r9d
mov r8d, r15d
call fcn.1000074cc
cmp eax, 0xffffffff
je 0x10000a634
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [0x1000017a0]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov rax, qword [rsp + 0xa8]
sub rbx, rcx
mov word [rax + rbx*2], r13w
cmp rbp, r13
je 0x10000a6da
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r9d, r15d
lea r8d, [rbx + rax + 0xb]
xor edx, edx
mov ecx, r14d
mov dword [rsp + 0x98], r8d
call fcn.100005ec4
mov rbx, rax
cmp rax, r13
jne 0x10000a6b2
lea rcx, [rsp + 0x30]
call fcn.100008450
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, r13d
jne 0x10000a698
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, dword [rsp + 0x98]
mov r9, qword [rsp + 0xa8]
lea r8, [0x1000017b0]
mov rcx, rax
mov qword [rsp + 0x20], rbp
call fcn.1000017e8
jmp 0x10000a825
mov rsi, qword [rsp + 0xa8]
cmp rsi, r13
jne 0x10000a6f7
mov ecx, r14d
call fcn.100005e40
mov rbx, rax
jmp 0x10000a81c
call fcn.100005d4c
cmp eax, r13d
jne 0x10000a709
mov rbx, r13
jmp 0x10000a81c
mov rcx, qword [0x10000e6f8]
mov edi, 3
mov edx, edi
call fcn.100008dd8
mov ebp, 0x10000
mov r12d, 0x80000
mov r10d, eax
cmp eax, r14d
ja 0x10000a769
mov rcx, qword [0x10000e6f8]
xor r8d, r8d
call fcn.100008728
cmp rax, r13
je 0x10000a701
cmp dword [rax + 4], ebp
je 0x10000a74e
cmp dword [rax + 4], r12d
jne 0x10000a701
mov rcx, qword [rax + 0x10]
cmp rcx, r13
je 0x10000a701
mov edx, 8
sub edx, r10d
call fcn.100008d7c
cmp eax, 0xffffffff
je 0x10000a701
mov rcx, qword [0x10000e6f8]
mov r8d, r14d
mov edx, edi
call fcn.100008f60
cmp eax, r13d
je 0x10000a889
mov rcx, qword [0x10000e6f8]
mov r8d, r14d
mov edx, edi
call fcn.100008e20
mov rbx, rax
cmp rax, r13
je 0x10000a701
lea rdx, [0x100001648]
mov r8, r14
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__memicmp]
cmp eax, r13d
jne 0x10000a701
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rbx + 8]
lea edi, [rax + 1]
cmp edi, ecx
ja 0x10000a7de
cmp edi, 0x100
jbe 0x10000a7ff
lea eax, [rdi + rdi]
cmp eax, ecx
jae 0x10000a7ff
cmp ecx, r13d
jne 0x10000a926
lea ecx, [rdi + rdi]
call fcn.10000852c
mov qword [rbx + 0x10], rax
cmp rax, r13
je 0x10000a701
mov dword [rbx + 8], edi
cmp qword [rbx + 0x10], r13
je 0x10000a701
mov rcx, qword [rbx + 0x10]
mov r8d, edi
mov rdx, rsi
call fcn.1000077f8
mov rbx, qword [rbx + 0x10]
cmp rbx, r13
je 0x10000a678
mov rcx, rbx
mov qword [rsp + 0xa8], rbx
call qword [sym.imp.USER32.dll_CharUpperW]
mov edi, 0x50
mov r9d, r15d
lea ecx, [rdi - 0x45]
mov r8d, edi
xor edx, edx
call fcn.100005ec4
mov rbx, rax
cmp rax, r13
je 0x10000a678
mov ecx, 0x15ed
call fcn.1000067b4
mov r9, qword [rsp + 0xa8]
mov rdx, rdi
mov r8, rax
mov rcx, rbx
call fcn.1000017e8
lea rcx, [rsp + 0x30]
call fcn.100008450
mov rax, rbx
jmp 0x10000a69a
mov ecx, 0x18
call fcn.10000852c
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, r13
je 0x10000a701
mov dword [rax + 8], r13d
lea rdx, [0x100001648]
mov r8d, r14d
mov rcx, rax
mov qword [rax + 0x10], r13
call fcn.100007770
mov rcx, qword [0x10000e6f8]
xor r8d, r8d
mov edx, edi
call fcn.100008728
cmp rax, r13
je 0x10000a8fa
cmp dword [rax + 4], r12d
jne 0x10000a8fa
mov rcx, qword [rax + 0x10]
xor r8d, r8d
mov edx, r14d
call fcn.100008728
cmp rax, r13
je 0x10000a8fa
mov ecx, dword [rax + 4]
cmp ecx, ebp
je 0x10000a915
cmp ecx, r13d
je 0x10000a91a
mov eax, r13d
cmp eax, r13d
jne 0x10000a7a0
lea rcx, [rsp + 0x40]
call fcn.100008450
jmp 0x10000a701
cmp ecx, r13d
jne 0x10000a91d
mov dword [rax + 4], ebp
mov qword [rax + 0x10], rbx
mov eax, r15d
jmp 0x10000a8fd
lea edx, [rdi + rdi]
lea rcx, [rbx + 0x10]
call fcn.1000085cc
cmp eax, r13d
jmp 0x10000a7f6