Function at 0x4f6a60
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x624b77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
mov ebx, dword [esp + 0x268]
push ebp
push esi
mov esi, ecx
push edi
push ebx
lea ecx, [esi + 0x9c]
call fcn.005fce42
mov ecx, dword [0x6cc708]
mov dword [esp + 0x18], eax
mov edi, 1
mov dword [esp + 0x10], ecx
xor ebp, ebp
dec eax
cmp eax, 0xf
mov dword [esp + 0x26c], ebp
ja case.0x4f6aba.9
jmp dword [eax*4 + 0x4f6fac]
mov ebx, dword [esp + 0x278]
mov ecx, dword [esi + 0x98]
push 1
push ebx
call fcn.00416bd0
test eax, eax
jne 0x4f6b8f
mov eax, dword [0x6d1288]
cmp eax, ebp
jne 0x4f6aec
mov eax, 0x6d128c
push 0x6a25e8
push eax
lea edx, [esp + 0x64]
push 0x6a1544
push edx
call fcn.005e72e7
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x4f6b6e
mov ecx, dword [0x6cc708]
mov dword [esp + 0x14], ecx
mov edx, dword [0x6d1aac]
push 1
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x278], 1
call fcn.005fb90b
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0x30
push 0x6a0028
push ecx
mov ecx, esi
call fcn.00600b34
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 0
call fcn.00602ad6
mov dword [esp + 0x26c], edi
jmp 0x4f6f85
mov edx, dword [0x6d242c]
push 0x40
push 0x6a0028
push edx
mov ecx, esi
call fcn.00600b34
mov dword [esp + 0x26c], edi
jmp 0x4f6f85
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x4f6bc4
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebp, dword [ecx]
cmp dword [ebp + 8], 1
je 0x4f6bbe
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f6ba3
mov ecx, dword [esi + 0x98]
jmp 0x4f6f75
mov eax, dword [edi + eax*4]
mov dword [eax + 0xc], ebx
mov ecx, dword [esi + 0x98]
jmp 0x4f6f75
push str.Mozilla
lea ecx, [esp + 0x14]
call fcn.00602c5f
jmp case.0x4f6aba.9
push str.NETSCP
lea ecx, [esp + 0x14]
call fcn.00602c5f
jmp case.0x4f6aba.9
push str.Flock
lea ecx, [esp + 0x14]
call fcn.00602c5f
jmp case.0x4f6aba.9
push str.MozillaFirebird
lea ecx, [esp + 0x14]
call fcn.00602c5f
jmp case.0x4f6aba.9
push str.NETSCAPE
lea ecx, [esp + 0x14]
call fcn.00602c5f
jmp case.0x4f6aba.9
push str.navigator
lea ecx, [esp + 0x14]
call fcn.00602c5f
jmp case.0x4f6aba.9
push str.Orca
lea ecx, [esp + 0x14]
call fcn.00602c5f
jmp case.0x4f6aba.9
cmp dword [esp + 0x278], ebp
je case.0x4f6aba.9
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0040f050
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, ebp
je case.0x4f6aba.9
cmp dword [esp + 0x20], ebp
jne 0x4f6c97
cmp dword [esp + 0x1c], ebp
jne 0x4f6c97
cmp dword [esp + 0x24], ebp
je case.0x4f6aba.3
xor edi, edi
cmp dword [esp + 0x278], ebp
je 0x4f6ce7
cmp edi, ebp
push ebp
je 0x4f6d51
mov edx, dword [0x6d1d60]
mov eax, dword [0x6d1bb4]
push edx
push eax
mov ecx, esi
call fcn.00600b34
mov edx, dword [esi + 0xb8]
lea ecx, [esp + 0x34]
push ecx
push ebx
push 0x102b
push edx
mov dword [esp + 0x54], 0xf000
mov dword [esp + 0x50], 0x1000
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, ebp
jne 0x4f6f7a
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x98]
push edx
add ecx, 4
call fcn.0040d220
cmp eax, ebp
jne 0x4f6f1f
cmp dword [esp + 0x278], ebp
je 0x4f6f7a
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x14], ebp
call fcn.0041b270
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x4f6d78
mov ebx, dword [ecx + 0x24]
mov edx, ebx
mov ecx, dword [edx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ecx + 8]
je 0x4f6d67
inc eax
add edx, 4
cmp eax, edi
jl 0x4f6d3a
xor ebp, ebp
jmp 0x4f6d78
mov eax, dword [0x6d1d60]
mov ecx, dword [0x6d1950]
push eax
push ecx
mov ecx, esi
call fcn.00600b34
jmp case.0x4f6aba.9
mov eax, dword [ebx + eax*4]
xor ebp, ebp
cmp dword [eax + 0x1c], ebp
jle 0x4f6d78
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], ebp
jne 0x4f6ea0
mov eax, dword [0x6cc708]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x98]
push edx
mov byte [esp + 0x274], 2
call fcn.0041a500
test eax, eax
jne 0x4f6dba
push str.this
lea ecx, [esp + 0x20]
call fcn.00602c5f
mov eax, dword [0x6cc708]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x6d1d64]
push ecx
lea eax, [esp + 0x24]
mov bl, 3
push edx
push eax
mov byte [esp + 0x278], bl
call fcn.005fb90b
mov ecx, dword [0x6d1d60]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push ebp
push ecx
push edx
mov ecx, esi
call fcn.00600b34
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov word [esp + 0x2c], bp
mov edi, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x2c]
push edi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0x98]
push esi
mov byte [esp + 0x280], 4
call fcn.0041ec90
test eax, eax
jne 0x4f6e6e
push ebp
push edi
mov ecx, esi
call fcn.004f70e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.00602ad6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.00602ad6
jmp 0x4f6f7a
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.00602ad6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.00602ad6
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x98]
push ebp
push 1
push edx
push eax
call fcn.0041a1a0
test eax, eax
jne 0x4f6ece
mov ecx, dword [esp + 0x18]
push ebp
push ecx
mov ecx, esi
call fcn.004f70e0
jmp 0x4f6f7a
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x4f6f17
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebx, dword [ecx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ebx + 8]
je 0x4f6efd
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f6ee2
mov ecx, dword [esi + 0x98]
jmp 0x4f6f75
mov edx, dword [edi + eax*4]
mov ecx, 1
mov dword [edx + 0x10], ecx
mov edx, dword [esi + 0x98]
mov edx, dword [edx + 0x24]
mov eax, dword [edx + eax*4]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x98]
jmp 0x4f6f75
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x4f6f75
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x24], edx
mov ebx, dword [edx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ebx + 8]
je 0x4f6f4a
inc eax
add edx, 4
cmp eax, edi
jl 0x4f6f35
jmp 0x4f6f75
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x278]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x98]
xor edx, edx
mov esi, dword [ecx + 0x24]
mov eax, dword [esi + eax*4]
mov eax, dword [eax + 0x1c]
test eax, eax
jle 0x4f6f75
inc edx
cmp edx, eax
jl 0x4f6f70
call fcn.0041e8c0
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00602ad6
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x260
ret 8