Function at 0x1000f7e0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100222e2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3d8
mov eax, dword [0x1002e008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 0
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 7
mov word [ebp - 0x3b8], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x38c], 7
mov word [ebp - 0x3a0], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], 7
mov word [ebp - 0x388], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], 7
mov word [ebp - 0x370], ax
mov byte [ebp - 4], 3
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], 7
mov word [ebp - 0x358], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x32c], 7
mov word [ebp - 0x340], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], 7
mov word [ebp - 0x328], ax
mov byte [ebp - 4], 6
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], 7
mov word [ebp - 0x310], ax
mov byte [ebp - 4], 7
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
mov byte [ebp - 4], 9
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
mov dword [ebp - 4], 0xc
xorps xmm0, xmm0
lea ecx, [ebp - 0x250]
movups xmmword [ebp - 0x250], xmm0
call fcn.1000e690
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x1000fa38
cmp dword [ebp - 0x244], 0
jne 0x1000fa38
lea ecx, [ebp - 0x244]
push ecx
call eax
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov byte [ebp - 4], 0xe
push 0x20c
push eax
lea eax, [ebp - 0x228]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1000fad2
xor eax, eax
lea ecx, [ebp - 0x228]
mov word [ebp - 0x1e], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000fab0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.10006290
push 0xb
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x240]
push str.crypt32.dll
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
call fcn.10006290
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x240]
push eax
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x298]
call fcn.100173d0
add esp, 4
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x1000fb7a
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fb70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000fb70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
lea ecx, [ebp - 0x3b8]
lea eax, [ebp - 0x298]
mov dword [ebp - 0x22c], 7
push eax
call fcn.10013580
test al, al
je 0x1000ff00
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10013520
mov byte [ebp - 4], 0x12
cmp dword [0x1002e7d4], 0
je 0x1000fcff
push 0
mov ecx, 0x1002e7d4
call fcn.1001bcb0
mov eax, dword [0x1002e7d4]
cmp byte [eax + 0x54], 0
je 0x1000fcff
cmp dword [eax + 0x58], 2
jb 0x1000fcff
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x3b9], al
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
cmovae eax, dword [ebp - 0x240]
push eax
lea eax, [ebp - 0x268]
push str.crypt32DLLFileVer:_s
push eax
call fcn.1001ce20
add esp, 0xc
lea eax, [ebp - 0x268]
mov ecx, 0x1002e7d4
push 0x15e
push str.RC::RCMicrosoftPatchesUtils::IsKB4474419ValidByCheckCrypt32Version
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcmicrosoftpatches_rcmicrosoftpatchesutils.cpp
push eax
push 2
call fcn.1001c8b0
cmp byte [ebp - 0x3b9], 0
je 0x1000fc9c
lea eax, [ebp - 0x268]
mov ecx, 0x1002e7d4
push eax
call fcn.1001cc50
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x1000fce2
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fcd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000fcd8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x240]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x260]
movups xmmword [ebp - 0x260], xmm0
call fcn.10017e60
test al, al
je 0x1000fe91
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x3c4], 0
xor eax, eax
mov dword [ebp - 0x3c0], 0
push str.6.1.7601.24382
lea ecx, [ebp - 0x3d4]
mov dword [ebp - 0x3c4], 0
movups xmmword [ebp - 0x3e4], xmm0
mov dword [ebp - 0x3c0], 7
mov word [ebp - 0x3d4], ax
call fcn.10006290
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0x3e4]
call fcn.10017e60
test al, al
sete al
mov byte [ebp - 0x3b9], al
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x3c0]
cmp edx, 8
jb 0x1000fddd
mov ecx, dword [ebp - 0x3d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fdcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000fdcd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
mov al, byte [ebp - 0x3b9]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3c0], 7
mov word [ebp - 0x3d4], cx
test al, al
jne 0x1000fe91
mov eax, dword [ebp - 0x3e4]
cmp eax, dword [ebp - 0x260]
jl 0x1000fe88
jg 0x1000fe40
mov eax, dword [ebp - 0x3e0]
cmp eax, dword [ebp - 0x25c]
jl 0x1000fe88
jg 0x1000fe40
mov eax, dword [ebp - 0x3dc]
cmp eax, dword [ebp - 0x258]
jl 0x1000fe88
jg 0x1000fe40
mov eax, dword [ebp - 0x3d8]
cmp eax, dword [ebp - 0x254]
jle 0x1000fe88
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x1000ffda
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ffd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ffd0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 0x3b9], 1
jmp 0x1000fe98
mov byte [ebp - 0x3b9], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x1000fede
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000fed4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000fed4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
jmp 0x1001000c
cmp dword [0x1002e7d4], 0
je 0x1000fff3
push 0
mov ecx, 0x1002e7d4
call fcn.1001bcb0
mov eax, dword [0x1002e7d4]
cmp byte [eax + 0x54], 0
je 0x1000fff3
cmp dword [eax + 0x58], 2
jb 0x1000fff3
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x3b9], al
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov byte [ebp - 4], 0x15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x240]
push str.DVRMON:_Get_file_version_info_open_file_failed__d_.
push eax
call fcn.1001ce20
add esp, 0xc
lea eax, [ebp - 0x240]
mov ecx, 0x1002e7d4
push 0x172
push str.RC::RCMicrosoftPatchesUtils::IsKB4474419ValidByCheckCrypt32Version
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcmicrosoftpatches_rcmicrosoftpatchesutils.cpp
push eax
push 2
call fcn.1001c8b0
cmp byte [ebp - 0x3b9], 0
je 0x1000fe40
lea eax, [ebp - 0x240]
mov ecx, 0x1002e7d4
push eax
call fcn.1001cc50
jmp 0x1000fe40
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x10010005
push dword [ebp - 0x244]
call eax
mov byte [ebp - 0x3b9], 0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x284]
cmp edx, 8
jb 0x10010050
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010046
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fe82
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x100100b1
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100100a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fe82
push edx
push ecx
call fcn.1001f38a
add esp, 8
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x100100e4
push dword [ebp - 0x244]
call eax
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x10010108
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x250]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x250], ecx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x10010130
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x250]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b8]
call fcn.100130a0
mov al, byte [ebp - 0x3b9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001f349
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret