Function at 0x1400f3850
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov qword [rbp - 0x48], rdx
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x1400f38a0
mov rbx, 0xffffffffffffffff
jmp 0x1400f3b44
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
xor r15d, r15d
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], r15
mov rdx, rsi
xor ecx, ecx
call fcn.140207160
mov rbx, rax
test rax, rax
je 0x1400f3ad3
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], r15
mov dword [rbp - 0x18], r15d
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x28]
lea rdx, str.StringFileInfo000004b0CompanyName
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x1400f399d
mov qword [rbp - 0x20], r15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.ERROR_AT_CArchiveMan::IsValidArk_____2__err:_u
lea rcx, [rbp - 0x20]
call fcn.140028500
nop
lea rax, [rbp - 0x58]
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x20]
add rcx, 0xffffffffffffffe8
call fcn.140019180
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.1401aede0
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400f3986
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rcx, qword [rbp - 0x40]
call fcn.140207144
nop
mov rcx, rdi
call fcn.1400192b0
jmp 0x1400f3b65
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x1400f39d3
movabs rcx, 0x666f7369646e6142
cmp qword [rax], rcx
jne 0x1400f39d3
cmp byte [rax + 8], 0x74
jne 0x1400f39d3
mov rcx, rbx
call fcn.140207144
nop
mov rcx, rdi
call fcn.1400192b0
mov al, 1
jmp 0x1400f3b67
mov qword [rbp - 0x20], r15
lea rbx, [0x140295306]
test rax, rax
cmovne rbx, rax
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x1400f3b9b
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbp - 0x20], rax
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140018bb0
test al, al
jne 0x1400f3a28
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14003f150
nop
mov qword [rbp - 0x10], r15
mov r8, qword [rbp - 0x20]
lea rdx, str.ERROR_AT_CArchiveMan::IsValidArk_____3__str:_s
lea rcx, [rbp - 0x10]
call fcn.140028500
nop
lea rax, [rbp - 0x60]
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x10]
add rcx, 0xffffffffffffffe8
call fcn.140019180
add rax, 0x18
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x60]
call fcn.1401aede0
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f3a94
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400f3ab7
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400f3ac6
call fcn.140207144
nop
mov rcx, rdi
call fcn.1400192b0
jmp 0x1400f3b65
lea rax, [rbp - 0x20]
mov qword [rbp - 0x50], rax
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x1400f3b90
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rsi, str.ERROR_AT_CArchiveMan::IsValidArk_____1
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.140018bb0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x1400f3b3a
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400f3b22
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.140018f50
nop
lea rcx, [rbp - 0x20]
call fcn.1401aede0
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400f3b65
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401f74b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019300
int3
mov ecx, 0x80004005
call fcn.140019300
int3