Function at 0x100128c0
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 0x10025702
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3d8
mov eax, dword [0x10031008]
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.10011770
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x10012b18
cmp dword [ebp - 0x244], 0
jne 0x10012b18
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 0x10012bb2
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 0x10012b90
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.10007130
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.10007130
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x240]
push eax
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x298]
call fcn.1001a3e0
add esp, 4
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x10012c5a
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012c50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012c50
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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.100166b0
test al, al
je 0x10012fe0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10016650
mov byte [ebp - 4], 0x12
cmp dword [0x100317e0], 0
je 0x10012ddf
push 0
mov ecx, 0x100317e0
call fcn.1001ed30
mov eax, dword [0x100317e0]
cmp byte [eax + 0x54], 0
je 0x10012ddf
cmp dword [eax + 0x58], 2
jb 0x10012ddf
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.1001ffc0
add esp, 0xc
lea eax, [ebp - 0x268]
mov ecx, 0x100317e0
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.1001fa50
cmp byte [ebp - 0x3b9], 0
je 0x10012d7c
lea eax, [ebp - 0x268]
mov ecx, 0x100317e0
push eax
call fcn.1001fdf0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x10012dc2
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012db8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012db8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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.1001ae70
test al, al
je 0x10012f71
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.10007130
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0x3e4]
call fcn.1001ae70
test al, al
sete al
mov byte [ebp - 0x3b9], al
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x3c0]
cmp edx, 8
jb 0x10012ebd
mov ecx, dword [ebp - 0x3d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012ead
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012ead
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
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 0x10012f71
mov eax, dword [ebp - 0x3e4]
cmp eax, dword [ebp - 0x260]
jl 0x10012f68
jg 0x10012f20
mov eax, dword [ebp - 0x3e0]
cmp eax, dword [ebp - 0x25c]
jl 0x10012f68
jg 0x10012f20
mov eax, dword [ebp - 0x3dc]
cmp eax, dword [ebp - 0x258]
jl 0x10012f68
jg 0x10012f20
mov eax, dword [ebp - 0x3d8]
cmp eax, dword [ebp - 0x254]
jle 0x10012f68
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x100130ba
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100130b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100130b0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 0x3b9], 1
jmp 0x10012f78
mov byte [ebp - 0x3b9], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x10012fbe
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012fb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012fb4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002251a
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
jmp 0x100130ec
cmp dword [0x100317e0], 0
je 0x100130d3
push 0
mov ecx, 0x100317e0
call fcn.1001ed30
mov eax, dword [0x100317e0]
cmp byte [eax + 0x54], 0
je 0x100130d3
cmp dword [eax + 0x58], 2
jb 0x100130d3
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.1001ffc0
add esp, 0xc
lea eax, [ebp - 0x240]
mov ecx, 0x100317e0
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.1001fa50
cmp byte [ebp - 0x3b9], 0
je 0x10012f20
lea eax, [ebp - 0x240]
mov ecx, 0x100317e0
push eax
call fcn.1001fdf0
jmp 0x10012f20
push edx
push ecx
call fcn.1002251a
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 0x100130e5
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 0x10013130
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013126
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012f62
push edx
push ecx
call fcn.1002251a
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 0x10013191
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013187
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012f62
push edx
push ecx
call fcn.1002251a
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 0x100131c4
push dword [ebp - 0x244]
call eax
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x100131e8
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 0x10013210
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.100161d0
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.100224d9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret