Function at 0x4f7860
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x625b27
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.005fdda2
mov ecx, dword [0x6cd768]
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.0x4f78ba.9
jmp dword [eax*4 + 0x4f7dac]
mov ebx, dword [esp + 0x278]
mov ecx, dword [esi + 0x98]
push 1
push ebx
call fcn.00416bb0
test eax, eax
jne 0x4f798f
mov eax, dword [0x6d22e8]
cmp eax, ebp
jne 0x4f78ec
mov eax, 0x6d22ec
push 0x6a35e8
push eax
lea edx, [esp + 0x64]
push 0x6a2544
push edx
call fcn.005e8107
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x4f796e
mov ecx, dword [0x6cd768]
mov dword [esp + 0x14], ecx
mov edx, dword [0x6d2b14]
push 1
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x278], 1
call fcn.005fc86b
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0x30
push 0x6a1028
push ecx
mov ecx, esi
call fcn.00601a97
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 0
call fcn.00603a3c
mov dword [esp + 0x26c], edi
jmp 0x4f7d85
mov edx, dword [0x6d3494]
push 0x40
push 0x6a1028
push edx
mov ecx, esi
call fcn.00601a97
mov dword [esp + 0x26c], edi
jmp 0x4f7d85
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x4f79c4
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebp, dword [ecx]
cmp dword [ebp + 8], 1
je 0x4f79be
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f79a3
mov ecx, dword [esi + 0x98]
jmp 0x4f7d75
mov eax, dword [edi + eax*4]
mov dword [eax + 0xc], ebx
mov ecx, dword [esi + 0x98]
jmp 0x4f7d75
push str.Mozilla
lea ecx, [esp + 0x14]
call fcn.00603bc5
jmp case.0x4f78ba.9
push str.NETSCP
lea ecx, [esp + 0x14]
call fcn.00603bc5
jmp case.0x4f78ba.9
push str.Flock
lea ecx, [esp + 0x14]
call fcn.00603bc5
jmp case.0x4f78ba.9
push str.MozillaFirebird
lea ecx, [esp + 0x14]
call fcn.00603bc5
jmp case.0x4f78ba.9
push str.NETSCAPE
lea ecx, [esp + 0x14]
call fcn.00603bc5
jmp case.0x4f78ba.9
push str.navigator
lea ecx, [esp + 0x14]
call fcn.00603bc5
jmp case.0x4f78ba.9
push str.Orca
lea ecx, [esp + 0x14]
call fcn.00603bc5
jmp case.0x4f78ba.9
cmp dword [esp + 0x278], ebp
je case.0x4f78ba.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.0040f030
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, ebp
je case.0x4f78ba.9
cmp dword [esp + 0x20], ebp
jne 0x4f7a97
cmp dword [esp + 0x1c], ebp
jne 0x4f7a97
cmp dword [esp + 0x24], ebp
je case.0x4f78ba.3
xor edi, edi
cmp dword [esp + 0x278], ebp
je 0x4f7ae7
cmp edi, ebp
push ebp
je 0x4f7b51
mov edx, dword [0x6d2dc8]
mov eax, dword [0x6d2c1c]
push edx
push eax
mov ecx, esi
call fcn.00601a97
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 0x4f7d7a
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x98]
push edx
add ecx, 4
call fcn.0040d200
cmp eax, ebp
jne 0x4f7d1f
cmp dword [esp + 0x278], ebp
je 0x4f7d7a
mov ecx, dword [esi + 0x98]
mov dword [esp + 0x14], ebp
call fcn.0041b250
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x4f7b78
mov ebx, dword [ecx + 0x24]
mov edx, ebx
mov ecx, dword [edx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ecx + 8]
je 0x4f7b67
inc eax
add edx, 4
cmp eax, edi
jl 0x4f7b3a
xor ebp, ebp
jmp 0x4f7b78
mov eax, dword [0x6d2dc8]
mov ecx, dword [0x6d29b8]
push eax
push ecx
mov ecx, esi
call fcn.00601a97
jmp case.0x4f78ba.9
mov eax, dword [ebx + eax*4]
xor ebp, ebp
cmp dword [eax + 0x1c], ebp
jle 0x4f7b78
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], ebp
jne 0x4f7ca0
mov eax, dword [0x6cd768]
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.0041a4e0
test eax, eax
jne 0x4f7bba
push str.this
lea ecx, [esp + 0x20]
call fcn.00603bc5
mov eax, dword [0x6cd768]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x6d2dcc]
push ecx
lea eax, [esp + 0x24]
mov bl, 3
push edx
push eax
mov byte [esp + 0x278], bl
call fcn.005fc86b
mov ecx, dword [0x6d2dc8]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push ebp
push ecx
push edx
mov ecx, esi
call fcn.00601a97
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.0041ec70
test eax, eax
jne 0x4f7c6e
push ebp
push edi
mov ecx, esi
call fcn.004f7ee0
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.00603a3c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.00603a3c
jmp 0x4f7d7a
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], bl
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 2
call fcn.00603a3c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 0
call fcn.00603a3c
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.0041a180
test eax, eax
jne 0x4f7cce
mov ecx, dword [esp + 0x18]
push ebp
push ecx
mov ecx, esi
call fcn.004f7ee0
jmp 0x4f7d7a
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edx, dword [ecx + 0x28]
cmp edx, ebp
jle 0x4f7d17
mov edi, dword [ecx + 0x24]
mov ecx, edi
mov ebx, dword [ecx]
mov ebp, dword [esp + 0x18]
cmp ebp, dword [ebx + 8]
je 0x4f7cfd
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f7ce2
mov ecx, dword [esi + 0x98]
jmp 0x4f7d75
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 0x4f7d75
mov ecx, dword [esi + 0x98]
xor eax, eax
mov edi, dword [ecx + 0x28]
cmp edi, ebp
jle 0x4f7d75
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 0x4f7d4a
inc eax
add edx, 4
cmp eax, edi
jl 0x4f7d35
jmp 0x4f7d75
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 0x4f7d75
inc edx
cmp edx, eax
jl 0x4f7d70
call fcn.0041e8a0
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00603a3c
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x260
ret 8