Function at 0x10011ad0
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 0x100247a2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3d8
mov eax, dword [0x10030008]
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.10010980
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x10011d28
cmp dword [ebp - 0x244], 0
jne 0x10011d28
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 0x10011dc2
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 0x10011da0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.10006940
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.10006940
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x240]
push eax
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x298]
call fcn.100196b0
add esp, 4
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x10011e6a
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011e60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011e60
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002167a
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.10015870
test al, al
je 0x100121f0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10015810
mov byte [ebp - 4], 0x12
cmp dword [0x100307e0], 0
je 0x10011fef
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
cmp byte [eax + 0x54], 0
je 0x10011fef
cmp dword [eax + 0x58], 2
jb 0x10011fef
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.1001f110
add esp, 0xc
lea eax, [ebp - 0x268]
mov ecx, 0x100307e0
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.1001eba0
cmp byte [ebp - 0x3b9], 0
je 0x10011f8c
lea eax, [ebp - 0x268]
mov ecx, 0x100307e0
push eax
call fcn.1001ef40
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x10011fd2
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011fc8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011fc8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002167a
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.1001a140
test al, al
je 0x10012181
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.10006940
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0x3e4]
call fcn.1001a140
test al, al
sete al
mov byte [ebp - 0x3b9], al
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x3c0]
cmp edx, 8
jb 0x100120cd
mov ecx, dword [ebp - 0x3d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100120bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100120bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002167a
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 0x10012181
mov eax, dword [ebp - 0x3e4]
cmp eax, dword [ebp - 0x260]
jl 0x10012178
jg 0x10012130
mov eax, dword [ebp - 0x3e0]
cmp eax, dword [ebp - 0x25c]
jl 0x10012178
jg 0x10012130
mov eax, dword [ebp - 0x3dc]
cmp eax, dword [ebp - 0x258]
jl 0x10012178
jg 0x10012130
mov eax, dword [ebp - 0x3d8]
cmp eax, dword [ebp - 0x254]
jle 0x10012178
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x100122ca
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100122c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100122c0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 0x3b9], 1
jmp 0x10012188
mov byte [ebp - 0x3b9], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x100121ce
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100121c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100121c4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002167a
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
jmp 0x100122fc
cmp dword [0x100307e0], 0
je 0x100122e3
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
cmp byte [eax + 0x54], 0
je 0x100122e3
cmp dword [eax + 0x58], 2
jb 0x100122e3
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.1001f110
add esp, 0xc
lea eax, [ebp - 0x240]
mov ecx, 0x100307e0
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.1001eba0
cmp byte [ebp - 0x3b9], 0
je 0x10012130
lea eax, [ebp - 0x240]
mov ecx, 0x100307e0
push eax
call fcn.1001ef40
jmp 0x10012130
push edx
push ecx
call fcn.1002167a
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 0x100122f5
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 0x10012340
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012172
push edx
push ecx
call fcn.1002167a
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 0x100123a1
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012397
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012172
push edx
push ecx
call fcn.1002167a
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 0x100123d4
push dword [ebp - 0x244]
call eax
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x100123f8
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 0x10012420
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.10015390
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.10021639
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret