Function at 0x418270
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3948
call fcn.00424090
mov eax, dword [ebp + 8]
push eax
push str._s.
lea ecx, [ebp - 0x1000]
push ecx
call fcn.00423db8
add esp, 0xc
lea edx, [ebp - 0x1148]
push edx
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1004], eax
cmp dword [ebp - 0x1004], 0xffffffff
je 0x418531
push 0x434e7c
lea ecx, [ebp - 0x111c]
push ecx
call fcn.00425f40
add esp, 8
test eax, eax
je 0x418512
push 0x434e80
lea edx, [ebp - 0x111c]
push edx
call fcn.00425f40
add esp, 8
test eax, eax
je 0x418512
mov eax, dword [ebp - 0x1148]
and eax, 0x10
je 0x418366
movsx ecx, byte [ebp - 0x1018]
test ecx, ecx
je 0x41832b
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x434e84
lea ecx, [ebp - 0x1000]
push ecx
call fcn.00423db8
add esp, 0x10
jmp 0x41834a
lea edx, [ebp - 0x111c]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x434e8c
lea ecx, [ebp - 0x1000]
push ecx
call fcn.00423db8
add esp, 0x10
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1000]
push ecx
call fcn.00418270
add esp, 0xc
jmp 0x418512
push str.prefs.js
lea edx, [ebp - 0x111c]
push edx
call fcn.004301ee
add esp, 8
test eax, eax
jne 0x418512
mov eax, dword [ebp + 8]
push eax
push str._sprefs.js
lea ecx, [ebp - 0x2148]
push ecx
call fcn.00423db8
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str._sprefs.bk_
lea eax, [ebp - 0x3548]
push eax
call fcn.00423db8
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2548]
push ecx
lea edx, [ebp - 0x2148]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4183da
movsx eax, byte [ebp - 0x2548]
test eax, eax
jne 0x4183f0
lea ecx, [ebp - 0x2148]
push ecx
lea edx, [ebp - 0x2548]
push edx
call fcn.00423c20
add esp, 8
push 0x400
lea eax, [ebp - 0x3948]
push eax
lea ecx, [ebp - 0x3548]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x418418
movsx edx, byte [ebp - 0x3948]
test edx, edx
jne 0x41842e
lea eax, [ebp - 0x3548]
push eax
lea ecx, [ebp - 0x3948]
push ecx
call fcn.00423c20
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x3948]
push ecx
lea edx, [ebp - 0x2548]
push edx
call fcn.00417610
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push str._s_bookmarks.html
lea ecx, [ebp - 0x2148]
push ecx
call fcn.00423db8
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str._s_bookmarks.bk_
lea eax, [ebp - 0x3548]
push eax
call fcn.00423db8
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x2548]
push ecx
lea edx, [ebp - 0x2148]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4184a4
movsx eax, byte [ebp - 0x2548]
test eax, eax
jne 0x4184ba
lea ecx, [ebp - 0x2148]
push ecx
lea edx, [ebp - 0x2548]
push edx
call fcn.00423c20
add esp, 8
push 0x400
lea eax, [ebp - 0x3948]
push eax
lea ecx, [ebp - 0x3548]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4184e2
movsx edx, byte [ebp - 0x3948]
test edx, edx
jne 0x4184f8
lea eax, [ebp - 0x3548]
push eax
lea ecx, [ebp - 0x3948]
push ecx
call fcn.00423c20
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x3948]
push eax
lea ecx, [ebp - 0x2548]
push ecx
call fcn.00417b50
add esp, 0xc
lea edx, [ebp - 0x1148]
push edx
mov eax, dword [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41852c
jmp 0x418531
jmp 0x4182af
cmp dword [ebp - 0x1004], 0xffffffff
je 0x418547
mov ecx, dword [ebp - 0x1004]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esp, ebp
pop ebp
ret