Function at 0x44d520
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x674]
sub esp, 0x674
push 0xffffffffffffffff
push 0x4b7376
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4e1370]
xor eax, ebp
mov dword [ebp + 0x670], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x20a
xor edi, edi
lea eax, [ebp + 0x464]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x30], esi
call fcn.00494b20
add esp, 0xc
lea ecx, [ebp + 0x464]
push ecx
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x44da87
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar.lnk
lea edx, [ebp + 0x464]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ebx, [esi + 8]
push ebx
mov dword [ebp - 0x38], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x34], 1
lea eax, [esi + 0x20]
mov dword [ebp - 4], edi
call fcn.0044e390
mov eax, 0x5c
mov word [ebp + 0x458], ax
mov dword [ebp + 0x45c], edi
mov dword [ebp + 0x460], edi
lea eax, [ebp + 0x464]
lea esi, [ebp]
mov byte [ebp - 4], 1
call fcn.0044ff60
test eax, eax
je 0x44da58
lea ecx, [ebp - 0x94]
push ecx
call fcn.00431510
lea edi, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0044d330
lea edx, [ebp - 0x74]
push edx
call fcn.00470370
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 3
call fcn.0044df00
call fcn.00437f50
push eax
call fcn.00437fc0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp]
call fcn.0044feb0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x94]
push edx
mov dword [ebp - 0x14], eax
call fcn.0044e3e0
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0042b530
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 5
mov edi, dword [esi + 0x18]
mov ebx, dword [esi]
push eax
call fcn.0044e690
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x44d68e
cmp eax, ebx
je 0x44d693
call fcn.00490387
cmp dword [esi + 4], edi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d6bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x44d9ce
mov edx, dword [0x4e7464]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e7464
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp]
mov byte [ebp - 4], 6
call fcn.0044fd70
mov eax, dword [eax]
lea edx, [ebp - 0xd0]
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov esi, eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d71d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x44d7f6
xor eax, eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0xcc]
push edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x44d7f6
lea eax, [ebp - 0x54]
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 7
call fcn.0044fd00
mov edi, dword [eax]
mov ebx, dword [eax + 4]
lea esi, [ebp - 0x9c]
call fcn.00408c00
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push 0
sub ecx, edi
push 0x15180
sbb eax, ebx
push eax
push ecx
call fcn.0049e310
test edx, edx
jg 0x44d7df
jl 0x44d790
cmp eax, 7
jae 0x44d7df
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d7b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d7d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
jmp 0x44d9f1
push 0x4ca1b8
lea edi, [ebp - 0x14]
call fcn.00404aa0
add esp, 4
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.0042b530
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea esi, [ebp - 0x74]
mov byte [ebp - 4], 9
call fcn.0042c500
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44d83a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x5c]
test esi, esi
je 0x44d849
cmp esi, dword [ebp - 0x74]
je 0x44d84e
call fcn.00490387
mov edi, dword [ebp - 0x40]
cmp edi, ebx
je 0x44d8e1
test esi, esi
jne 0x44d8b2
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x44d86e
call fcn.00490387
cmp dword [edi + 0x10], 0xe
jb 0x44d9ab
test esi, esi
jne 0x44d8b6
call fcn.00490387
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x44d88d
call fcn.00490387
cmp dword [edi + 0x10], 0xffffffff
jne 0x44d8ba
push str._rN8_u
lea edi, [ebp - 0x14]
call fcn.00404aa0
add esp, 4
jmp 0x44d8e1
mov eax, dword [esi]
jmp 0x44d864
mov eax, dword [esi]
jmp 0x44d883
test esi, esi
jne 0x44d8fd
call fcn.00490387
cmp edi, dword [esi + 0x18]
jne 0x44d8cd
call fcn.00490387
mov ecx, dword [edi + 0x10]
push ecx
push str._rN8_u_
lea edi, [ebp - 0x14]
call fcn.00404aa0
add esp, 8
push 0x4e74e0
push 0x2c
call fcn.00490df2
xor esi, esi
add esp, 8
cmp eax, esi
je 0x44d901
call fcn.0044cc10
jmp 0x44d903
mov esi, dword [esi]
jmp 0x44d8c3
xor eax, eax
push eax
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.00445650
mov bl, 0xa
mov byte [ebp - 4], bl
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x44d977
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp]
call fcn.0044fd70
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax]
push ecx
push edx
push edi
mov edx, eax
call fcn.0044cce0
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d965
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x44d977
mov edi, dword [ebp - 0x30]
add edi, 0x20
lea ebx, [ebp - 0x24]
call fcn.00443a60
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x44d9ab
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x44d9ab
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x44d9ab
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d9ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d9f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x45c]
test eax, eax
je 0x44da1d
cmp dword [ebp + 0x460], 0
je 0x44da1d
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp + 0x460], eax
test eax, eax
jne 0x44d631
lea esi, [ebp - 0x74]
mov byte [ebp - 4], 0xc
call fcn.0042c870
mov edx, dword [ebp - 0x74]
push edx
call fcn.00490210
add esp, 4
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 0xd
call fcn.0044ea70
mov eax, dword [ebp - 0x94]
push eax
call fcn.00490210
mov ebx, dword [ebp - 0x38]
add esp, 4
xor edi, edi
mov eax, dword [ebp + 0x45c]
mov dword [ebp + 0x460], edi
cmp eax, edi
je 0x44da7a
cmp eax, 0xffffffff
je 0x44da7a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp + 0x45c], edi
cmp byte [ebp - 0x34], 0
je 0x44da87
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x670]
xor ecx, ebp
call fcn.0049021b
add ebp, 0x674
mov esp, ebp
pop ebp
ret 4