Function at 0x4f6be4
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x624bd7
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 + 0x204]
call fcn.005fbc32
mov ecx, dword [0x6f175c]
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.0x4f6c1a.9
jmp dword [eax*4 + 0x4f710c]
mov ebx, dword [esp + 0x278]
mov ecx, dword [esi + 0x98]
push 1
push ebx
call fcn.00416c80
test eax, eax
jne 0x4f6cef
mov eax, dword [0x6f62f8]
cmp eax, ebp
jne 0x4f6c4c
mov eax, 0x6f62fc
push 0x6c75e0
push eax
lea edx, [esp + 0x64]
push 0x6c653c
push edx
call fcn.005e60ec
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x4f6cce
mov ecx, dword [0x6f175c]
mov dword [esp + 0x14], ecx
mov edx, dword [0x6f6af4]
push 1
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x278], 1
call fcn.005fa6fb
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0x30
push 0x6c5020
push ecx
mov ecx, esi
call fcn.005ff927
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 0
call fcn.006018cc
mov dword [esp + 0x26c], edi
jmp 0x4f70e5
mov edx, dword [0x6f7474]
push 0x40
push 0x6c5020
push edx
mov ecx, esi
call fcn.005ff927
mov dword [esp + 0x26c], edi
jmp 0x4f70e5
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x4f6d24
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebp, dword [ecx]
cmp dword [ebp + 8], 1
je 0x4f6d1e
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f6d03
mov ecx, dword [esi + 0x98]
jmp 0x4f70d5
mov eax, dword [edi + eax*4]
mov dword [eax + 0xc], ebx
mov ecx, dword [esi + 0x98]
jmp 0x4f70d5
push str.Mozilla
lea ecx, [esp + 0x14]
call fcn.00601a55
jmp case.0x4f6c1a.9
push str.NETSCP
lea ecx, [esp + 0x14]
call fcn.00601a55
jmp case.0x4f6c1a.9
push str.Flock
lea ecx, [esp + 0x14]
call fcn.00601a55
jmp case.0x4f6c1a.9
push str.MozillaFirebird
lea ecx, [esp + 0x14]
call fcn.00601a55
jmp case.0x4f6c1a.9
push str.NETSCAPE
lea ecx, [esp + 0x14]
call fcn.00601a55
jmp case.0x4f6c1a.9
push str.navigator
lea ecx, [esp + 0x14]
call fcn.00601a55
jmp case.0x4f6c1a.9
push str.Orca
lea ecx, [esp + 0x14]
call fcn.00601a55
jmp case.0x4f6c1a.9
cmp dword [esp + 0x278], ebp
je case.0x4f6c1a.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.0040f060
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, ebp
je case.0x4f6c1a.9
cmp dword [esp + 0x20], ebp
jne 0x4f6df7
cmp dword [esp + 0x1c], ebp
jne 0x4f6df7
cmp dword [esp + 0x24], ebp
je case.0x4f6c1a.3
xor edi, edi
cmp dword [esp + 0x278], ebp
je 0x4f6e47
cmp edi, ebp
push ebp
je 0x4f6eb1
mov edx, dword [0x6f6da8]
mov eax, dword [0x6f6bfc]
push edx
push eax
mov ecx, esi
call fcn.005ff927
mov edx, dword [esi + 0x220]
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 0x4f70da
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x98]
push edx
add ecx, 4
call fcn.0040d230
cmp eax, ebp
jne 0x4f707f
cmp dword [esp + 0x278], ebp
je 0x4f70da
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x14], ebp
call fcn.0041b360
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x4f6ed8
mov ebx, dword [ecx + 0x24]
mov edx, ebx
mov ecx, dword [edx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ecx + 8]
je 0x4f6ec7
inc eax
add edx, 4
cmp eax, edi
jl 0x4f6e9a
xor ebp, ebp
jmp 0x4f6ed8
mov eax, dword [0x6f6da8]
mov ecx, dword [0x6f6998]
push eax
push ecx
mov ecx, esi
call fcn.005ff927
jmp case.0x4f6c1a.9
mov eax, dword [ebx + eax*4]
xor ebp, ebp
cmp dword [eax + 0x1c], ebp
jle 0x4f6ed8
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], ebp
jne 0x4f7000
mov eax, dword [0x6f175c]
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.0041a5f0
test eax, eax
jne 0x4f6f1a
push str.this
lea ecx, [esp + 0x20]
call fcn.00601a55
mov eax, dword [0x6f175c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x6f6dac]
push ecx
lea eax, [esp + 0x24]
mov bl, 3
push edx
push eax
mov byte [esp + 0x278], bl
call fcn.005fa6fb
mov ecx, dword [0x6f6da8]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push ebp
push ecx
push edx
mov ecx, esi
call fcn.005ff927
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.0041ed80
test eax, eax
jne 0x4f6fce
push ebp
push edi
mov ecx, esi
call fcn.004f7240
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.006018cc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.006018cc
jmp 0x4f70da
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.006018cc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.006018cc
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.0041a290
test eax, eax
jne 0x4f702e
mov ecx, dword [esp + 0x18]
push ebp
push ecx
mov ecx, esi
call fcn.004f7240
jmp 0x4f70da
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x4f7077
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebx, dword [ecx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ebx + 8]
je 0x4f705d
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f7042
mov ecx, dword [esi + 0x98]
jmp 0x4f70d5
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 0x4f70d5
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x4f70d5
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 0x4f70aa
inc eax
add edx, 4
cmp eax, edi
jl 0x4f7095
jmp 0x4f70d5
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 0x4f70d5
inc edx
cmp edx, eax
jl 0x4f70d0
call fcn.0041e9b0
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.006018cc
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x260
ret 8