Function at 0x140057508
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 [0x140148f00]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13, rdx
mov rbx, rcx
mov rax, qword [0x1401c2530]
mov qword [rbp - 0x80], rax
xor r14d, r14d
test rdx, rdx
je 0x140057988
test rax, rax
je 0x140057988
xor edx, edx
mov r8d, 0x90
lea rcx, [rbp - 0x4c]
call fcn.14010b8b4
mov dword [rbp - 0x50], __WSAFDIsSet
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea r8, [rbp - 0x78]
lea rdx, [0x14012df58]
lea edi, [r14 + 2]
mov ecx, edi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rcx
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1400580b0
nop
mov r9d, dword [rbp - 0x68]
mov rax, qword [rbp - 0x70]
sub r9d, eax
mov qword [rsp + 0x20], rax
mov r8d, dword [rbp - 0x78]
lea rdx, [0x14012df58]
mov ecx, edi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x74], r14d
lea r9, [rbp - 0x74]
lea r8, [rsp + 0x78]
lea rdx, [0x14012df74]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rax, qword [rsp + 0x78]
movzx ecx, word [rax + 0xe]
mov eax, 0x4a61
mov r15d, 0x1000
cmp cx, ax
jb 0x140057797
lea rcx, [0x14012e058]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtQueryInformationAtom
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x1400577ef
mov word [rbp + 0x50], 0xb848
mov word [rbp + 0x5a], 0xe0ff
mov rcx, qword [rbp - 0x80]
mov qword [rbp + 0x52], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea r8d, [r14 + 0x16]
lea rdx, str.NtQueryInformationAtom
lea rcx, [rsp + 0x58]
call fcn.140057e48
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r14d, [rdi + 0xa]
mov r8d, r14d
lea rdx, [0x14012dfa8]
lea rcx, [rsp + 0x38]
call fcn.140057e48
nop
lea rcx, [rsp + 0x38]
call fcn.1400655bc
mov rdx, rax
lea r8, [rsp + 0x58]
mov rcx, rbx
call fcn.140056b44
mov rdi, rax
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400576fa
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, r15
jb 0x1400576f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400576f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a9a0
movdqa xmm0, xmmword [0x140136e70]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140057749
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, r15
jb 0x140057744
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057744
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a9a0
test rdi, rdi
je 0x140057792
mov r9, r14
mov r8, rdi
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140056680
test al, al
je 0x140057792
mov r9d, r14d
lea r8, [rbp + 0x50]
mov rdx, rdi
mov rcx, rbx
call fcn.140056710
test al, al
je 0x140057792
mov rdx, qword [rbp + 0xf0]
xor ecx, ecx
call rsi
mov qword [r13], rax
lea r8, [rbp + 0x60]
jmp 0x140057898
xor r14d, r14d
jmp 0x1400577ef
mov eax, 0x47ba
cmp cx, ax
jb 0x1400578b3
lea rcx, str.gdi32full.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDIReclaimAllocations2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiGetCOPPCompatibleOPMInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r15, r15
jne 0x1400577f7
test rax, rax
jne 0x1400577f7
mov bl, r14b
jmp 0x1400578a8
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x50], 0xb848
mov dword [rbp + 0x58], 0xe0ff0000
mov qword [rbp + 0x60], r14
mov esi, 8
lea r14d, [rsi + 4]
lea rdx, [rsp + 0x30]
mov rcx, rbx
test r15, r15
je 0x14005783b
lea r8, [rbp + 0x60]
call fcn.140056e1c
test al, al
je 0x14005786b
mov r9d, esi
lea r8, [rbp - 0x80]
jmp 0x140057857
lea r8, [rbp + 0x70]
call fcn.140056fd0
test al, al
je 0x14005786b
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x52], rax
mov r9d, r14d
lea r8, [rbp + 0x50]
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
mov rcx, rbx
call fcn.140056710
test al, al
jne 0x14005786f
xor bl, bl
jmp 0x1400578a8
test r15, r15
cmovne r12, r15
mov rdx, qword [rbp + 0xf0]
xor ecx, ecx
call r12
mov qword [r13], rax
test r15, r15
je 0x140057894
mov r9d, esi
lea r8, [rbp + 0x60]
jmp 0x14005789b
lea r8, [rbp + 0x70]
mov r9d, r14d
mov rdx, rdi
mov rcx, rbx
call fcn.140056710
mov bl, 1
mov r15d, 0x1000
jmp 0x14005794b
mov eax, 0x42ee
cmp cx, ax
jb 0x140057948
lea rcx, str.gdi32full.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDIReclaimAllocations2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140057948
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x60], r14
lea r8, [rbp + 0x60]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140056e1c
test al, al
je 0x140057948
mov esi, 8
mov r9d, esi
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140056710
test al, al
je 0x140057948
mov rdx, qword [rbp + 0xf0]
xor ecx, ecx
call rdi
mov qword [r13], rax
mov r9d, esi
lea r8, [rbp + 0x60]
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140056710
mov bl, 1
jmp 0x14005794b
mov bl, r14b
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140057984
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, r15
jb 0x14005797f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005797f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a9a0
mov al, bl
jmp 0x14005798a
xor al, al
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14010a620
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret