Function at 0x4d520c
Capabilities:
Check if file exists

Disassembly:
push 0x338
mov eax, 0x589798
call fcn.004fb9d0
mov esi, dword [ebp + 0x14]
mov edi, ecx
mov dword [ebp - 4], 2
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x1ac], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.004c3632
test al, al
je 0x4d5285
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x4d573a
push dword [ebp + 0x10]
xor ebx, ebx
mov dword [edi + 8], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d571c
push ebx
push dword [ebp + 0x10]
call fcn.004a2394
pop ecx
pop ecx
mov dword [ebp - 0x1b0], eax
cmp eax, ebx
je 0x4d571c
push ebx
lea ecx, [ebp - 0x1cc]
call fcn.00445a94
mov byte [ebp - 4], 8
push 1
push 0x40
push 1
push dword [ebp - 0x1b0]
lea ecx, [ebp - 0x344]
call fcn.004c4648
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x19c]
call fcn.00442485
mov byte [ebp - 4], 0xa
push 1
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x19c]
call fcn.004433c7
lea ecx, [ebp - 0x344]
call fcn.004b9a8c
push str.children
push str.bookmark_bar
mov ebx, str.roots
push ebx
lea ecx, [ebp - 0x1cc]
call fcn.0044738e
mov ecx, eax
call fcn.0044738e
mov ecx, eax
call fcn.0044738e
push esi
push eax
mov ecx, edi
mov dword [ebp - 0x1b4], eax
call fcn.004cb706
mov esi, dword [edi + 0x20]
mov byte [ebp - 0x19d], al
jmp 0x4d559a
mov ecx, dword [ebp - 0x1b4]
call fcn.0044537e
and dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1ac], eax
test eax, eax
jle 0x4d54b4
push dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1b4]
call fcn.00447112
push 0x5a5800
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x1a4], eax
call fcn.0040f0f0
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0044488a
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1a4]
lea eax, [ebp - 0x1dc]
push eax
push str.type
call fcn.0044738e
mov ecx, eax
call fcn.004452bc
mov byte [ebp - 0x19e], al
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1dc]
call fcn.00445ba5
mov byte [ebp - 4], 0xa
push 0
push 1
lea ecx, [ebp - 0xc8]
call fcn.0040ff10
cmp byte [ebp - 0x19e], 0
je 0x4d549c
mov ecx, dword [ebp - 0x1a4]
lea eax, [ebp - 0xac]
push eax
push 0x5a5800
call fcn.0044738e
mov ecx, eax
call fcn.00445c0c
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x98], 0x10
mov eax, dword [ebp - 0xac]
jae 0x4d543f
lea eax, [ebp - 0xac]
push 0xfde9
push eax
call fcn.004a23e1
pop ecx
pop ecx
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x4d5489
push esi
push 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1b8], esp
push eax
call fcn.0049b524
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov ecx, edi
call fcn.004c383f
push dword [ebp - 0x1a4]
test al, al
jne 0x4d54de
call fcn.004fc324
pop ecx
mov byte [ebp - 4], 0xa
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.0040ff10
inc dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1a8]
cmp eax, dword [ebp - 0x1ac]
jl 0x4d537a
push 0
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 0x19d], 1
call fcn.00445a94
mov byte [ebp - 4], 0xf
cmp dword [esi + 0x60], 8
lea eax, [ebp - 0x1ec]
push eax
jb 0x4d54fc
mov eax, dword [esi + 0x4c]
jmp 0x4d54ff
call fcn.004fc324
pop ecx
mov byte [ebp - 4], 0xa
push 0
push 1
lea ecx, [ebp - 0xac]
call fcn.0040ff10
jmp 0x4d5597
lea eax, [esi + 0x4c]
push ecx
mov ecx, esp
mov dword [ebp - 0x1b8], esp
push eax
call fcn.0043479c
mov byte [ebp - 4], 0x10
cmp dword [esi + 0x44], 8
jb 0x4d551d
mov eax, dword [esi + 0x30]
jmp 0x4d5520
lea eax, [esi + 0x30]
push ecx
mov ecx, esp
mov dword [ebp - 0x1ac], esp
push eax
call fcn.0043479c
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push 0x5a84ac
call fcn.0043479c
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0xf
call fcn.004d16f7
add esp, 0x10
lea eax, [ebp - 0x1ec]
push eax
push str.children
push str.bookmark_bar
push ebx
lea ecx, [ebp - 0x1cc]
call fcn.0044738e
mov ecx, eax
call fcn.0044738e
mov ecx, eax
call fcn.0044738e
mov ecx, eax
call fcn.004472da
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1ec]
call fcn.00445ba5
add esi, 0x68
cmp esi, dword [edi + 0x24]
jne 0x4d535a
cmp byte [ebp - 0x19d], 0
je 0x4d56d8
push 0x7f
lea eax, [ebp - 0x8f]
push 0
push eax
mov byte [ebp - 0x90], 0
call fcn.004fc1f0
lea eax, [ebp - 0x1bc]
push eax
call fcn.0044e006
push dword [eax + 4]
mov ecx, dword [eax]
push ecx
lea eax, [ebp - 0x90]
push str._I64d
push eax
call fcn.004fc76a
add esp, 0x20
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00444827
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x1dc]
push eax
push str.date_modified
push str.bookmark_bar
push ebx
lea ecx, [ebp - 0x1cc]
call fcn.0044738e
mov ecx, eax
call fcn.0044738e
mov ecx, eax
call fcn.0044738e
mov ecx, eax
call fcn.00446c88
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1dc]
call fcn.00445ba5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1b8], esp
push 0x59c030
call fcn.0040f0f0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x11c]
call fcn.0044b070
mov byte [ebp - 4], 0x15
push 1
push 0x40
push 2
push dword [ebp - 0x1b0]
lea ecx, [ebp - 0x294]
call fcn.004b9b77
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0044bd54
lea ecx, [ebp - 0x294]
call fcn.004b9dca
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x234]
call fcn.004b9d87
lea ecx, [ebp - 0x234]
call fcn.004475fc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x11c]
call fcn.0044aca8
push dword [ebp - 0x1b0]
call fcn.004fc324
pop ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x19c]
call fcn.0044283a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2dc]
call fcn.004c4858
lea ecx, [ebp - 0x2dc]
call fcn.004475fc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1cc]
call fcn.00445ba5
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
call fcn.004fba53
ret 0x10