Function at 0x4621b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb3a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa04
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp - 0x210]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x10], esp
mov eax, ecx
mov esi, edi
mov edi, ebx
mov dword [ebp - 4], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x210]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jge 0x46224a
push edx
lea ecx, [ebp - 0x210]
push 0x515880
push ecx
call fcn.004f175f
lea edx, [ebp - 0x210]
push edx
call fcn.004fa6c0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push str.svchost__k_DcomLaunch
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x462280
push str._Microsoft_Corp
call fcn.004fa6c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push str._SystemRoot__system32_svchost__k_rpcss
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4622b6
push str.Microsoft_Corp
call fcn.004fa6c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x210]
push str._WINDIR_PCHealthHelpCtrBinariespchsvc.dll
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4622ec
push str.Microsoft_Corp
call fcn.004fa6c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push str._SystemRoot_System32wbemWMIsvc.dll
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x462322
push str.Microsoft_Corp
call fcn.004fa6c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push str._ProgramFiles_Windows_Defendermpsvc.dll
push ecx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x462358
push str.Microsoft_Corp
call fcn.004fa6c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x210]
push str._SystemRoot_
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x46241f
lea edi, [ebp - 0x210]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x710]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x290]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [ebp - 0x290]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x210]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x290]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x710]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esi - 0xc]
cmp eax, ecx
jge 0x462415
mov bl, byte [ebp + eax - 0x704]
lea ecx, [eax + edx]
inc eax
mov byte [ebp + ecx - 0x210], bl
jmp 0x4623fa
add esi, edx
mov byte [ebp + esi - 0x21c], 0
lea edi, [ebp - 0x210]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, 0x2e
test ecx, ecx
jle 0x462441
cmp byte [ebp + ecx - 0x210], al
je 0x462441
dec ecx
jmp 0x462431
mov byte [ebp + ecx - 0x20c], 0
mov al, byte [ebp - 0x20f]
mov bl, 0x3a
cmp al, bl
je 0x462627
lea edi, [ebp - 0x210]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x462490
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x210]
cmp dl, 0x5c
mov byte [ebp + eax - 0x510], dl
jne 0x46248d
cmp eax, 2
jge 0x462490
inc eax
jmp 0x46246d
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x4624ab
mov cl, byte [ebp + edx - 0x210]
mov byte [ebp + edx - 0x910], cl
inc edx
jmp 0x462496
mov byte [ebp + edi - 0x910], 0
xor esi, esi
cmp esi, eax
jge 0x4624dc
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x20f]
cmp dl, 0x5c
je 0x4624d1
mov byte [ebp + esi - 0x510], dl
jne 0x4624d9
mov byte [ebp + esi - 0x510], 0
inc esi
jmp 0x4624b5
mov byte [ebp + eax - 0x510], 0
lea edi, [ebp - 0x510]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp + ecx - 0x511]
mov cl, byte [ebp + ecx - 0x511]
cmp cl, 0x22
jne 0x46250a
mov byte [eax], 0
lea edi, [ebp - 0x910]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp eax, esi
jge 0x46252c
cmp byte [ebp + eax - 0x910], bl
je 0x46252c
inc eax
jmp 0x46251c
xor edx, edx
mov ecx, esi
sub ecx, eax
inc ecx
cmp edx, ecx
jge 0x46254b
lea ecx, [edx + eax]
inc edx
mov cl, byte [ebp + ecx - 0x911]
mov byte [ebp + edx - 0x611], cl
jmp 0x46252e
mov edx, esi
sub edx, eax
cmp eax, esi
mov byte [ebp + edx - 0x60f], 0
jne 0x4625c3
lea eax, [ebp - 0x290]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x690]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [ebp - 0x210]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x810]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x610]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x290]
push ecx
push 0x50d39c
push edx
call fcn.004f175f
add esp, 0xc
lea eax, [ebp - 0x510]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x610]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0xa10]
push eax
push str._s_s
push edx
call fcn.004f175f
lea edi, [ebp - 0xa10]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x210]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [ebp - 4], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x210]
push ecx
call fcn.004abe70
add esp, 4
cmp eax, 1
je 0x462659
push 0x516500
call fcn.004fa6c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x5219cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x310]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x210]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x310]
push ecx
push edx
call fcn.004d9590
lea edi, [ebp - 0x210]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp eax, ecx
jge 0x4626ca
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x210]
cmp dl, 0x5c
mov byte [ebp + eax - 0x510], dl
jne 0x4626c7
cmp eax, 2
jge 0x4626ca
inc eax
jmp 0x4626a7
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x4626e5
mov cl, byte [ebp + edx - 0x210]
mov byte [ebp + edx - 0x910], cl
inc edx
jmp 0x4626d0
mov byte [ebp + edi - 0x910], 0
xor esi, esi
cmp esi, eax
jge 0x462716
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x20f]
cmp dl, 0x5c
je 0x46270b
mov byte [ebp + esi - 0x510], dl
jne 0x462713
mov byte [ebp + esi - 0x510], 0
inc esi
jmp 0x4626ef
mov byte [ebp + eax - 0x510], 0
lea eax, [ebp - 0x210]
push eax
call fcn.004bd410
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x310]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x310]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004fa6c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret