Function at 0x10021330
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084629
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x100a91bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0x54]
mov dword [ebp - 0x54], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10021379
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp byte [edi + 0x50], 0
mov dword [ebp - 4], 0
je 0x1002138d
mov bl, 1
jmp 0x10021a13
test ebx, ebx
je 0x1002194c
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002194c
push ebx
call fcn.100370a0
add esp, 4
test eax, eax
jne 0x10021470
call fcn.10034dc0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10021a11
push 0x6b
push str.d:jenkins.jenkinsworkspacecore_libldsutilspublic_srcldsutilsldsutilsproductproduct_helper_impl.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10009b50
push 3
push 0x1008994c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10009b50
mov byte [ebp - 4], 5
call fcn.10034dc0
mov edi, eax
lea ecx, [ebp - 0xec]
push 0x33
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10003550
mov esi, eax
push str.product_helper_HasMsSign_error:
push esi
mov byte [ebp - 4], 6
call fcn.1000b6f0
push ebx
push esi
call fcn.1000b6f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.10004c60
lea ecx, [ebp - 0x40]
call fcn.10003f30
lea ecx, [ebp - 0x28]
jmp 0x10021a0c
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x10021a11
push str.free_str
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.get_prduct_id
push esi
mov dword [edi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.get_installed_prduct_id_list
push esi
mov dword [edi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.get_product_info_ver
push esi
mov dword [edi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [edi + 0x3c], 0
mov dword [edi + 0x44], eax
je 0x10021a11
cmp dword [edi + 0x40], 0
je 0x10021a11
cmp dword [edi + 0x48], 0
je 0x10021a11
test eax, eax
je 0x10021a11
push str.get_general_value
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.get_channel_id
push esi
mov dword [edi + 0x4c], eax
mov dword [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_app_path
push esi
mov dword [ebp - 0x48], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_install_date
push esi
mov dword [ebp - 0x48], 2
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_install_dir
push esi
mov dword [ebp - 0x48], 3
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_public_cfg_dir
push esi
mov dword [ebp - 0x48], 4
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_appdata_dir
push esi
mov dword [ebp - 0x48], 5
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_config_file
push esi
mov dword [ebp - 0x48], 6
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_default_stat_url
push esi
mov dword [ebp - 0x48], 7
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_cfg_center_ver_url
push esi
mov dword [ebp - 0x48], 8
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x30]
call fcn.10022ec0
push str.get_cfg_center_detail_url
push esi
mov dword [ebp - 0x48], 9
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_cfg_center_msg_wnd_class
push esi
mov dword [ebp - 0x48], 0xa
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_cfg_center_stub_msg_wnd_class
push esi
mov dword [ebp - 0x48], 0xb
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_cfg_center_single_mutex
push esi
mov dword [ebp - 0x48], 0xc
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_dump_url
push esi
mov dword [ebp - 0x48], 0xd
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_services_url
push esi
mov dword [ebp - 0x48], 0xe
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_app
push esi
mov dword [ebp - 0x48], 0xf
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_short_app
push esi
mov dword [ebp - 0x48], 0x10
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_short_name
push esi
mov dword [ebp - 0x48], 0x11
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x30]
call fcn.10022ec0
push str.get_drive_name
push esi
mov dword [ebp - 0x48], 0x12
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_drive_path
push esi
mov dword [ebp - 0x48], 0x13
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_tdi_drive_name
push esi
mov dword [ebp - 0x48], 0x14
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_tdi_drive_path
push esi
mov dword [ebp - 0x48], 0x15
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_service_name
push esi
mov dword [ebp - 0x48], 0x16
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_service_path
push esi
mov dword [ebp - 0x48], 0x17
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_appdata_config_file_path
push esi
mov dword [ebp - 0x48], 0x18
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
push str.get_activate_url
push esi
mov dword [ebp - 0x48], 0x19
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x48]
push eax
call fcn.10022ec0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10020b30
push eax
lea ecx, [edi + 0x18]
call fcn.10019a22
lea ecx, [ebp - 0x28]
call fcn.10003f80
cmp dword [edi + 0x28], 0
jne 0x10021926
call fcn.10034dc0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10021a11
push 0x6b
push str.d:jenkins.jenkinsworkspacecore_libldsutilspublic_srcldsutilsldsutilsproductproduct_helper_impl.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10009b50
push 3
push 0x1008994c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10009b50
mov byte [ebp - 4], 8
call fcn.10034dc0
mov edi, eax
lea ecx, [ebp - 0xec]
push 0x9f
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003550
mov esi, eax
push str.current_product_info_ver_is_empty:
push esi
mov byte [ebp - 4], 9
call fcn.1000b6f0
push ebx
jmp 0x100219e5
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10020a80
push eax
mov ecx, edi
call fcn.10019a22
lea ecx, [ebp - 0x28]
call fcn.10003f80
mov byte [edi + 0x50], 1
mov bl, 1
jmp 0x10021a13
call fcn.10034dc0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10021a11
push 0x6b
push str.d:jenkins.jenkinsworkspacecore_libldsutilspublic_srcldsutilsldsutilsproductproduct_helper_impl.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10009b50
push 3
push 0x1008994c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10009b50
mov byte [ebp - 4], 2
call fcn.10034dc0
mov edi, eax
lea ecx, [ebp - 0xec]
push 0x2d
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003550
mov esi, eax
push str.product_helper_not_exists:
push esi
mov byte [ebp - 4], 3
call fcn.1000b6f0
test ebx, ebx
mov ecx, str._null_
cmovne ecx, ebx
push ecx
push esi
call fcn.1000b6f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.10004c60
lea ecx, [ebp - 0x28]
call fcn.10003f30
lea ecx, [ebp - 0x40]
call fcn.10003f30
xor bl, bl
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0xa
test eax, eax
je 0x10021a27
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030da7
mov esp, ebp
pop ebp
ret 4