Function at 0x18001b210
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r13, rdx
mov r12, rcx
mov qword [rbp + 0xb8], r8
test rdx, rdx
je 0x18001b822
test r8, r8
je 0x18001b822
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xe4]
call fcn.180211600
mov dword [rbp + 0xe0], 0x114
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea r8, [rbp + 0xb0]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
xorps xmm0, xmm0
mov edi, eax
movdqu xmmword [rbp + 0xc0], xmm0
xor esi, esi
mov r14d, esi
mov qword [rbp + 0xd0], rsi
mov eax, esi
mov ebx, esi
test rdi, rdi
je 0x18001b330
cmp rdi, 0x1000
jb 0x18001b2f7
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x18001b854
call fcn.18007b16c
test rax, rax
je 0x18001b84e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x18001b302
mov rcx, rdi
call fcn.18007b16c
mov rbx, rax
mov r15, rbx
mov qword [rbp + 0xc0], rbx
lea r14, [rbx + rdi]
mov qword [rbp + 0xd0], r14
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.180211600
mov qword [rbp + 0xc8], r14
mov rax, r14
jmp 0x18001b337
mov r15, qword [rbp + 0xc0]
sub rax, rbx
mov qword [rsp + 0x20], r15
mov r9d, eax
mov r8d, dword [rbp + 0xb0]
lea rdx, str.kernel32.dll
mov ecx, 2
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
mov qword [rbp + 0x98], rsi
mov dword [rbp + 0xb4], esi
lea r9, [rbp + 0xb4]
lea r8, [rbp + 0x98]
lea rdx, [0x1803124c0]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rbx, qword [rbp + 0x98]
mov qword [rbp + 0xa0], rbx
movzx edx, word [rbx + 0xc]
lea rcx, [rbp + 0x78]
call fcn.180017330
mov rsi, rax
movzx edx, word [rbx + 0xe]
lea rcx, [rbp + 0x58]
call fcn.180017330
mov rdi, rax
movzx edx, word [rbx + 8]
lea rcx, [rbp + 0x38]
call fcn.180017330
mov rbx, rax
mov rax, qword [rbp + 0xa0]
movzx edx, word [rax + 0xa]
lea rcx, [rbp + 0x18]
call fcn.180017330
nop
mov r9d, 4
lea r8, [0x1803127a0]
xor edx, edx
mov rcx, rax
call fcn.18000a090
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1803121ec]
lea rcx, [rsp + 0x38]
call fcn.180005430
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rbx
lea r8, [rbp - 0x68]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 8]
call fcn.180016e20
nop
mov r8d, 1
lea rdx, [0x1803121ec]
lea rcx, [rbp - 8]
call fcn.180005430
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov r9, rdi
lea r8, [rsp + 0x78]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x28]
call fcn.180016e20
nop
lea r8d, [rbx + 1]
lea rdx, [0x1803121ec]
lea rcx, [rbp - 0x28]
call fcn.180005430
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
mov r9, rsi
lea r8, [rsp + 0x58]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.180016e20
lea rcx, [rbp - 0x48]
call fcn.180005250
nop
lea rcx, [rsp + 0x58]
call fcn.180005250
nop
lea rcx, [rbp - 0x28]
call fcn.180005250
nop
lea rcx, [rsp + 0x78]
call fcn.180005250
nop
lea rcx, [rbp - 8]
call fcn.180005250
nop
lea rcx, [rbp - 0x68]
call fcn.180005250
nop
lea rcx, [rsp + 0x38]
call fcn.180005250
nop
lea rcx, [rbp + 0x18]
call fcn.180005250
nop
lea rcx, [rbp + 0x38]
call fcn.180005250
nop
lea rcx, [rbp + 0x58]
call fcn.180005250
nop
lea rcx, [rbp + 0x78]
call fcn.180005250
mov rsi, qword [rbp + 0xa0]
movzx eax, word [rsi + 0xe]
mov ecx, 0x47ba
cmp ax, cx
jb 0x18001b762
lea rcx, str.gdi32full.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtGdiDdDDIReclaimAllocations2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtGdiGetCOPPCompatibleOPMInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rdi, rdi
jne 0x18001b649
test rax, rax
jne 0x18001b649
mov qword [rsp + 0x48], rdi
lea r8d, [rax + 0x6e]
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2___win32u.NtGdiGetCOPPCompatibleOPMInformation
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
lea rcx, [rsp + 0x38]
call fcn.1800052d0
lea rcx, [rsp + 0x38]
call fcn.180005250
xor bl, bl
test r15, r15
je 0x18001b641
sub r14, r15
mov rax, r15
cmp r14, 0x1000
jb 0x18001b636
add r14, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001b84e
mov rdx, r14
mov rcx, r15
call fcn.18007b164
movzx eax, bl
jmp 0x18001b824
xor eax, eax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x200], 0xb848
mov dword [rbp + 0x208], 0xe0ff0000
mov qword [rbp + 0xa8], rax
lea rdx, [rbp + 0xa0]
mov rcx, r12
test rdi, rdi
je 0x18001b6e0
lea r8, [rbp + 0xa8]
call fcn.180018670
test al, al
je 0x18001b607
mov r9d, 8
lea r8, [rbp + 0xb8]
mov rsi, qword [rbp + 0xa0]
mov rdx, rsi
mov rcx, r12
call fcn.180017be0
test al, al
je 0x18001b607
mov rbx, rdi
call rbx
mov r9d, 8
lea r8, [rbp + 0xa8]
mov rdx, rsi
mov dword [r13], eax
mov rcx, r12
call fcn.180017be0
mov bl, 1
jmp 0x18001b609
mov eax, 0x4a61
cmp word [rsi + 0xe], ax
setae r9b
lea r8, [rbp + 0x210]
call fcn.1800187f0
test al, al
je 0x18001b607
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x202], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rbp + 0x200]
mov rsi, qword [rbp + 0xa0]
mov rdx, rsi
mov rcx, r12
call fcn.180017be0
test al, al
je 0x18001b607
test rdi, rdi
cmovne rbx, rdi
call rbx
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rbp + 0x210]
mov rdx, rsi
mov dword [r13], eax
mov rcx, r12
call fcn.180017be0
mov bl, 1
jmp 0x18001b609
mov ecx, 0x42ee
cmp ax, cx
jb 0x18001b607
lea rcx, str.gdi32full.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtGdiDdDDIReclaimAllocations2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x18001b7aa
mov qword [rsp + 0x48], rbx
lea r8d, [rax + 0x40]
lea rdx, str.____Failed_to_get_export_gdi32full.NtGdiDdDDIReclaimAllocations2
jmp 0x18001b5e5
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xa0], rbx
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0xa8]
mov rcx, r12
call fcn.180018670
test al, al
je 0x18001b607
mov r9d, 8
lea r8, [rbp + 0xb8]
mov rbx, qword [rbp + 0xa8]
mov rdx, rbx
mov rcx, r12
call fcn.180017be0
test al, al
je 0x18001b607
call rdi
mov r9d, 8
lea r8, [rbp + 0xa0]
mov rdx, rbx
mov dword [r13], eax
mov rcx, r12
call fcn.180017be0
mov bl, 1
jmp 0x18001b609
xor al, al
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.18007b140
mov rbx, qword [rsp + 0x388]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18021e9c0
int3
call fcn.180002140
int3