Function at 0x4939b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ca1d
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x63c]
mov dword [ebp - 0x6b0], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x694], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x690], eax
movups xmmword [ebp - 0x63c], xmm0
mov dword [ebp - 0x62c], 0
call fcn.004f18f5
mov dword [ebp - 4], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x493a33
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x6a0], edi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x688]
push 0x4c
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x688]
push 0
push 6
call fcn.00464860
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x658]
push 0
mov dword [ebp - 0x688], 0x54ac1c
mov dword [ebp - 0x658], 0x546fe8
call fcn.00497c10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x688]
call fcn.00465070
mov dword [ebp - 0x698], eax
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x493ab8
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x6a4], esi
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x698]
mov dword [ebp - 0x69c], 1
mov dword [ebp - 0x6a8], 0
test edx, edx
jle 0x493c57
nop
push 0
push dword [ebp - 0x634]
lea ecx, [ebp - 0x63c]
call fcn.004f1c56
push 0
push 0
push 0
lea eax, [ebp - 0x68c]
push eax
push dword [ebp - 0x6a8]
lea ecx, [ebp - 0x688]
call fcn.00464dc0
test eax, eax
je 0x493bd9
push 1
lea eax, [ebp - 0x420]
push eax
push 0
push dword [ebp - 0x68c]
call fcn.00420df0
add esp, 0x10
test eax, eax
je 0x493bd9
mov ecx, dword [ebp - 0x6a8]
test ecx, ecx
js 0x493c15
cmp ecx, dword [ebp - 0x634]
jge 0x493c15
mov eax, dword [ebp - 0x638]
lea edx, [eax + ecx*4]
lea ecx, [ebp - 0x420]
lea eax, [ecx + 2]
mov dword [ebp - 0x6ac], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493b80
sub ecx, dword [ebp - 0x6ac]
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00403910
cmp dword [esi - 0xc], 0
jne 0x493c1a
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493bb1
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6a4]
call fcn.00403910
mov esi, dword [ebp - 0x6a4]
mov ecx, dword [ebp - 0x69c]
mov eax, dword [ebp - 0x6a8]
mov edx, dword [ebp - 0x698]
inc eax
mov dword [ebp - 0x6a8], eax
cmp eax, edx
jl 0x493af0
test ecx, ecx
je 0x493c57
test edx, edx
jle 0x493c57
cmp dword [ebp - 0x634], 0
mov dword [ebp - 0x698], 1
jg 0x493c3f
call fcn.004e6c7b
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.0050d5a0
mov ecx, dword [ebp - 0x69c]
xor edx, edx
add esp, 8
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x69c], ecx
jmp 0x493bdf
mov ecx, dword [ebp - 0x638]
lea eax, [ebp - 0x6a4]
push eax
call fcn.00406a00
mov edx, dword [ebp - 0x698]
mov eax, edx
sub eax, 0
je 0x49428e
sub eax, 1
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x690]
push dword [ebp - 0x694]
je 0x493ffe
call fcn.0048f340
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00416090
lea ecx, [ebp - 0x218]
add esp, 0x1c
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x493ca4
mov eax, dword [0x549dfc]
mov dword [ecx], eax
mov eax, dword [0x549e00]
mov dword [ecx + 4], eax
mov ax, word [0x549e04]
mov word [ecx + 8], ax
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00415fb0
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x690]
push dword [ebp - 0x694]
call fcn.0048f340
push 0
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00415ef0
add esp, 0x24
test eax, eax
jne 0x493d64
mov byte [ebp - 4], 5
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x493d29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x688], 0x54ac1c
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x658], 0x546fe8
call fcn.00497e20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x688]
call fcn.004648f0
jmp 0x4942e2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493d70
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6a0]
call fcn.00403910
mov edi, dword [ebp - 0x6a0]
xor esi, esi
mov dword [ebp - 0x690], esi
cmp dword [ebp - 0x698], esi
jle 0x4941ff
nop dword [eax]
test esi, esi
js 0x493c15
cmp esi, dword [ebp - 0x634]
jge 0x493c15
mov eax, dword [ebp - 0x638]
lea eax, [eax + esi*4]
mov dword [ebp - 0x6ac], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x493f6c
push 0
push 0
push 0
lea eax, [ebp - 0x68c]
push eax
push esi
lea ecx, [ebp - 0x688]
call fcn.00464dc0
test eax, eax
je 0x493f6c
call fcn.004e817d
mov ecx, eax
test ecx, ecx
je 0x493a29
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x694], eax
mov byte [ebp - 4], 0x19
push 0x2f6c
call fcn.004a59b0
add esp, 4
test eax, eax
je 0x493e50
push dword [ebp - 0x68c]
lea eax, [ebp - 0x694]
push 0x2f6c
push eax
call fcn.00496990
add esp, 0xc
jmp 0x493e7f
mov edx, dword [ebp - 0x68c]
test edx, edx
jne 0x493e5e
xor ecx, ecx
jmp 0x493e72
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493e63
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x694]
call fcn.00403910
mov esi, dword [ebp - 0x694]
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
push edi
call fcn.0048f340
lea ecx, [ebp - 0x218]
add esp, 0x10
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x493ea4
mov eax, dword [0x549dfc]
mov dword [ecx], eax
mov eax, dword [0x549e00]
mov dword [ecx + 4], eax
mov ax, word [0x549e04]
mov word [ecx + 8], ax
xor eax, eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x104
lea eax, [ebp - 0x628]
push eax
push str.explorer.exe
push eax
call fcn.0048f340
mov eax, dword [ebp - 0x6ac]
push dword [eax]
lea eax, [ebp - 0x420]
push str._e___s_
push eax
call fcn.00405510
mov ecx, dword [ebp - 0x6b0]
lea eax, [ebp - 0x628]
add esp, 0x1c
push 0
push 0
push 1
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push 0
push str.explorer.exe
lea eax, [ebp - 0x218]
push eax
call fcn.00470780
test eax, eax
je 0x493f84
mov byte [ebp - 4], 7
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x493f66
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x690]
inc esi
mov dword [ebp - 0x690], esi
cmp esi, dword [ebp - 0x698]
jl 0x493db0
jmp 0x4941ff
mov byte [ebp - 4], 7
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x493fa2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0x6a4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x493fc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x688], 0x54ac1c
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x658], 0x546fe8
call fcn.00497e20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x688]
call fcn.004648f0
jmp 0x4942e2
call fcn.0048f340
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00416070
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x690]
push dword [ebp - 0x694]
call fcn.0048f340
lea ecx, [ebp - 0x218]
add esp, 0x28
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x494040
mov eax, dword [0x549dfc]
mov dword [ecx], eax
mov eax, dword [0x549e00]
mov dword [ecx + 4], eax
movzx eax, word [0x549e04]
mov word [ecx + 8], ax
xor eax, eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x104
lea eax, [ebp - 0x628]
push eax
push str.explorer.exe
push eax
call fcn.0048f340
movq xmm0, qword [str._e__]
lea ecx, [ebp - 0x420]
movzx eax, word [0x550508]
lea edx, [ecx + 2]
add esp, 0x10
movq qword [ebp - 0x420], xmm0
mov word [ebp - 0x418], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4940c2
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push 1
lea eax, [eax + ecx*2]
push eax
push 0
call fcn.00420db0
add esp, 0xc
test eax, eax
jne 0x494144
mov byte [ebp - 4], 5
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494109
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x688], 0x54ac1c
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x658], 0x546fe8
call fcn.00497e20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x688]
call fcn.004648f0
jmp 0x4942e2
lea edi, [ebp - 0x420]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x494150
mov eax, dword [0x547170]
mov ecx, dword [ebp - 0x6b0]
push 0
push 0
push 1
mov dword [edi], eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
push 0
push str.explorer.exe
lea eax, [ebp - 0x218]
push eax
call fcn.00470780
test eax, eax
jne 0x4941f9
mov byte [ebp - 4], 5
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4941b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x688], 0x54ac1c
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x658], 0x546fe8
call fcn.00497e20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x688]
call fcn.004648f0
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x6a0]
jmp 0x4942e6
mov edi, dword [ebp - 0x6a0]
mov byte [ebp - 4], 5
or esi, 0xffffffff
mov edx, dword [ebp - 0x6a4]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494223
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x688], 0x54ac1c
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x658], 0x546fe8
call fcn.00497e20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x688]
call fcn.004648f0
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x494272
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.004f190c
mov eax, 1
jmp 0x49430f
mov byte [ebp - 4], 5
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4942ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x688], 0x54ac1c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x658], 0x546fe8
call fcn.00497e20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x688]
call fcn.004648f0
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4942fb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.004f190c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret