Function at 0x4517e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2ac], edi
cmp eax, edi
je 0x451c03
lea ecx, [ebp - 0x284]
call fcn.00450c30
xor eax, eax
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x270]
mov esi, 7
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x238], edi
cmp eax, 2
jbe 0x451877
push 0xffffffffffffffff
add eax, 0xfffffffe
push eax
lea edx, [ebp - 0x284]
xor ecx, ecx
push edx
lea eax, [ebp - 0x2a4]
lea ebx, [edi + 1]
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x290], edi
mov word [ebp - 0x2a0], cx
call fcn.004018f0
lea eax, [ebp - 0x2a4]
jmp 0x4518a7
xor eax, eax
mov dword [ebp - 0x218], esi
mov word [ebp - 0x22c], ax
push edi
mov eax, 0x51c620
lea esi, [ebp - 0x230]
mov ebx, 2
mov dword [ebp - 0x21c], edi
call fcn.004017f0
mov eax, esi
lea esi, [ebx + 5]
push 0xffffffffffffffff
push edi
push eax
lea eax, [ebp - 0x24c]
call fcn.004018f0
test bl, 2
je 0x4518eb
and ebx, 0xfffffffd
cmp dword [ebp - 0x218], 8
jb 0x4518d6
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], edi
mov word [ebp - 0x22c], dx
test bl, 1
je 0x45190b
and ebx, 0xfffffffe
cmp dword [ebp - 0x28c], 8
jb 0x45190b
mov eax, dword [ebp - 0x2a0]
push eax
call fcn.004c097a
add esp, 4
mov eax, dword [ebp - 0x238]
push 0x522e98
mov edi, 2
lea ecx, [ebp - 0x24c]
call fcn.0040efa0
test eax, eax
je 0x451bb3
mov eax, dword [ebp - 0x238]
push 0x522ea0
lea ecx, [ebp - 0x24c]
call fcn.0040efa0
test eax, eax
je 0x451bb3
mov eax, dword [ebp - 0x238]
push 0x522ea8
lea ecx, [ebp - 0x24c]
call fcn.0040efa0
test eax, eax
je 0x451bb3
call fcn.00451c20
test al, al
jne 0x451b8c
push 0x208
lea ecx, [ebp - 0x214]
push 0
push ecx
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x268]
call fcn.0044d670
mov ecx, dword [ebp - 0x264]
mov esi, 8
cmp dword [ebp - 0x250], esi
jae 0x4519b1
lea ecx, [ebp - 0x264]
mov eax, str.10.1.1064.0
call fcn.00408470
test eax, eax
jl 0x451a7b
mov ecx, dword [ebp - 0x264]
cmp dword [ebp - 0x250], esi
jae 0x4519d7
lea ecx, [ebp - 0x264]
mov eax, str.10.1.9999.9
call fcn.00408470
test eax, eax
jge 0x451a7b
lea edx, [ebp - 0x214]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360se6Applicationcomponents_sesvc_sesvc.exe
lea eax, [ebp - 0x214]
push eax
call edi
lea eax, [ebp - 0x214]
lea ecx, [ebp - 0x2a4]
call fcn.00401520
lea eax, [ebp - 0x2a4]
call fcn.0044e7d0
lea esi, [ebp - 0x2a4]
mov byte [ebp - 0x285], al
call fcn.0040f420
cmp byte [ebp - 0x285], 0
je 0x451a57
lea ecx, [ebp - 0x214]
call fcn.00450b20
test al, al
jne 0x451aa1
push 0x103
lea ecx, [ebp - 0x214]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....components_sesvc_sesvc.exe
lea edx, [ebp - 0x214]
push edx
call edi
jmp 0x451aa1
push 0x103
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....components_sesvc_sesvc.exe
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x214]
lea ecx, [ebp - 0x2a4]
call fcn.00401520
lea eax, [ebp - 0x2a4]
or ebx, 4
call fcn.0044e7d0
test al, al
je 0x451ada
lea ecx, [ebp - 0x214]
call fcn.00450b20
mov byte [ebp - 0x285], 1
test al, al
jne 0x451ae1
mov byte [ebp - 0x285], 0
test bl, 4
je 0x451af1
lea esi, [ebp - 0x2a4]
call fcn.0040f420
cmp byte [ebp - 0x285], 0
je 0x451b81
xor edx, edx
lea eax, [ebp - 0x214]
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], dx
call fcn.00401520
lea ebx, [ebp - 0x230]
lea esi, [ebp - 0x2a4]
call fcn.00407e40
call fcn.0040f420
cmp dword [ebp - 0x218], 8
mov ecx, dword [ebp - 0x22c]
jae 0x451b57
lea ecx, [ebp - 0x22c]
mov eax, str.8.1.0.100
call fcn.00408470
test eax, eax
jle 0x451b76
mov edx, dword [ebp - 0x2a8]
lea ecx, [ebp - 0x214]
call fcn.00409670
lea esi, [ebp - 0x230]
call fcn.0040f420
lea esi, [ebp - 0x268]
call fcn.0040f420
lea esi, [ebp - 0x24c]
call fcn.0040f420
lea esi, [ebp - 0x284]
call fcn.0040f420
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
mov esi, 8
cmp dword [ebp - 0x234], esi
jb 0x451bcf
mov eax, dword [ebp - 0x248]
push eax
call fcn.004c097a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], cx
cmp dword [ebp - 0x26c], esi
jb 0x451c03
mov edx, dword [ebp - 0x280]
push edx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret