Function at 0x4627b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb3b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa84
push ebx
push esi
push edi
lea eax, [ebp - 0x390]
mov dword [ebp - 0x10], esp
push 0x80
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [ebp - 0x210]
mov eax, ecx
mov esi, edi
mov edi, ebx
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 0x46285c
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 0x515e8c
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4628c2
lea ecx, [ebp - 0x210]
push 0x515e88
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4628c2
lea edx, [ebp - 0x210]
push str.32_svchost
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4628c2
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 - 0x390]
lea ecx, [ebp - 0x310]
push eax
push str._s_svchost__k_DcomLaunch
push ecx
call fcn.004f175f
lea edx, [ebp - 0x210]
lea eax, [ebp - 0x310]
push edx
push eax
call fcn.004f61e0
add esp, 0x14
test eax, eax
jne 0x462912
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 - 0x390]
lea edx, [ebp - 0x310]
push ecx
push str._s_svchost__k_rpcss
push edx
call fcn.004f175f
lea eax, [ebp - 0x210]
lea ecx, [ebp - 0x310]
push eax
push ecx
call fcn.004f61e0
add esp, 0x14
test eax, eax
jne 0x462962
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
mov edi, str._SystemRoot__system32_svchost.exe__k_netsvcs
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 - 0x310]
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
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x4629c2
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
mov edi, str._SystemRoot__system32_svchost.exe__k_NetworkService
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 - 0x310]
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
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x462a22
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
mov edi, str._SystemRoot__system32_svchost.exe__k_LocalService
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 - 0x310]
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
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x462a82
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
mov edi, str._SystemRoot__system32_svchost__k_DcomLaunch
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 - 0x310]
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
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x462ae2
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
mov edi, str.SystemRoot__system32_svchost__k_rpcss
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 - 0x310]
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
push edx
call fcn.004f61e0
add esp, 8
test eax, eax
jne 0x462b42
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_
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x462c09
lea edi, [ebp - 0x210]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x590]
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 - 0x490]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [ebp - 0x490]
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 - 0x490]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x590]
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 0x462bff
mov bl, byte [ebp + eax - 0x584]
lea ecx, [eax + edx]
inc eax
mov byte [ebp + ecx - 0x210], bl
jmp 0x462be4
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 0x462c2b
cmp byte [ebp + ecx - 0x210], al
je 0x462c2b
dec ecx
jmp 0x462c1b
mov byte [ebp + ecx - 0x20c], 0
mov al, byte [ebp - 0x20f]
mov bl, 0x3a
cmp al, bl
je 0x462ded
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 0x462c7a
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x210]
cmp dl, 0x5c
mov byte [ebp + eax - 0x790], dl
jne 0x462c77
cmp eax, 2
jge 0x462c7a
inc eax
jmp 0x462c57
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x462c95
mov cl, byte [ebp + edx - 0x210]
mov byte [ebp + edx - 0xa90], cl
inc edx
jmp 0x462c80
mov byte [ebp + edi - 0xa90], 0
xor esi, esi
cmp esi, eax
jge 0x462cc6
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x20f]
cmp dl, 0x5c
je 0x462cbb
mov byte [ebp + esi - 0x790], dl
jne 0x462cc3
mov byte [ebp + esi - 0x790], 0
inc esi
jmp 0x462c9f
mov byte [ebp + eax - 0x790], 0
lea edi, [ebp - 0x790]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp + ecx - 0x791]
mov cl, byte [ebp + ecx - 0x791]
cmp cl, 0x22
jne 0x462cf4
mov byte [eax], 0
lea edi, [ebp - 0xa90]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp eax, esi
jge 0x462d16
cmp byte [ebp + eax - 0xa90], bl
je 0x462d16
inc eax
jmp 0x462d06
xor edx, edx
mov ecx, esi
sub ecx, eax
inc ecx
cmp edx, ecx
jge 0x462d35
lea ecx, [edx + eax]
inc edx
mov cl, byte [ebp + ecx - 0xa91]
mov byte [ebp + edx - 0x891], cl
jmp 0x462d18
mov edx, esi
sub edx, eax
cmp eax, esi
mov byte [ebp + edx - 0x88f], 0
jne 0x462d89
lea edi, [ebp - 0x210]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x590]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x890]
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 - 0x390]
push ecx
push 0x50d39c
push edx
call fcn.004f175f
add esp, 0xc
lea eax, [ebp - 0x790]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x890]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x590]
push eax
push str._s_s
push edx
call fcn.004f175f
lea edi, [ebp - 0x590]
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 0x462e1f
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 - 0x410]
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 - 0x410]
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 0x462e90
mov edx, ecx
sub edx, eax
mov dl, byte [ebp + edx - 0x210]
cmp dl, 0x5c
mov byte [ebp + eax - 0x790], dl
jne 0x462e8d
cmp eax, 2
jge 0x462e90
inc eax
jmp 0x462e6d
sub ecx, eax
xor edx, edx
mov edi, ecx
cmp edx, edi
jge 0x462eab
mov cl, byte [ebp + edx - 0x210]
mov byte [ebp + edx - 0xa90], cl
inc edx
jmp 0x462e96
mov byte [ebp + edi - 0xa90], 0
xor esi, esi
cmp esi, eax
jge 0x462edc
lea edx, [esi + edi]
mov dl, byte [ebp + edx - 0x20f]
cmp dl, 0x5c
je 0x462ed1
mov byte [ebp + esi - 0x790], dl
jne 0x462ed9
mov byte [ebp + esi - 0x790], 0
inc esi
jmp 0x462eb5
mov byte [ebp + eax - 0x790], 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 - 0x410]
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 - 0x410]
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