Function at 0x140021e10
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140074100]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x58], rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140021e5c
mov rcx, qword [rdx]
lea rdx, [rbp - 0x28]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test eax, eax
je 0x1400225b1
xorps xmm0, xmm0
xor eax, eax
movdqu xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
cmp rsi, 0x1000
jb 0x140021eb0
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14002260e
call fcn.1400335f0
test rax, rax
je 0x140022608
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140021ebb
mov rcx, rsi
call fcn.1400335f0
mov r14, rax
mov qword [rbp], r14
lea r15, [r14 + rsi]
mov qword [rbp + 0x10], r15
mov r8, rsi
xor edx, edx
mov rcx, r14
call fcn.140057a00
mov qword [rbp + 8], r15
cmp qword [rbx + 0x18], 0xf
jbe 0x140021ee2
mov rbx, qword [rbx]
mov r9, r14
mov r8d, esi
mov edx, dword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x14002257d
movabs rax, 0xd3f3bc0e15fb863f
mov qword [rsp + 0x30], rax
movabs rax, 0xc107a6ed2cb88b25
mov qword [rsp + 0x38], rax
movabs rax, 0xddca0db6aa03443b
mov qword [rsp + 0x40], rax
movabs r12, 0x166d21e3131fc986
mov qword [rsp + 0x48], r12
movabs rax, 0xb69fd548679ad063
mov qword [rbp + 0x40], rax
movabs rax, 0xa075f2b143dee56c
mov qword [rbp + 0x48], rax
movabs rax, 0xb3a564c2cb6f3755
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], r12
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [rsp + 0x40]
xorps xmm1, xmmword [rbp + 0x50]
movdqa xmmword [rsp + 0x40], xmm1
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x14002257d
xor esi, esi
mov ecx, esi
mov dword [rsp + 0x20], ecx
test dword [rbp - 0x50], 0xfffffffc
jbe 0x14002257d
mov rdi, 0xffffffffffffffff
movabs r13, 0xce1a9bc533b7970f
movabs r15, 0xc5fa912d0bf3963f
mov eax, ecx
lea rbx, [rax*4]
mov rdx, qword [rbp - 0x60]
movzx edx, word [rbx + rdx]
lea rcx, [rbp + 0x18]
call fcn.140021b10
nop
mov rdx, qword [rbp - 0x60]
movzx edx, word [rbx + rdx + 2]
lea rcx, [rbp - 0x20]
call fcn.140021b10
nop
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r13
movabs rax, 0xb3a564c2cb6f3755
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r12
movabs rcx, 0xb69fd548679ad063
mov qword [rbp + 0x60], rcx
movabs rdx, 0xa075f2b143dee56c
mov qword [rbp + 0x68], rdx
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], r12
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [rsp + 0x40]
xorps xmm1, xmmword [rbp + 0x70]
movdqa xmmword [rsp + 0x40], xmm1
movabs r8, 0xf0f8bb2115ee833f
mov qword [rbp + 0x40], r8
movabs r8, 0xfc1a94df0abb8905
mov qword [rbp + 0x48], r8
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], r12
movdqa xmm0, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [rbp + 0x50]
xorps xmm1, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x50], xmm1
lea rax, [rbp + 0x40]
mov rbx, rdi
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400220c0
mov r12, qword [rbp + 0x28]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r12
cmp rax, rbx
jb 0x140022644
lea r13, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova r13, qword [rbp + 0x18]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea r15, [r12 + rbx]
mov edi, 0xf
lea rsi, [rsp + 0x50]
cmp r15, rdi
jbe 0x140022194
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x140022138
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140022168
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140022152
xor esi, esi
jmp 0x14002218f
cmp rcx, 0x1000
jb 0x140022187
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002261a
mov rcx, rax
call fcn.1400335f0
test rax, rax
je 0x140022614
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14002218f
call fcn.1400335f0
mov rsi, rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rdi
mov r8, rbx
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.140057360
lea rcx, [rsi + rbx]
mov r8, r12
mov rdx, r13
call fcn.140057360
mov byte [rsi + r15], 0
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140019f70
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor esi, esi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140022220
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140019f70
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400222a2
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002229d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022620
call fcn.14003362c
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400222f0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400222eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022626
call fcn.14003362c
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
lea r9, [rbp + 0x38]
lea r8, [rbp - 0x58]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x140022422
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140022365
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022360
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002262c
call fcn.14003362c
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400223b0
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400223ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022632
call fcn.14003362c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x1400223fb
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400223f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022638
call fcn.14003362c
mov ecx, dword [rsp + 0x20]
inc ecx
mov dword [rsp + 0x20], ecx
mov eax, dword [rbp - 0x50]
shr eax, 2
cmp ecx, eax
jae 0x140022574
movabs r12, 0x166d21e3131fc986
jmp 0x140021fc0
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x70]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov rdx, qword [rbp - 0x58]
nop dword [rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140022440
mov r8, rdi
mov rcx, rbx
call fcn.14001a2b0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140022490
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002248b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002262c
call fcn.14003362c
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400224db
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400224d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022632
call fcn.14003362c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140022526
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022521
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022638
call fcn.14003362c
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
test r14, r14
je 0x14002256f
mov rdx, qword [rbp + 0x10]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x140022567
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002263e
mov rcx, r14
call fcn.14003362c
mov rax, rbx
jmp 0x1400225de
mov r15, qword [rbp + 0x10]
mov r13, qword [rsp + 0x70]
test r14, r14
je 0x1400225b1
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x1400225a6
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022608
mov rdx, r15
mov rcx, r14
call fcn.14003362c
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
mov qword [r13 + 0x18], 0
xor r8d, r8d
lea rdx, [0x14006580d]
mov rcx, r13
call fcn.14001a2b0
mov rax, r13
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400335d0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140039534
int3
call fcn.140019460
nop
call fcn.140039534
nop
call fcn.140019460
nop
call fcn.140039534
nop
call fcn.140039534
nop
call fcn.140039534
nop
call fcn.140039534
nop
call fcn.140039534
nop
call fcn.140039534
nop
call fcn.140019500
int3