Function at 0x402a10
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 0x49aee7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f4
mov eax, dword [0x4c7008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x250]
lea ecx, [eax + 0x1a]
call fcn.00469c70
test al, al
je 0x402aa3
cmp dword [ebp - 0x240], 0
jne 0x402c26
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x402bfb
cmp dword [0x4c705c], eax
je 0x402bef
push eax
mov ecx, 0x4c7058
call fcn.00408430
mov eax, dword [0x4c705c]
cmp byte [eax + 0x54], 0
je 0x402bef
cmp dword [eax + 0x58], 2
jb 0x402bef
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x2e9], al
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
push 0x19
push str.GetTempFolderPath_failed_
call fcn.004027a0
push 0x25
push str.RC::RCUninstallInfoStat::InitStatData
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhino_safe_srcproductexeuninstallexe_support_rcuninstallinfostat.cpp
lea eax, [ebp - 0x238]
mov ecx, 0x4c7058
push eax
push 2
call fcn.004094f0
cmp byte [ebp - 0x2e9], 0
je 0x402b8c
lea eax, [ebp - 0x238]
mov ecx, 0x4c7058
push eax
call fcn.00409b30
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x402bd2
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bc8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402bc8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 0x2e9], 0
jmp 0x402f47
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402c04
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.004027a0
push 0x13
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x238]
push str.2345SafeCenterData
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.004027a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x304]
call fcn.004699a0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
cmp esi, 0x4c7040
je 0x402cca
mov ecx, 0x4c7040
call fcn.00402730
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x4c7040], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4c7050], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2f0]
cmp edx, 8
jb 0x402d10
mov ecx, dword [ebp - 0x304]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d06
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 7
mov word [ebp - 0x304], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x402d72
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402d68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d68
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
call fcn.00402940
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2d0]
push 5
push str.Unins
call fcn.004027a0
cmp dword [0x4c7054], 8
lea ecx, [ebp - 0x2e8]
push dword [0x4c7050]
mov eax, 0x4c7040
cmovae eax, dword [0x4c7040]
push eax
call fcn.004027a0
push 0xe
push str.t_safe.2345.cc
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 0x25f], 0
call fcn.004027a0
push 0x18
push str._safe_realtime_index.php
lea ecx, [ebp - 0x2a0]
call fcn.004027a0
call fcn.00407120
lea esi, [eax + 8]
lea eax, [ebp - 0x2e8]
cmp esi, eax
je 0x402e2e
cmp dword [ebp - 0x2d4], 8
mov ecx, esi
push dword [ebp - 0x2d8]
cmovae eax, dword [ebp - 0x2e8]
push eax
call fcn.004027a0
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x2d0]
cmp ecx, eax
je 0x402e55
cmp dword [ebp - 0x2bc], 8
push dword [ebp - 0x2c0]
cmovae eax, dword [ebp - 0x2d0]
push eax
call fcn.004027a0
lea ecx, [esi + 0x30]
lea eax, [ebp - 0x2b8]
cmp ecx, eax
je 0x402e7c
cmp dword [ebp - 0x2a4], 8
push dword [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2b8]
push eax
call fcn.004027a0
lea ecx, [esi + 0x48]
lea eax, [ebp - 0x2a0]
cmp ecx, eax
je 0x402ea3
cmp dword [ebp - 0x28c], 8
push dword [ebp - 0x290]
cmovae eax, dword [ebp - 0x2a0]
push eax
call fcn.004027a0
lea ecx, [esi + 0x60]
lea eax, [ebp - 0x288]
cmp ecx, eax
je 0x402eca
cmp dword [ebp - 0x274], 8
push dword [ebp - 0x278]
cmovae eax, dword [ebp - 0x288]
push eax
call fcn.004027a0
mov eax, dword [ebp - 0x270]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x26c]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x268]
mov dword [esi + 0x80], eax
mov eax, dword [ebp - 0x264]
mov dword [esi + 0x84], eax
mov al, byte [ebp - 0x260]
mov byte [esi + 0x88], al
mov al, byte [ebp - 0x25f]
mov byte [esi + 0x89], al
mov eax, dword [ebp - 0x258]
mov dword [esi + 0x90], eax
mov eax, dword [ebp - 0x254]
push ecx
mov dword [esi + 0x94], eax
call fcn.00407120
mov ecx, eax
call fcn.004071b0
mov byte [ebp - 0x2e9], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2e8]
call fcn.00402fd0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x402f90
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402f86
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
mov al, byte [ebp - 0x2e9]
mov dword [ebp - 0x23c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004991a3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret