Function at 0x14000ec40
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
call fcn.140020000
test eax, eax
jns 0x14000ec9d
mov byte [rsp + 0x20], 0
lea rdx, str.C:_buildbot_src_android_emu_32_release_external_qemu_android_android_emu_base_android_base_system_System.cpp
lea rcx, [rbp - 8]
mov r8d, 0xc51
mov r9d, 0xffffffff
call fcn.1400205a0
mov ecx, 0x198
add rcx, qword [rbp - 8]
lea rdx, str.querying_file_version_info_API...
call fcn.140001b20
lea rcx, [rbp - 8]
call fcn.140020640
mov sil, 1
cmp byte [0x14018ada0], 0
jne 0x14000efcc
lea rcx, str.kernelbase
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000efca
mov rdi, rax
call fcn.140020000
test eax, eax
jns 0x14000ed0e
mov byte [rsp + 0x20], 0
lea rdx, str.C:_buildbot_src_android_emu_32_release_external_qemu_android_android_emu_base_android_base_system_System.cpp
lea rcx, [rbp - 8]
mov r8d, 0xc59
mov r9d, 0xffffffff
call fcn.1400205a0
mov ecx, 0x198
add rcx, qword [rbp - 8]
lea rdx, str.found_kernelbase.dll
call fcn.140001b20
lea rcx, [rbp - 8]
call fcn.140020640
lea rdx, str.GetFileVersionInfoSizeW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14018ada8], rax
call fcn.140020000
test rbx, rbx
je 0x14000ed6e
test eax, eax
jns 0x14000edb1
mov byte [rsp + 0x20], 0
lea rdx, str.C:_buildbot_src_android_emu_32_release_external_qemu_android_android_emu_base_android_base_system_System.cpp
lea rcx, [rbp - 8]
mov r8d, 0xc61
mov r9d, 0xffffffff
call fcn.1400205a0
mov ecx, 0x198
add rcx, qword [rbp - 8]
lea rdx, str.GetFileVersionInfoSizeW_found._On_Windows_10_
call fcn.140001b20
jmp 0x14000eda8
test eax, eax
jns 0x14000edb1
mov byte [rsp + 0x20], 0
lea rdx, str.C:_buildbot_src_android_emu_32_release_external_qemu_android_android_emu_base_android_base_system_System.cpp
lea rcx, [rbp - 8]
mov r8d, 0xc5f
mov r9d, 0xffffffff
call fcn.1400205a0
mov ecx, 0x198
add rcx, qword [rbp - 8]
lea rdx, str.GetFileVersionInfoSizeW_not_found._Not_on_Windows_10_
call fcn.140001b20
lea rcx, [rbp - 8]
call fcn.140020640
lea rdx, str.GetFileVersionInfoW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x14018adb0], rax
call fcn.140020000
test rbx, rbx
je 0x14000ee11
test eax, eax
jns 0x14000ee54
mov byte [rsp + 0x20], 0
lea rdx, str.C:_buildbot_src_android_emu_32_release_external_qemu_android_android_emu_base_android_base_system_System.cpp
lea rcx, [rbp - 8]
mov r8d, 0xc6a
mov r9d, 0xffffffff
call fcn.1400205a0
mov ecx, 0x198
add rcx, qword [rbp - 8]
lea rdx, str.GetFileVersionInfoW_found._On_Windows_10_
call fcn.140001b20
jmp 0x14000ee4b
test eax, eax
jns 0x14000ee54
mov byte [rsp + 0x20], 0
lea rdx, str.C:_buildbot_src_android_emu_32_release_external_qemu_android_android_emu_base_android_base_system_System.cpp
lea rcx, [rbp - 8]
mov r8d, 0xc68
mov r9d, 0xffffffff
call fcn.1400205a0
mov ecx, 0x198
add rcx, qword [rbp - 8]
lea rdx, str.GetFileVersionInfoW_not_found._Not_on_Windows_10_
call fcn.140001b20
lea rcx, [rbp - 8]
call fcn.140020640
cmp qword [0x14018ada8], 0
setne al
cmp qword [0x14018adb0], 0
setne cl
and cl, al
mov byte [0x14018adb8], cl
je 0x14000eeeb
lea rdx, str.VerQueryValueW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [0x14018add8], rax
call fcn.140020000
test rdi, rdi
je 0x14000ef87
test eax, eax
jns 0x14000eedf
mov byte [rsp + 0x20], 0
lea rdx, str.C:_buildbot_src_android_emu_32_release_external_qemu_android_android_emu_base_android_base_system_System.cpp
lea rcx, [rbp - 8]
mov r8d, 0xc88
mov r9d, 0xffffffff
call fcn.1400205a0
mov ecx, 0x198
add rcx, qword [rbp - 8]
lea rdx, str.VerQueryValueW_found._Can_query_file_versions
call fcn.140001b20
lea rcx, [rbp - 8]
call fcn.140020640
mov byte [0x14018ada0], 1
jmp 0x14000efcc
lea rdx, str.GetFileVersionInfoSizeExW
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call rbx
mov qword [0x14018adc0], rax
lea rdx, str.GetFileVersionInfoExW
mov rcx, rdi
call rbx
cmp qword [0x14018adc0], 0
mov qword [0x14018adc8], rax
setne cl
test rax, rax
setne al
and al, cl
mov byte [0x14018add0], al
cmp byte [0x14018adb8], 0
jne 0x14000ee74
test al, al
jne 0x14000ee74
call fcn.140020000
test eax, eax
jns 0x14000efca
mov byte [rsp + 0x20], 0
lea rdx, str.C:_buildbot_src_android_emu_32_release_external_qemu_android_android_emu_base_android_base_system_System.cpp
lea rcx, [rbp - 8]
mov r8d, 0xc7c
mov r9d, 0xffffffff
call fcn.1400205a0
mov ecx, 0x198
add rcx, qword [rbp - 8]
lea rdx, str.Cannot_get_file_version_info_funcs
call fcn.140001b20
jmp 0x14000efc1
test eax, eax
jns 0x14000efca
mov byte [rsp + 0x20], 0
lea rdx, str.C:_buildbot_src_android_emu_32_release_external_qemu_android_android_emu_base_android_base_system_System.cpp
lea rcx, [rbp - 8]
mov r8d, 0xc84
mov r9d, 0xffffffff
call fcn.1400205a0
mov ecx, 0x198
add rcx, qword [rbp - 8]
lea rdx, str.VerQueryValueW_not_found
call fcn.140001b20
lea rcx, [rbp - 8]
call fcn.140020640
xor esi, esi
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret