Function at 0x401dd0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [0x41e2b0]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [0x41e2a0]
mov dword [ebp - 0x4c], ecx
mov cl, byte [0x41e2aa]
mov byte [ebp - 0x42], cl
mov ecx, dword [0x41e290]
mov dword [ebp - 0x6c], ecx
mov ecx, 0xa
mov esi, str.SoftwareNetscapeNetscape_Navigator_biff
lea edi, [ebp - 0xd4]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [str.CurrentUser]
mov edx, dword [0x41e2b4]
movsw word es:[edi], word [esi]
mov ecx, 9
mov esi, str.SOFTWARENetscapeNetscape_Navigator_
lea edi, [ebp - 0xa8]
mov dword [ebp - 0x80], eax
mov eax, dword [str.CurrentVersion]
mov dword [ebp - 0x78], edx
mov edx, dword [0x41e2a4]
mov dword [ebp - 0x50], eax
mov ax, word [0x41e2a8]
mov dword [ebp - 0x48], edx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [str.Install_Directory]
mov word [ebp - 0x44], ax
mov eax, dword [0x41e28c]
mov dword [ebp - 0x74], edx
mov edx, dword [0x41e294]
mov dword [ebp - 0x70], eax
mov ax, word [0x41e298]
mov word [ebp - 0x64], ax
mov eax, dword [0x41e440]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x18], eax
movsw word es:[edi], word [esi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x80]
push ecx
lea eax, [ebp - 0xd4]
push edx
push eax
push 0x80000001
mov byte [ebp - 4], 2
call fcn.004022b0
add esp, 0x10
test eax, eax
jne 0x401f03
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041060d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0041060d
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0041060d
xor eax, eax
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 - 0x14]
lea edx, [ebp - 0x50]
push ecx
lea eax, [ebp - 0xa8]
push edx
push eax
push 0x80000002
call fcn.004022b0
add esp, 0x10
test eax, eax
je 0x401ec9
mov ecx, dword [0x41e440]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 3
call fcn.0041067b
lea eax, [ebp - 0x14]
push str.Main
lea ecx, [ebp - 0x34]
push eax
push ecx
mov byte [ebp - 4], 4
call fcn.00410815
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00410924
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0041060d
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x74]
push edx
push eax
push ecx
push 0x80000002
call fcn.004022b0
add esp, 0x10
test eax, eax
jne 0x401fa8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041060d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0041060d
jmp 0x401ec9
mov edx, dword [0x41e440]
mov dword [ebp - 0x2c], edx
push 0x5c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0040f986
or edi, 0xffffffff
cmp eax, edi
je 0x40212c
inc eax
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040f90e
push str.Users_
lea ecx, [ebp - 0x3c]
push eax
push ecx
mov byte [ebp - 4], 7
call fcn.00410815
lea edx, [ebp - 0x18]
mov bl, 8
push edx
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], bl
push eax
call fcn.004107af
push str.prefs.js
lea ecx, [ebp - 0x34]
push eax
push ecx
mov byte [ebp - 4], 9
call fcn.00410815
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004106fa
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.0041060d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.0041060d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 7
call fcn.0041060d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0041060d
mov edx, dword [0x41e440]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
je 0x4020de
lea ecx, [ebp - 0x60]
call fcn.004109b3
mov ecx, dword [ebp - 0x2c]
push 0
push 0x20
push ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call fcn.00410ac5
test eax, eax
je 0x4020bf
lea ecx, [ebp - 0x60]
call fcn.00410dbf
mov esi, eax
lea ecx, [ebp - 0x20]
lea edx, [esi + 1]
push edx
call fcn.0041093c
mov ebx, eax
push esi
push ebx
lea ecx, [ebp - 0x60]
call fcn.00410be2
lea ecx, [ebp - 0x60]
call fcn.00410ce0
push edi
lea ecx, [ebp - 0x20]
mov byte [ebx + esi], 0
call fcn.0041098b
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.00410a08
jmp 0x4020de
mov eax, dword [ebp - 0x20]
mov ebx, 0xb
mov dword [ebp - 4], ebx
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402120
push str._browser.bookmark_location____
lea ecx, [ebp - 0x30]
call fcn.0041067b
mov ecx, dword [ebp - 0x30]
push 0
push ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.0040f9a8
mov esi, eax
cmp esi, edi
jne 0x402186
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.0041060d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0041060d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0041060d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041060d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0041060d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041060d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0041060d
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.0041060d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp + 8]
add esi, dword [edx - 8]
mov ecx, dword [ebp - 0x20]
mov al, byte [ecx + esi]
cmp al, 0x22
mov byte [ebp + 8], al
je 0x4021b6
cmp al, 0x5c
jne 0x4021a8
cmp byte [ecx + esi + 1], 0x5c
jne 0x4021a8
inc esi
mov eax, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.0041090f
inc esi
jmp 0x40218f
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or esi, 0xffffffff
mov byte [ebp - 4], bl
cmp eax, esi
lea ecx, [ebp - 0x30]
jne 0x402237
call fcn.0041060d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0041060d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0041060d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041060d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0041060d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041060d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0041060d
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.0041060d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041060d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0041060d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0041060d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041060d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0041060d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0041060d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0041060d
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.0041060d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret